mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Use the new mlir_configure_python_dev_packages() macro instead of open coded.
This is required for consistency across upstream/downstream as there are certain deployment environments that cannot resolve the 'Development' component. PiperOrigin-RevId: 403207802 Change-Id: Ibb47c8c616c0135c0568f7166de6528c239f9998
This commit is contained in:
parent
cd6d20bb8f
commit
1690fa8e1c
|
|
@ -108,10 +108,7 @@ add_definitions(${LLVM_DEFINITIONS})
|
|||
|
||||
if(MHLO_ENABLE_BINDINGS_PYTHON)
|
||||
include(MLIRDetectPythonEnv)
|
||||
mlir_detect_pybind11_install()
|
||||
find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION}
|
||||
COMPONENTS Interpreter Development NumPy REQUIRED)
|
||||
find_package(pybind11 2.6 CONFIG REQUIRED)
|
||||
mlir_configure_python_dev_packages()
|
||||
endif()
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user