Skip to content

Commit ff8e2ed

Browse files
committed
Including llvm#9402
1 parent a0130c1 commit ff8e2ed

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,11 +497,7 @@ option(CIRCT_BINDINGS_PYTHON_ENABLED "Enables CIRCT Python bindings." OFF)
497497
if(CIRCT_BINDINGS_PYTHON_ENABLED)
498498
message(STATUS "CIRCT Python bindings are enabled.")
499499
set(MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES 0)
500-
mlir_detect_nanobind_install()
501-
# Prime the search like mlir_configure_python_dev_modules
502-
find_package(Python3 3.8 COMPONENTS Interpreter Development)
503-
find_package(Python3 3.8 COMPONENTS Interpreter Development.Module)
504-
find_package(nanobind 2.4.0 CONFIG REQUIRED)
500+
mlir_configure_python_dev_packages()
505501
else()
506502
message(STATUS "CIRCT Python bindings are disabled.")
507503
# Lookup python either way as some integration tests use python without the

lib/Bindings/Python/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ declare_mlir_python_extension(CIRCTBindingsPythonExtension
8282
${PYTHON_BINDINGS_LINK_LIBS}
8383
PRIVATE_LINK_LIBS
8484
LLVMSupport
85-
PYTHON_BINDINGS_LIBRARY
86-
nanobind
8785
)
8886

8987
if (CIRCT_INCLUDE_TESTS)

0 commit comments

Comments
 (0)