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

Upgrade CMake to 3.14 #407

Merged
merged 8 commits into from
Nov 1, 2019
Merged

Upgrade CMake to 3.14 #407

merged 8 commits into from
Nov 1, 2019

Conversation

shadowwalkersb
Copy link
Member

@shadowwalkersb shadowwalkersb commented Jul 2, 2019

  • Upgrades minimum required cmake version to 3.14 to handle newer Boost versions which will be needed for Python 3.
  • Makes use of new cmake features available in newer versions.
  • ❗️ Detects if the python interpreter is linked against libpython.so or libpython.a and sets linker flags accordingly to avoid segmentation faults.

@shadowwalkersb shadowwalkersb added this to the Python 3 milestone Jul 3, 2019
@shadowwalkersb shadowwalkersb marked this pull request as ready for review July 3, 2019 17:42
@shadowwalkersb
Copy link
Member Author

@mstabrin , if you can test this branch and the instructions, it would be nice to confirm.

@shadowwalkersb
Copy link
Member Author

shadowwalkersb commented Oct 3, 2019

Added to the description an item about detecting if the python interpreter is linked against static or shared libpython. This is critical to avoid segfaults. Otherwise, this is ready to merge. After this is merged, developers will need to upgrade CMake.

cmake install eman-deps=15.1 cmake=3.14 -c cryoem -c defaults -c conda-forge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant