Skip to content
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

PYBIND11_FINDPYTHON=ON #738

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Oct 11, 2024

@ax3l ax3l added bug Something isn't working bug: affects latest release Bug also exists in latest release version install component: python Python bindings labels Oct 11, 2024
@ax3l ax3l requested a review from EZoni October 11, 2024 16:46
@EZoni EZoni enabled auto-merge (squash) October 11, 2024 17:07
@ax3l ax3l disabled auto-merge October 11, 2024 17:07
@ax3l ax3l changed the title setup.py: Hint pybind11 FindPythonLibsNew PYBIND11_FINDPYTHON=ON Oct 11, 2024
@ax3l ax3l force-pushed the fix-pybind11-python branch from 29b5195 to f967cbe Compare October 11, 2024 18:03
@ax3l ax3l requested a review from EZoni October 11, 2024 18:03
@ax3l ax3l changed the title PYBIND11_FINDPYTHON=ON [WIP] PYBIND11_FINDPYTHON=ON Oct 11, 2024
@EZoni
Copy link
Member

EZoni commented Oct 11, 2024

@ax3l I think you're tracking whether this works or not on your end, so I let you merge or auto-merge.

@ax3l ax3l force-pushed the fix-pybind11-python branch from f967cbe to f53037d Compare October 11, 2024 18:41
@ax3l ax3l changed the title [WIP] PYBIND11_FINDPYTHON=ON PYBIND11_FINDPYTHON=ON Oct 11, 2024
@ax3l ax3l force-pushed the fix-pybind11-python branch from f53037d to 75f82e3 Compare October 11, 2024 18:55
Reuse our `find_package(Python ...)` call and use new CMake logic in
pybind11.
https://pybind11.readthedocs.io/en/stable/compiling.html#modules-with-cmake
https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-version-selection

Signed-off-by: Axel Huebl <axel.huebl@plasma.ninja>
@ax3l ax3l force-pushed the fix-pybind11-python branch from 75f82e3 to 5b76e71 Compare October 11, 2024 20:54
@ax3l ax3l merged commit 9355a57 into ECP-WarpX:development Oct 11, 2024
16 checks passed
@ax3l ax3l deleted the fix-pybind11-python branch October 11, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: python Python bindings install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants