-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update pyodide parts a bit #2538
Conversation
Hitting:
Which appears on main, too. |
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) | ||
set(CMAKE_INSTALL_RPATH "@loader_path") | ||
elseif(EMSCRIPTEN) | ||
if(CMAKE_SYSTEM_NAME STREQUAL Emscripten) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! This is much better.
@@ -105,6 +102,7 @@ target_link_libraries(awkward PRIVATE awkward-cpu-kernels-static ${CMAKE_DL_LIBS | |||
target_link_libraries(awkward PUBLIC awkward-parent) | |||
|
|||
# Third tier: Python modules. | |||
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't pybind11
handle this for us? We don't link against these targets in this module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It defaults to the old FindPythonLibs/FindPythonInterp. You can use a variable to force the new search, or just search for it first.
If you build outside of scikit-build-core and want PyPy support, it's better to use the variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(this is going to matter in CMake 3.27 which removes FindPythonLibs/FindPythonInterp if you set 3.27 as your max or min version)
10852ae
to
5a7f57f
Compare
…d into henryiii/chore/pyodide
No description provided.