Skip to content

Commit d182e57

Browse files
Set MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES to disable MLIR python config. (#19328)
This is in preparation for llvm/llvm-project#117934 and a followon patch which changes the default python setup in a way that will conflict with what we do. Landing pre-emptively to avoid disruption. Signed-off-by: Stella Laurenzo <[email protected]>
1 parent 991594e commit d182e57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_tools/cmake/iree_llvm.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ macro(iree_llvm_set_bundled_cmake_options)
161161
set(MLIR_ENABLE_BINDINGS_PYTHON OFF CACHE BOOL "")
162162
set(MHLO_ENABLE_BINDINGS_PYTHON OFF CACHE BOOL "")
163163

164+
# Disable MLIR attempting to configure Python dev packages. We take care of
165+
# that in IREE as a super-project.
166+
set(MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES ON CACHE BOOL "" FORCE)
167+
164168
# If we are building clang/lld/etc, these will be the targets.
165169
# Otherwise, empty so scripts can detect unavailability.
166170
set(IREE_CLANG_TARGET)

0 commit comments

Comments
 (0)