Skip to content

Commit f6cd944

Browse files
authored
Enforce gcc~builtins (eth-cscs#284)
With spack/spack-packages#3106 a default value change for `gcc` variant `binutils` has been introduced. This triggers a problem (see [CI error](https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/551234120955960/1440398897047560/-/jobs/13261281018#L447)) when building `binutils`, which by default is built `libs=static,shared` but we explicitly prefer `zstd libs=static`. https://github.com/eth-cscs/stackinator/blob/c7db13cd3c12d595cf6a7793db88603db9495889/stackinator/templates/compilers.gcc.spack.yaml#L22-L23 The proposed change does not fix the root problem, but it simply prefers building `gcc~builtins` as we've always did, completely workarounding the underlying problem. I'm going to address the root issue in spack, but for what concerns stackinator, at the moment IMHO this is the most reasonable and simple solution.
1 parent c7db13c commit f6cd944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackinator/templates/compilers.gcc.spack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spack:
1212
reuse: false
1313
packages:
1414
gcc:
15-
variants: [build_type=Release +bootstrap +profiled +strip]
15+
variants: [build_type=Release +bootstrap +profiled +strip ~binutils]
1616
mpc:
1717
variants: [libs=static]
1818
gmp:

0 commit comments

Comments
 (0)