[PATCH] D100081: LLJITWithRemoteDebugger: fix CMake when utils are not built

Mara Sophie Grosch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 18:41:04 PDT 2021


LittleFox94 updated this revision to Diff 335971.
LittleFox94 added a comment.

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


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100081/new/

https://reviews.llvm.org/D100081

Files:
  llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt


Index: llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
===================================================================
--- llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
+++ llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
@@ -10,10 +10,12 @@
   nativecodegen
   )

-add_llvm_example(LLJITWithRemoteDebugging
-  LLJITWithRemoteDebugging.cpp
-  RemoteJITUtils.cpp
+if ( LLVM_INCLUDE_UTILS )
+  add_llvm_example(LLJITWithRemoteDebugging
+    LLJITWithRemoteDebugging.cpp
+    RemoteJITUtils.cpp

-  DEPENDS
-    llvm-jitlink-executor
+    DEPENDS
+      llvm-jitlink-executor
   )
+endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100081.335971.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210408/e8a819c2/attachment.bin>


More information about the llvm-commits mailing list