Conditionalize the JIT test dependency
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 30 Mar 2021 01:04:02 +0000 (18:04 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 30 Mar 2021 20:04:02 +0000 (13:04 -0700)
llvm/test/CMakeLists.txt

index 7c4fa2e..81107be 100644 (file)
@@ -158,6 +158,11 @@ if(LLVM_BUILD_EXAMPLES)
     Kaleidoscope-Ch7
     LLJITWithThinLTOSummaries
     )
+  if(CMAKE_HOST_UNIX)
+    list(APPEND LLVM_TEST_DEPENDS
+      LLJITWithRemoteDebugging
+      )
+  endif()
   if (NOT WIN32)
     list(APPEND LLVM_TEST_DEPENDS
       Bye