summaryrefslogtreecommitdiffstats
path: root/cluster/atlas/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/atlas/BUILD')
-rwxr-xr-xcluster/atlas/BUILD29
1 files changed, 12 insertions, 17 deletions
diff --git a/cluster/atlas/BUILD b/cluster/atlas/BUILD
index e16378d5e7..5721d75e75 100755
--- a/cluster/atlas/BUILD
+++ b/cluster/atlas/BUILD
@@ -2,30 +2,25 @@ cd $SOURCE_DIRECTORY/bld &&
if is_depends_enabled $SPELL lapack; then
OPTS="--with-netlib-lapack=$INSTALL_ROOT/usr/lib/liblapack.a $OPTS"
fi &&
-if [ $WALL_TIMER == y ]; then
- if [[ ${SMGL_COMPAT_ARCHS[1]} == "ia32" || ${SMGL_COMPAT_ARCHS[1]} == "x86_64" ]]; then
- OPTS="-D c -DPentiumCPS=$CPU_FREQ $OPTS"
- else
- OPTS="-D c -DWALL $OPTS"
- fi
-fi &&
../configure -Si cputhrchk 0 \
-Fa alg -fPIC \
-b ${SMGL_COMPAT_ARCHS[0]} \
- --prefix=$INSTALL_ROOT/usr &&
+ --prefix=$INSTALL_ROOT/usr ${OPTS} &&
sedit '/RANLIB/s/echo/ranlib/' Make.inc &&
make_single &&
make &&
-if [ $SHARED_LIB == y ]; then
- cd lib &&
- make shared &&
- cd ..
+cd lib &&
+if [ $PT_LIB == y ]; then
+ make ptshared
+else
+ make shared
+fi &&
+cd .. &&
+make check &&
+if [ $PT_LIB == y ]; then
+ make ptcheck
fi &&
-if [ $PTSHARED_LIB == y ]; then
- cd lib &&
- make ptshared &&
- cd ..
-fi &&
+make time &&
make_normal