| # RUN: "%cmake_exe" "%mlir_src_root/examples/standalone" -G "%cmake_generator" \ |
| # RUN: -DCMAKE_BUILD_TYPE=%cmake_build_type \ |
| # 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: -DMLIR_PYTHON_PACKAGE_PREFIX=mlir_standalone \ |
| # RUN: -DMLIR_BINDINGS_PYTHON_NB_DOMAIN=mlir_standalone \ |
| # RUN: -DMLIR_INCLUDE_TESTS=ON \ |
| # RUN: -DPython3_EXECUTABLE=%python \ |
| # RUN: -DPython_EXECUTABLE=%python |
| # RUN: export PYTHONPATH="%mlir_obj_root/python_packages/mlir_core" |
| # RUN: "%cmake_exe" --build . --target check-standalone | tee %t |
| # RUN: FileCheck --input-file=%t %s |
| |
| # Note: The number of checked tests is not important. The command will fail |
| # if any fail. |
| # CHECK: Passed |
| # CHECK-NOT: Failed |
| # UNSUPPORTED: target={{.*(android).*}} |