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

Fix bootstrap --cmake with preloaded CCP4 #2544

Merged
merged 4 commits into from
Nov 1, 2023
Merged

Fix bootstrap --cmake with preloaded CCP4 #2544

merged 4 commits into from
Nov 1, 2023

Conversation

ndevenish
Copy link
Member

The HDF5 CMake configuration files in the CCP4 distribution are incomplete (missing a static library that they refer to), and this causes configuration failures when CCP4 is preloaded (as CMake tries to evaluate all available versions to determine the newest).

This updates bootstrap to force usage of the conda_base/ configuration of HDF5.

Additionally, install pre-commit with the rest of the dependencies, so that libtbx.precommit doesn't need to install it (using conda, which could be slow).

ndevenish and others added 4 commits October 31, 2023 23:42
Otherwise, conda is used at the end of the bootstrap process, when running
libtbx.precommit.
If we don't do this, it tries to search all HDF5 in path, including broken CCP4
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #2544 (60e5ec5) into main (c0074bd) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 60e5ec5 differs from pull request most recent head 462b31b. Consider uploading reports for the commit 462b31b to get more accurate results

@@           Coverage Diff           @@
##             main    #2544   +/-   ##
=======================================
  Coverage   78.81%   78.81%           
=======================================
  Files         609      609           
  Lines       74629    74629           
  Branches    10619    10619           
=======================================
+ Hits        58816    58822    +6     
+ Misses      13633    13628    -5     
+ Partials     2180     2179    -1     

@ndevenish ndevenish merged commit 88242d9 into main Nov 1, 2023
18 checks passed
@ndevenish ndevenish deleted the cmake_fixes branch November 1, 2023 09:33
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.

None yet

2 participants