summaryrefslogtreecommitdiffstats
path: root/cluster/atlas/BUILD
blob: 5721d75e7550d42c76a052bbecfb2513db310ecb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cd  $SOURCE_DIRECTORY/bld                            &&
if is_depends_enabled $SPELL lapack; then
  OPTS="--with-netlib-lapack=$INSTALL_ROOT/usr/lib/liblapack.a $OPTS"
fi                                                   &&

../configure -Si cputhrchk 0 \
             -Fa alg -fPIC \
             -b ${SMGL_COMPAT_ARCHS[0]} \
             --prefix=$INSTALL_ROOT/usr  ${OPTS}     &&
sedit '/RANLIB/s/echo/ranlib/' Make.inc              &&

make_single &&
make                                                 &&
cd lib                                               &&
if [ $PT_LIB == y ]; then
  make ptshared
else
  make shared
fi                                                   &&
cd ..                                                &&
make check                                           &&
if [ $PT_LIB == y ]; then
  make ptcheck
fi                                                   &&
make time                                            &&
make_normal