compile_hdf5_sunstudio_64.sh 517 Bytes
Newer Older
1
#! /bin/bash
2
3
4

PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/ucb
export PATH
brinn's avatar
brinn committed
5

6
source version.sh
brinn's avatar
brinn committed
7

8
9
10
11
12
13
tar xvf hdf5-$VERSION.tar

if [ -n "$POSTFIX" ]; then
  mv hdf5-$VERSION hdf5-$VERSION-$POSTFIX
  VERSION="$VERSION-$POSTFIX"
fi
brinn's avatar
brinn committed
14
15
16

cd hdf5-$VERSION

17
18
patch -p1 < ../HDFFV-9670-1.8.16.patch

19
CFLAGS='-fast -m64 -KPIC' ./configure --prefix=/opt/hdf5-$VERSION-64 --enable-shared --enable-debug=none --enable-production
brinn's avatar
brinn committed
20

21
make > make.log 2>&1
brinn's avatar
brinn committed
22

23
make test > test.log 2>&1