Skip to content

Conversation

@pearce8
Copy link
Collaborator

@pearce8 pearce8 commented Mar 3, 2025

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
  • Depends on Refactor Systems to Initialize Using Dictionaries #658
  • What is this called in Spack, and can we link to where this is explained?
  • 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 system New or modified system config docs Improvements or additions to documentation changes requested Changes requested labels May 26, 2025
@pearce8
Copy link
Collaborator Author

pearce8 commented May 26, 2025

@scheibelp Please take this on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes requested Changes requested docs Improvements or additions to documentation system New or modified system config

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants