-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: FindPython by default logic error #5561
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
Conversation
Signed-off-by: Henry Schreiner <[email protected]>
having tested this it does not appear to solve our issue |
Okay, I'll see if I can reproduce. Thanks for checking! |
I'm confused a bit by PHARE. Why is a pybind11 module being linked with In CMakeLists.txt, you do I've tried building locally on my Mac, but I'm hitting:
Both using master and the previous tag. Is this where it normally fails? If I can get a pass-fail between the two commits, I can debug. If I change |
I have to test your latest commit for The linker error you're seeing is the issue. The latest commit to phare pins the pybind version to the latest release which does not have the issue. src/initializer/CMakeLists.txt has two targets, one pybind module and one shared lib with an interpreter. I didn't know about Development.Embed, so I'll check Our cmake is setup to use the system pybind by default if found, otherwise it clones to subprojects/pybind You can force to ignore the system pybind with cmake like https://github.com/PHAREHUB/PHARE/blob/master/res/cmake/dep/pybind.cmake#L22 |
I'm going to guess it's the lack of Development.Embed and the previous pybind commits were getting it for us somehow, otherwise I don't see how things would have ever linked at all. Let me check that and I'll get back to you so you don't put more time than necessary into this |
it was that, somehow the commits prior to #5553 were giving us embed. thanks for your time Henry. |
Okay, thanks! I think this still is a logic improvement, so will go with this too. |
Followup to #5553. Fixes an issue with "COMPAT" evaluating to false.