File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ add_subdirectory(include)
52
52
add_subdirectory (lib )
53
53
if (MLIR_ENABLE_BINDINGS_PYTHON )
54
54
message (STATUS "Enabling Python API" )
55
+ include (MLIRDetectPythonEnv )
56
+ mlir_configure_python_dev_packages ()
55
57
set (MLIR_PYTHON_PACKAGE_PREFIX "mlir_standalone" CACHE STRING "" FORCE )
56
58
set (MLIR_BINDINGS_PYTHON_INSTALL_PREFIX "python_packages/standalone/mlir_standalone" CACHE STRING "" FORCE )
57
59
add_subdirectory (python )
Original file line number Diff line number Diff line change 2
2
# RUN: -DCMAKE_CXX_COMPILER=%host_cxx -DCMAKE_C_COMPILER=%host_cc \
3
3
# RUN: -DLLVM_ENABLE_LIBCXX=%enable_libcxx -DMLIR_DIR=%mlir_cmake_dir \
4
4
# RUN: -DLLVM_USE_LINKER=%llvm_use_linker \
5
- # RUN: -DPython3_EXECUTABLE=%python
5
+ # RUN: -DPython3_EXECUTABLE=%python \
6
+ # RUN: -DPython_EXECUTABLE=%python
6
7
# RUN: "%cmake_exe" --build . --target check-standalone | tee %t | FileCheck %s
7
8
8
9
# Note: The number of checked tests is not important. The command will fail
You can’t perform that action at this time.
0 commit comments