Skip to content

Commit

Permalink
CD: get our Python wheels to build again.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Feb 21, 2024
1 parent bb95d12 commit e8fd149
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions extern/pybind11/tools/pybind11NewTools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,21 @@ if(NOT Python_FOUND AND NOT Python3_FOUND)
set(_pybind11_global_keyword "GLOBAL")
endif()
endif()

find_package(Python 3.6 REQUIRED COMPONENTS Interpreter ${_pybind11_dev_component}
message("---[BEFORE]---[PyBind11]")
message(">>> Python_EXECUTABLE: >${Python_EXECUTABLE}<")
message(">>> Python3_EXECUTABLE: >${Python3_EXECUTABLE}<")
message(">>> Python_LIBRARIES: >${Python_LIBRARIES}<")
message(">>> Python3_LIBRARY: >${Python3_LIBRARY}<")
message(">>> DOING: find_package(Python 3.6 REQUIRED COMPONENTS Interpreter ${_pybind11_dev_component} ${_pybind11_quiet} ${_pybind11_global_keyword})")

find_package(Python 3.6 REQUIRED COMPONENTS Interpreter ${_pybind11_dev_component}
${_pybind11_quiet} ${_pybind11_global_keyword})
message("---[AFTER]---[PyBind11]")
message(">>> Python_EXECUTABLE: >${Python_EXECUTABLE}<")
message(">>> Python3_EXECUTABLE: >${Python3_EXECUTABLE}<")
message(">>> Python_LIBRARIES: >${Python_LIBRARIES}<")
message(">>> Python3_LIBRARY: >${Python3_LIBRARY}<")
message("---[END]---[PyBind11]")

# If we are in submodule mode, export the Python targets to global targets.
# If this behavior is not desired, FindPython _before_ pybind11.
Expand Down

0 comments on commit e8fd149

Please sign in to comment.