Skip to content

Commit

Permalink
[Python] Disable upstream Python dev config; include the library.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeurbach committed Jan 8, 2025
1 parent 42e4c20 commit 60215fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ option(CIRCT_BINDINGS_PYTHON_ENABLED "Enables CIRCT Python bindings." OFF)

if(CIRCT_BINDINGS_PYTHON_ENABLED)
message(STATUS "CIRCT Python bindings are enabled.")
set(MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES 0)
set(MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES 1)
include(MLIRDetectPythonEnv)
mlir_detect_pybind11_install()
# Prime the search like mlir_configure_python_dev_modules
find_package(Python3 3.8 COMPONENTS Interpreter Development)
Expand Down

0 comments on commit 60215fb

Please sign in to comment.