Skip to content

Commit 9c31123

Browse files
Update mlir/examples/standalone/CMakeLists.txt
Co-authored-by: Mehdi Amini <[email protected]>
1 parent 5fa57fa commit 9c31123

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mlir/examples/standalone/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to conform to")
88
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
99
find_package(MLIR REQUIRED CONFIG)
1010

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 "")
11+
12+
# Define the default argument to use by `lit` when testing.
13+
set(LLVM_LIT_ARGS "-sv" CACHE STRING "Default options for lit")
1514

1615
message(STATUS "Using MLIRConfig.cmake in: ${MLIR_DIR}")
1716
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")

0 commit comments

Comments
 (0)