File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
# buildmpich
4
4
#
5
5
# -- This script ownloads and installs the MPICH library (http://www.mpich.org).
6
- # Execute this script with no arguments to obtain usage information.
7
6
#
8
7
# OpenCoarrays is distributed under the OSI-approved BSD 3-clause License:
9
8
# Copyright (c) 2015, Sourcery, Inc.
83
82
# Default to installing in the current directory if no path is provided
84
83
# in the second command-line argument
85
84
if [ -z $2 ]; then
86
- install_path=${PWD}
85
+ install_path=${PWD} mpich- $version -installation
87
86
else
88
87
install_path=$2
89
88
fi
@@ -104,7 +103,7 @@ build()
104
103
mkdir -p $src \- build &&
105
104
cd $src \- build &&
106
105
CC=$CC FC=$FC CXX=$CXX ../$src /configure --prefix=$install_path &&
107
- make -j $num_threads
106
+ CC= $CC FC= $FC CXX= $CXX make -j $num_threads
108
107
}
109
108
110
109
if [ $# == 0 ]; then
You can’t perform that action at this time.
0 commit comments