File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ build_and_install()
24
24
if [[ " ${package_to_build} " == " mpich" && " ${version_to_build} " == " 3.2" ]]; then
25
25
info " Patching MPICH 3.2 on Mac OS due to segfault bug (see http://lists.mpich.org/pipermail/discuss/2016-May/004764.html)."
26
26
sed ' s/} MPID_Request ATTRIBUTE((__aligned__(32)));/} ATTRIBUTE((__aligned__(32))) MPID_Request;/g' \
27
- " ${download_path} /${package_source_directory} /src/include/mpiimpl.h"
27
+ " ${download_path} /${package_source_directory} /src/include/mpiimpl.h" > " ${download_path} /${package_source_directory} /src/include/mpiimpl.h.patched"
28
+ cp " ${download_path} /${package_source_directory} /src/include/mpiimpl.h.patched" " ${download_path} /${package_source_directory} /src/include/mpiimpl.h"
28
29
fi
29
30
30
31
info " Configuring ${package_to_build} ${version_to_build} with the following command:"
You can’t perform that action at this time.
0 commit comments