Skip to content

Conversation

@pearce8
Copy link
Collaborator

@pearce8 pearce8 commented Jan 12, 2026

Description

When some of the dependencies don't build with the default compiler, we use this syntax to provide an alternative compiler::

packages:
  all:
    require:
    - one_of: ["%cce", "%gcc"]  # this line makes spack use cce to build where possible, gcc otherwise
  • Link to appropriate Spack docs
  • How to detect that Spack is building a secondary compiler?
  • This should be explained in how to add a system
  • Add a test to verify that only the special packages use the secondary compiler to be added to CI
  • altdiff option to show which compiler was used to build which dependence

@pearce8 pearce8 added the docs Improvements or additions to documentation label Jan 12, 2026
@pearce8 pearce8 mentioned this pull request Jan 12, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants