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

Update build instructions based on the v2.9 release series #10

Merged
merged 119 commits into from
Jul 31, 2024

Conversation

kkrizka
Copy link
Contributor

@kkrizka kkrizka commented Jul 30, 2024

The following changes were made:

  • Add a GitLab CI file that can be used when hosting there.
  • Update GitHub CI for new build flow.
  • Remove CentOS8 docker image (no longer supported).
  • Add Alma9 image.

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.

kkrizka and others added 27 commits July 7, 2024 10:19
@madbaron
Copy link
Collaborator

All looks good!

@madbaron madbaron merged commit 53fbce5 into master Jul 31, 2024
0 of 2 checks passed
@madbaron madbaron deleted the key4hep_devtools branch August 1, 2024 09:45
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.

3 participants