Skip to content

Commit 8836d58

Browse files
author
Damian Rouson
committed
Remove install.sh requirement that MPICC wrap gcc
Specifically, this allows for the use of clang on macOS
1 parent 07288cd commit 8836d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prerequisites/install-functions/build_opencoarrays.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ build_opencoarrays()
1515
fi
1616
MPIFC_show=($("$MPIFC" -show))
1717
MPICC_show=($("$MPICC" -show))
18-
if [[ "${MPIFC_show[0]}" != *gfortran* || "${MPICC_show[0]}" != *gcc* ]]; then
19-
emergency "build_opencoarrays.sh: MPI doesn't wrap gfortran/gcc: \${MPIFC_show}=${MPIFC_show[*]}, \${MPICC_show}=${MPICC_show[*]}"
18+
if [[ "${MPIFC_show[0]}" != *gfortran* ]]; then
19+
emergency "build_opencoarrays.sh: MPI doesn't wrap gfortran/gcc: \${MPIFC_show}=${MPIFC_show[*]}"
2020
fi
2121
if [[ -z "${OPENCOARRAYS_DEVELOPER:-}" ]]; then
2222
# We should examine the value too, but CMake has many ways of saying "true"

0 commit comments

Comments
 (0)