We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa57fa commit 9c31123Copy full SHA for 9c31123
mlir/examples/standalone/CMakeLists.txt
@@ -8,10 +8,9 @@ set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to conform to")
8
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
9
find_package(MLIR REQUIRED CONFIG)
10
11
- # Explictily set LLVM_LIT_ARGS so that the in-tree test for this example
12
- # will get the expected output regardless of the value of LLVM_LIT_ARGS
13
- # in the main LLVM build.
14
- set(LLVM_LIT_ARGS "")
+
+ # Define the default argument to use by `lit` when testing.
+ set(LLVM_LIT_ARGS "-sv" CACHE STRING "Default options for lit")
15
16
message(STATUS "Using MLIRConfig.cmake in: ${MLIR_DIR}")
17
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
0 commit comments