Specifying the python path here ensures that the python binary used matches the one used by the main MLIR tests. This is useful when cmake's automatic detection has to be overridden. Reviewed By: stellaraccident, bondhugula Differential Revision: https://reviews.llvm.org/D134251
12 lines
515 B
Plaintext
12 lines
515 B
Plaintext
# RUN: %cmake_exe %mlir_src_root/examples/standalone -G "%cmake_generator" \
|
|
# RUN: -DCMAKE_CXX_COMPILER=%host_cxx -DCMAKE_C_COMPILER=%host_cc \
|
|
# RUN: -DLLVM_ENABLE_LIBCXX=%enable_libcxx -DMLIR_DIR=%mlir_cmake_dir \
|
|
# RUN: -DLLVM_USE_LINKER=%llvm_use_linker \
|
|
# RUN: -DPython3_EXECUTABLE=%python
|
|
# RUN: %cmake_exe --build . --target check-standalone | tee %t | FileCheck %s
|
|
|
|
# Note: The number of checked tests is not important. The command will fail
|
|
# if any fail.
|
|
# CHECK: Passed
|
|
# UNSUPPORTED: windows, android
|