Skip to content

Commit 045f23f

Browse files
committed
Preserve basic MPICH configure args
1 parent eb6f04b commit 045f23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cibw-build-mpi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ if test ! -e "$WORKDIR"/config.log; then
259259
sed -i.orig "$destdir" "$filename"
260260
fi
261261
if test "$mpiname" = "mpich"; then
262-
confargs='s|".*"|""|g'
263262
compiler='s|"([^[:space:]]*).*"|"\1"|g'
263+
confargs='s|".*"|"'"${options[@]:3:2}"'"|g'
264264
echo removing configure and compiler info in "$filename"
265265
sed -i.orig -E "/HYDRA_CC/ $compiler" "$filename"
266266
sed -i.orig -E "/MPICH_COMPILER_(C|F)/ $compiler" "$filename"

0 commit comments

Comments
 (0)