There was an error while loading. Please reload this page.
1 parent f50bf38 commit bf24c49Copy full SHA for bf24c49
1 file changed
ci/docker/build.Dockerfile
@@ -93,6 +93,11 @@ RUN if [ -d ~/site/repo ]; then \
93
spack repo add --scope site ~/site/repo; \
94
fi
95
96
+# Add languages as dependencies to cray-mpich to make sure it correctly finds
97
+# compilers. Does nothing for the upstream cray-mpich.
98
+RUN sed -i '/depends_on("patchelf/a \ depends_on("c")\n depends_on("cxx")\n depends_on("fortran")' \
99
+ $(spack location -p cray-mpich)/package.py
100
+
101
# Set this to a spack.yaml file which contains a spec
102
# e.g. --build-arg SPACK_ENVIRONMENT=ci/spack/my-env.yaml
103
ARG SPACK_ENVIRONMENT
0 commit comments