Skip to content

Commit

Permalink
Try priming the search like we do upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeurbach committed Dec 13, 2024
1 parent ed49a61 commit a5bb620
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/nightlyIntegrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ jobs:
-DLLVM_USE_SPLIT_DWARF=ON \
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
-DCIRCT_BINDINGS_PYTHON_ENABLED=ON \
-DPython3_EXECUTABLE=python3.9 \
-DLLVM_LIT_ARGS="-v --show-unsupported ${{ matrix.lit-flags }}" \
-DCIRCT_SLANG_FRONTEND_ENABLED=ON
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/shortIntegrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ jobs:
-DLLVM_USE_SPLIT_DWARF=ON \
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
-DCIRCT_BINDINGS_PYTHON_ENABLED=ON \
-DPython3_EXECUTABLE=python3.9 \
-DLLVM_LIT_ARGS="-v --show-unsupported" \
-DCIRCT_SLANG_FRONTEND_ENABLED=ON
Expand Down
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ if(CIRCT_BINDINGS_PYTHON_ENABLED)
message(STATUS "CIRCT Python bindings are enabled.")
set(MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES 0)
mlir_detect_pybind11_install()
find_package(Python3 COMPONENTS Interpreter Development.Module)
# Prime the search like mlir_configure_python_dev_modules
find_package(Python3 3.8 COMPONENTS Interpreter Development)
find_package(Python3 3.8 COMPONENTS Interpreter Development.Module)
find_package(pybind11 2.10 CONFIG REQUIRED)
else()
message(STATUS "CIRCT Python bindings are disabled.")
Expand Down

0 comments on commit a5bb620

Please sign in to comment.