Skip to content

Commit

Permalink
Set MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES to disable MLIR python…
Browse files Browse the repository at this point in the history
… config. (iree-org#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]>
  • Loading branch information
stellaraccident authored Nov 27, 2024
1 parent 991594e commit d182e57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_tools/cmake/iree_llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ macro(iree_llvm_set_bundled_cmake_options)
set(MLIR_ENABLE_BINDINGS_PYTHON OFF CACHE BOOL "")
set(MHLO_ENABLE_BINDINGS_PYTHON OFF CACHE BOOL "")

# Disable MLIR attempting to configure Python dev packages. We take care of
# that in IREE as a super-project.
set(MLIR_DISABLE_CONFIGURE_PYTHON_DEV_PACKAGES ON CACHE BOOL "" FORCE)

# If we are building clang/lld/etc, these will be the targets.
# Otherwise, empty so scripts can detect unavailability.
set(IREE_CLANG_TARGET)
Expand Down

0 comments on commit d182e57

Please sign in to comment.