Skip to content

Conversation

@wdconinc
Copy link
Contributor

@wdconinc wdconinc commented Nov 19, 2025

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?

  • Bug fix (issue #__)
  • New feature (issue: eic_ci_clang)
  • Documentation update
  • Other: __

Copilot AI review requested due to automatic review settings November 19, 2025 15:56
Copilot finished reviewing on behalf of wdconinc November 19, 2025 16:09
Copy link
Contributor

Copilot AI left a 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_clang spack 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
Copy link

Copilot AI Nov 19, 2025

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.

Suggested change
- py-rucio-clients
- py-rucio-clients
- py-scipy

Copilot uses AI. Check for mistakes.
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.

2 participants