Skip to content

Commit 95145cb

Browse files
committed
Another attempt to specify compilers for llvm package.
1 parent 2a52e84 commit 95145cb

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/spack_default_build.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ jobs:
131131
externals:
132132
- spec: llvm@16
133133
prefix: /usr/lib/llvm-16
134+
extra_attributes:
135+
compilers:
136+
c: /usr/lib/llvm-16/bin/clang
137+
cxx: /usr/lib/llvm-16/bin/clang++
134138
EOF
135139
136140
- name: Configure GHCR mirror
@@ -139,12 +143,6 @@ jobs:
139143
- name: Trust keys
140144
run: spack -e . buildcache keys --install --trust
141145

142-
- name: Find compilers
143-
run: spack -e . compiler find
144-
145-
- name: List compilers
146-
run: spack -e . compiler list
147-
148146
- name: Find external packages
149147
run: spack -e . external find --all --exclude llvm
150148

@@ -154,9 +152,6 @@ jobs:
154152
- name: List working directory
155153
run: ls -ltrh $(pwd)/*/*/
156154

157-
- name: List spack.yaml
158-
run: cat spack.yaml
159-
160155
- name: Concretize
161156
run: spack -e . concretize
162157

0 commit comments

Comments
 (0)