[llvm] e5d8cfb - [Orc][examples] Temporarily disable LLJITWithRemoteDebugging build and test

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 28 07:55:17 PDT 2021


Author: Stefan Gränitz
Date: 2021-06-28T16:54:53+02:00
New Revision: e5d8cfb2f134fcf0235ec1a35eec875a9cd36b21

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

LOG: [Orc][examples] Temporarily disable LLJITWithRemoteDebugging build and test

The underlying TargetProcessControl API changes with D104694. Once it landed I can patch and re-enable the example.

Added: 
    

Modified: 
    llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
    llvm/test/Examples/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
index 558297b9e0b0..06dfe88a898d 100644
--- a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
+++ b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeLists.txt
@@ -10,7 +10,7 @@ set(LLVM_LINK_COMPONENTS
   nativecodegen
   )
 
-if ( LLVM_INCLUDE_UTILS )
+if (LLVM_INCLUDE_UTILS AND NOT LLVM_INCLUDE_UTILS)
   add_llvm_example(LLJITWithRemoteDebugging
     LLJITWithRemoteDebugging.cpp
     RemoteJITUtils.cpp
@@ -18,4 +18,7 @@ if ( LLVM_INCLUDE_UTILS )
     DEPENDS
       llvm-jitlink-executor
   )
+else()
+  # Use a temporary no-op target until D104694 lands.
+  add_custom_target(LLJITWithRemoteDebugging)
 endif()

diff  --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg
index a9f386033360..f23a918956ba 100644
--- a/llvm/test/Examples/lit.local.cfg
+++ b/llvm/test/Examples/lit.local.cfg
@@ -1,5 +1,7 @@
-if not config.build_examples or sys.platform in ['win32']:
-  config.unsupported = True
+#if not config.build_examples or sys.platform in ['win32']:
+
+# Mark both lljit-with-* tests unsupported until D104694 lands.
+config.unsupported = True
 
 # Test discovery should ignore subdirectories that contain test inputs.
 config.excludes = ['Inputs']


        


More information about the llvm-commits mailing list