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

Fix spack build issue when using ^ in depends_on #315

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

simlapointe
Copy link
Contributor

@simlapointe simlapointe commented Dec 13, 2024

Split depends_on commands to remove ^ usage.

This fixes errors such as:

==> Added repo with namespace 'local'.
==> Error: cannot load package 'palace' from the 'local' repository: the '^' sigil cannot be used in 'depends_on' directives. Please reformulate the directive below as multiple directives:

	depends_on("slepc+cuda cuda_arch=10 ^petsc+cuda cuda_arch=10", when="+cuda+slepc cuda_arch=10")

Error: Process completed with exit code 1.

@simlapointe simlapointe requested a review from hughcars December 13, 2024 20:11
@simlapointe simlapointe marked this pull request as ready for review December 13, 2024 20:11
@simlapointe simlapointe merged commit 79129e2 into main Dec 13, 2024
17 checks passed
@simlapointe simlapointe deleted the simlapointe/spack-bugfix branch December 13, 2024 20:16
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