summaryrefslogtreecommitdiffstats
path: root/cluster/atlas/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/atlas/BUILD')
-rwxr-xr-xcluster/atlas/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/cluster/atlas/BUILD b/cluster/atlas/BUILD
index 7976124c63..7d40b47041 100755
--- a/cluster/atlas/BUILD
+++ b/cluster/atlas/BUILD
@@ -1,6 +1,10 @@
persistent_add SOURCE_LIB &&
make_single &&
-make < $SCRIPT_DIRECTORY/atlas-${VERSION}.config &&
+local config=$(<$SCRIPT_DIRECTORY/atlas-nog77.config) &&
+if is_depends_enabled $SPELL fortran; then
+ config=$(sed 's/0$/\ngfortran/' <<< "$config")
+fi &&
+echo "$config" | make &&
ARCH=`ls -1 Make.Linux* | sed -e 's/Make.//'` &&
make install arch=$ARCH &&
SOURCE_LIB=$SOURCE_DIRECTORY/lib/$ARCH