[MLIR] Set LLVM_LIT_ARGS in Standalone Example CMake (#152423)
Setting LLVM_LIT_ARGS to include --quiet and then running check-mlir in a standard checkout will otherwise cause test failures here because LLVM_LIT_ARGS gets propagated into this project.
This commit is contained in:
parent
c61fb5ca69
commit
ca8ee49c1f
@ -8,6 +8,10 @@ set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to conform to")
|
||||
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
find_package(MLIR REQUIRED CONFIG)
|
||||
|
||||
|
||||
# Define the default argument to use by `lit` when testing.
|
||||
set(LLVM_LIT_ARGS "-sv" CACHE STRING "Default options for lit")
|
||||
|
||||
message(STATUS "Using MLIRConfig.cmake in: ${MLIR_DIR}")
|
||||
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user