-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update build instructions based on the v2.9 release series #10
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All looks good! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following changes were made:
The
gitlab-registry.cern.ch/key4hep/k4-deploy/alma9-build
image is used as base. There are two images generated:mucoll-spack
: Contains a spack installation.mucoll-sim
: Contains the installation of the Muon Collider software as a spack environment.The images are now based on the spack package distribution system using packages from the key4hep-spack and mucoll-spack repositories. The exact tested commits for each repository and spack itself are specified.
The version of spack is taken from key4hep-spack's
.latest-commit
file. That way we use an externally tested version.Any patches to spack to fix packages broken outside of their control (ie: download links) are applied using a new
apply_patches.sh
script for both key4hep-spack and mucoll-spack. This script checks that the corresponding spack version is cloned (via.latest-commit
) and runs the.cherry-pick
script.The desired spack environment is named
sim
and copied from mucoll-spack/tree/release/environments/mucoll-release.The following setup scripts are available. This corresponds to the setup sued for the CERN 2023 tutorial.
/opt/setup_spack.sh
: Load Spack only./opt/setup_mucoll.sh
: Load the sim environment. Only this one is needed by most end users.