Skip to content

Commit

Permalink
Try to disable gold
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed Nov 18, 2023
1 parent a0832fd commit 3b092d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab/docker/Dockerfile.spack_compiler
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ARG ARCH
ARG COMPILER
RUN spack compiler info $COMPILER > /dev/null 2> /dev/null; compiler_missing=$?; \
export spack_compiler=${COMPILER/clang/llvm} && \
if [[ $spack_compiler =~ llvm ]]; then \
export spack_compiler="$spack_compiler~gold"; \
fi && \
if [[ $compiler_missing != 0 ]]; then \
spack install $spack_compiler arch=$ARCH && \
spack compiler add --scope site $(spack location -i $spack_compiler);\
Expand Down

0 comments on commit 3b092d3

Please sign in to comment.