Skip to content

Commit d153c85

Browse files
committed
reduce install-distribution test
1 parent 1b69ff6 commit d153c85

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

mlir/examples/standalone/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ 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+
1112
# Define the default argument to use by `lit` when testing.
1213
set(LLVM_LIT_ARGS "-sv" CACHE STRING "Default options for lit")
1314

mlir/test/Examples/standalone/test.install-dir.toy

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,6 @@
11
# REQUIRES: run-standalone-install-tests
22

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
304
# CHECK: test install distribution
315

326
# RUN: "%cmake_exe" "%llvm_src_root" -DCMAKE_BUILD_TYPE=%cmake_build_type -B "%llvm_obj_root" \

0 commit comments

Comments
 (0)