mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 09:01:19 +00:00
Fix running MLIR tests when enabling examples but the native backends isn't configured (NFC)
This commit is contained in:
parent
9b70a28e0d
commit
177a0e5916
@ -1,3 +1,9 @@
|
||||
# This chapter depends on JIT support enabled.
|
||||
if(NOT MLIR_ENABLE_EXECUTION_ENGINE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
# For a better template to copy, see examples/standalone
|
||||
include_directories(include)
|
||||
add_subdirectory(include)
|
||||
|
@ -1,3 +1,8 @@
|
||||
# This chapter depends on JIT support enabled.
|
||||
if(NOT MLIR_ENABLE_EXECUTION_ENGINE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
# For a better template to copy, see examples/standalone
|
||||
include_directories(include)
|
||||
add_subdirectory(include)
|
||||
|
@ -121,9 +121,13 @@ if(LLVM_BUILD_EXAMPLES)
|
||||
toyc-ch3
|
||||
toyc-ch4
|
||||
toyc-ch5
|
||||
toyc-ch6
|
||||
toyc-ch7
|
||||
)
|
||||
if(MLIR_ENABLE_EXECUTION_ENGINE)
|
||||
list(APPEND MLIR_TEST_DEPENDS
|
||||
toyc-ch6
|
||||
toyc-ch7
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MLIR_ENABLE_SPIRV_CPU_RUNNER)
|
||||
|
Loading…
Reference in New Issue
Block a user