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 #5390

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 install bug: affects latest release Bug also exists in latest release version component: Python Python layer labels Oct 11, 2024
@ax3l ax3l requested a review from EZoni October 11, 2024 16:45
@EZoni EZoni enabled auto-merge (squash) October 11, 2024 17:06
@ax3l ax3l disabled auto-merge October 11, 2024 17:07
@ax3l ax3l force-pushed the fix-pybind11-python branch from 2d223b0 to 4ebb35b Compare October 11, 2024 18:00
@ax3l ax3l changed the title setup.py: Hint pybind11 FindPythonLibsNew PYBIND11_FINDPYTHON=ON Oct 11, 2024
@ax3l ax3l requested a review from EZoni October 11, 2024 18:01
@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 4ebb35b to 00b9b68 Compare October 11, 2024 18:39
@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 00b9b68 to 9dceb34 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 9dceb34 to 268fa51 Compare October 11, 2024 20:50
@ax3l ax3l merged commit f556879 into ECP-WarpX:development Oct 11, 2024
37 checks passed
@ax3l ax3l deleted the fix-pybind11-python branch October 11, 2024 23:59
dpgrote pushed a commit to dpgrote/WarpX that referenced this pull request Oct 23, 2024
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 layer install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

problems building on os X stddef.h and math.h not found
2 participants