Specify Python3_EXECUTABLE explicitly.

Otherwise `MLIR_BINDINGS_PYTHON_ENABLED=ON` won't work.
pull/147/head
Sean Silva 2021-01-20 18:07:04 -08:00
parent 6351474382
commit 2549d00d8c
2 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ cmake -GNinja \
"-DNPCOMP_USE_SPLIT_DWARF=ON" \
"-DCMAKE_CXX_FLAGS_DEBUG=$DEBUG_FLAGS" \
"-DPYTHON_EXECUTABLE=$python_exe" \
"-DPython3_EXECUTABLE=$python_exe" \
"-DMLIR_DIR=$install_mlir/lib/cmake/mlir" \
"-DLLVM_EXTERNAL_LIT=$LLVM_LIT" \
"-DLLVM_ENABLE_WARNINGS=ON" \

View File

@ -67,6 +67,7 @@ cmake -GNinja \
"-B$build_mlir" \
-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE \
"-DPYTHON_EXECUTABLE=$python_exe" \
"-DPython3_EXECUTABLE=$python_exe" \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_INSTALL_UTILS=ON \