File tree Expand file tree Collapse file tree 2 files changed +2
-27
lines changed Expand file tree Collapse file tree 2 files changed +2
-27
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to conform to")
8
8
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
9
9
find_package (MLIR REQUIRED CONFIG)
10
10
11
+
11
12
# Define the default argument to use by `lit` when testing.
12
13
set (LLVM_LIT_ARGS "-sv" CACHE STRING "Default options for lit" )
13
14
Original file line number Diff line number Diff line change 1
1
# REQUIRES: run-standalone-install-tests
2
2
3
- # RUN: echo "test full install" | tee %t
4
- # CHECK: test full install
5
-
6
- # RUN: rm -rf "%host_cmake_install_prefix"
7
-
8
- # RUN: "%cmake_exe" --build "%llvm_obj_root" --target install -j | tee -a %t
9
-
10
- # RUN: "%cmake_exe" "%mlir_src_root/examples/standalone" -G "%cmake_generator" \
11
- # RUN: -DCMAKE_CXX_COMPILER=%host_cxx -DCMAKE_C_COMPILER=%host_cc \
12
- # RUN: -DCMAKE_CXX_COMPILER_LAUNCHER=%cmake_cxx_compiler_launcher -DCMAKE_C_COMPILER_LAUNCHER=%cmake_c_compiler_launcher \
13
- # RUN: -DLLVM_ENABLE_LIBCXX=%enable_libcxx \
14
- # RUN: -DLLVM_EXTERNAL_LIT="%llvm_obj_root/bin/llvm-lit" \
15
- # RUN: -DMLIR_DIR="%host_cmake_install_prefix/lib/cmake/mlir" \
16
- # RUN: -DLLVM_DIR="%host_cmake_install_prefix/lib/cmake/llvm" \
17
- # RUN: -DLLVM_USE_LINKER=%llvm_use_linker \
18
- # RUN: -DPython3_EXECUTABLE=%python \
19
- # RUN: -DPython_EXECUTABLE=%python | tee -a %t
20
-
21
- # RUN: "%cmake_exe" --build . --target check-standalone -j | tee -a %t
22
-
23
- # CHECK: Passed
24
- # CHECK-NOT: Failed
25
- # UNSUPPORTED: target={{.*(windows|android).*}}
26
-
27
- # RUN: rm -rf "%host_cmake_install_prefix"
28
-
29
- # RUN: echo "test install distribution" | tee -a %t
3
+ # RUN: echo "test install distribution" | tee %t
30
4
# CHECK: test install distribution
31
5
32
6
# RUN: "%cmake_exe" "%llvm_src_root" -DCMAKE_BUILD_TYPE=%cmake_build_type -B "%llvm_obj_root" \
You can’t perform that action at this time.
0 commit comments