Skip to content

Commit 941f185

Browse files
Have spack find externals before installing MPI
1 parent e24010f commit 941f185

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ services:
77
VOLUME /configs
88
ARG ompi_version
99
ENV ompi_version=$$ompi_version
10-
CMD ls . && ls / && ls /configs && cp /configs/spack.yaml . && \
10+
CMD cp /configs/spack.yaml . && \
1111
spack -e . add openmpi@$${ompi_version} && \
12-
spack -e . containerize >/configs/spack.Dockerfile
12+
spack -e . containerize >/configs/spack.Dockerfile && \
13+
sed -i -e 's/spack install/spack externals find --all \&\& spack install/;' /configs/spack.Dockerfile
1314
args:
1415
ompi_version: main
1516
no_cache: true

0 commit comments

Comments
 (0)