Skip to content

Commit a66121a

Browse files
author
Damian Rouson
committed
Eliminate backup in MPICH build sed edit
1 parent 8ce7d8d commit a66121a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prerequisites/build-functions/build_and_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ build_and_install()
2323

2424
if [[ "${package_to_build}" == "mpich" && "${version_to_build}" == "3.2" ]]; then
2525
info "Patching MPICH 3.2 on Mac OS due to segfault bug (see http://lists.mpich.org/pipermail/discuss/2016-May/004764.html)."
26-
sed -i '' 's/} MPID_Request ATTRIBUTE((__aligned__(32)));/} ATTRIBUTE((__aligned__(32))) MPID_Request;/g' \
27-
"${download_path}/${package_source_directory}/src/include/mpiimpl.h"
26+
sed 's/} MPID_Request ATTRIBUTE((__aligned__(32)));/} ATTRIBUTE((__aligned__(32))) MPID_Request;/g' \
27+
"${download_path}/${package_source_directory}/src/include/mpiimpl.h"
2828
fi
2929

3030
info "Configuring ${package_to_build} ${version_to_build} with the following command:"

0 commit comments

Comments
 (0)