Page MenuHomePhabricator

LLJITWithRemoteDebugger: fix CMake when utils are not built
Needs ReviewPublic

Authored by LittleFox94 on Wed, Apr 7, 6:38 PM.



Currently configuration with cmake without building utils (LLVM_INCLUDE_UTILS) fails because that example depends on a util, llvm-jitlink-executor.

This patch only adds the example when utils are built. Note, I also had examples disabled - but this does not prevent their subdirectories being added - maybe this is another task.

Diff Detail

Event Timeline

LittleFox94 created this revision.Wed, Apr 7, 6:38 PM
LittleFox94 requested review of this revision.Wed, Apr 7, 6:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Apr 7, 6:38 PM

formatting was bad and somehow differential didn't show the endif() - added a trailing newline for that

Harbormaster completed remote builds in B97632: Diff 335971.
LittleFox94 added a subscriber: chandlerc.

Adding @chandlerc as a reviewer since first entry in CODE_OWNERS for CMake ^^'