Skip to content

Commit d2832f6

Browse files
committed
docker: Use compiler arg in STAR_HOST_SYS
1 parent 60a6550 commit d2832f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ RUN find -L /opt/software/* -type f -exec readlink -f '{}' \; | \
8585
FROM ${baseimg_os} AS starenv-stage
8686

8787
ARG starenv
88+
ARG compiler
8889

8990
COPY --from=build-stage /cern /cern
9091
COPY --from=build-stage /etc/bashrc /etc/bashrc
@@ -119,7 +120,7 @@ ENV CERN=/cern
119120
ENV CERN_LEVEL=pro
120121
ENV CERN_ROOT=$CERN/$CERN_LEVEL
121122
ENV OPTSTAR=/opt/software
122-
ENV STAR_HOST_SYS=sl79_gcc485
123+
ENV STAR_HOST_SYS=sl79_${compiler}
123124
ENV PATH=$CERN_ROOT/bin:$PATH
124125
ENV LIBPATH+=:/lib64:/lib
125126

0 commit comments

Comments
 (0)