-
Notifications
You must be signed in to change notification settings - Fork 4
feat: eic_ci_clang container #47
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new ci_clang container environment to test compilation with the Clang compiler, which has shown performance benefits in GitHub workflow testing. The changes configure Spack to build a comprehensive stack using Clang instead of GCC.
Key Changes:
- Added new
ci_clangspack environment configured to build with Clang compiler and enable inter-procedural optimization (IPO) - Configured MPI to use mpich without Fortran support to better accommodate Clang compilation
- Enabled mixed-toolchain compiler discovery in Docker builds to support both Clang and GCC compilers
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| spack-environment/packages.yaml | Adds MPI configuration requiring mpich 4.2.1 without Fortran support to accommodate Clang builds |
| spack-environment/ci_clang/spack.yaml | New spack environment configuration that requires Clang compiler, enables IPO where available, and includes comprehensive package list for CI testing |
| containers/debian/Dockerfile | Adds --mixed-toolchain flag to compiler discovery to support mixed Clang/GCC toolchain usage |
| .gitlab-ci.yml | Adds ci_clang to the nightly build matrix for the eic environment |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - py-pandas | ||
| - py-particle | ||
| - py-pip | ||
| - py-rucio-clients |
Copilot
AI
Nov 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The py-scipy package is missing from this environment but is present in the comparable ci and ci_without_acts environments (both include py-scipy at similar positions in their specs lists). Consider adding - py-scipy after py-rucio-clients for consistency with other CI environments.
| - py-rucio-clients | |
| - py-rucio-clients | |
| - py-scipy |
Briefly, what does this PR introduce?
Needs:
Tests in GitHub workflows of epic and EICrecon indicate faster and smaller code when compiled with clang instead of gcc. This PR prepares a stack to run some tests with.
What kind of change does this PR introduce?