[llvm] 63aed9c - [ORC] Build LLJITWithChildProcess example only on UNIX host systems

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 09:09:32 PDT 2020


Author: Stefan Gränitz
Date: 2020-08-14T18:09:08+02:00
New Revision: 63aed9cbe5b051f5443f7a935905c791e534e77b

URL: https://github.com/llvm/llvm-project/commit/63aed9cbe5b051f5443f7a935905c791e534e77b
DIFF: https://github.com/llvm/llvm-project/commit/63aed9cbe5b051f5443f7a935905c791e534e77b.diff

LOG: [ORC] Build LLJITWithChildProcess example only on UNIX host systems

Differential Revision: https://reviews.llvm.org/D85919

Added: 
    

Modified: 
    llvm/examples/OrcV2Examples/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/examples/OrcV2Examples/CMakeLists.txt b/llvm/examples/OrcV2Examples/CMakeLists.txt
index 74a90aa07f13..8fae98ab9a1d 100644
--- a/llvm/examples/OrcV2Examples/CMakeLists.txt
+++ b/llvm/examples/OrcV2Examples/CMakeLists.txt
@@ -1,5 +1,4 @@
 add_subdirectory(LLJITDumpObjects)
-add_subdirectory(LLJITWithChildProcess)
 add_subdirectory(LLJITWithCustomObjectLinkingLayer)
 add_subdirectory(LLJITWithGDBRegistrationListener)
 add_subdirectory(LLJITWithInitializers)
@@ -10,3 +9,7 @@ add_subdirectory(LLJITWithTargetProcessControl)
 add_subdirectory(OrcV2CBindingsAddObjectFile)
 add_subdirectory(OrcV2CBindingsBasicUsage)
 add_subdirectory(OrcV2CBindingsReflectProcessSymbols)
+
+if(CMAKE_HOST_UNIX)
+  add_subdirectory(LLJITWithChildProcess)
+endif()


        


More information about the llvm-commits mailing list