Skip to content

Commit c3f2144

Browse files
committed
env: Manually define vc version to load
1 parent b6ef77c commit c3f2144

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@ COPY --chmod=0755 <<-"EOF" dostarenv.sh
5151
spack env activate ${1}
5252
spack --insecure install --no-check-signature
5353
spack gc -y
54-
spack env loads
54+
spack env loads --exclude vc
5555
spack module tcl refresh -y
5656
spack env deactivate
5757
EOF
5858

5959
RUN ./dostarenv.sh star-x86_64-loose && ./dostarenv.sh ${starenv}
60+
# Manually append specific vc module to loads
61+
RUN sh -c "source star-spack/setup.sh; spack -e star-x86_64-loose module tcl loads [email protected]" >> /star-spack/spack/var/spack/environments/${starenv}/loads
6062

6163
# Strip all the binaries
6264
RUN find -L /opt/software/* -type f -exec readlink -f '{}' \; | \

0 commit comments

Comments
 (0)