-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ RUN spack solve -I --reuse "$(cat compilerpkg.lst)" target=x86_64 \ | |
|
||
|
||
# Workaround clang 14.0.2 that reports version as 14.0.1 | ||
RUN spack find -v --no-groups ""$(cat compilerpkg.lst)"" > compilerpkg.lst \ | ||
&& spack find --no-groups ""$(cat compilerpkg.lst)"" > compiler.lst \ | ||
RUN spack find -v --no-groups "$(cat compilerpkg.lst)" > compilerpkg.lst \ | ||
&& spack find --no-groups "$(cat compilerpkg.lst)" > compiler.lst \ | ||
&& sed 's/llvm/clang/' -i compiler.lst \ | ||
&& sed 's/[email protected]/[email protected]/' -i compiler.lst \ | ||
&& spack clean -a | ||
|
@@ -33,7 +33,7 @@ RUN spack compiler remove --scope site -a gcc || true \ | |
&& spack compiler remove -a clang || true \ | ||
&& spack compiler remove -a gcc || true \ | ||
&& spack compiler find --scope site \ | ||
"$(spack find --format '{name}' --paths ""$(cat compilerpkg.lst)"" | awk '{print $2}')" \ | ||
"$(spack find --format '{name}' --paths "$(cat compilerpkg.lst)" | awk '{print $2}')" \ | ||
&& spack compiler remove --scope defaults -a gcc || true \ | ||
&& spack compiler remove --scope defaults -a clang || true \ | ||
&& spack compiler remove --scope system -a gcc || true \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters