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

System with multiple compilers #656

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

System with multiple compilers #656

wants to merge 1 commit into from

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

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