aboutsummaryrefslogtreecommitdiff
path: root/libraries/CHOLMOD/CHOLMOD.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/CHOLMOD/CHOLMOD.SlackBuild')
-rw-r--r--libraries/CHOLMOD/CHOLMOD.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/libraries/CHOLMOD/CHOLMOD.SlackBuild b/libraries/CHOLMOD/CHOLMOD.SlackBuild
index 180c5ae010112..58cae4c9e8d64 100644
--- a/libraries/CHOLMOD/CHOLMOD.SlackBuild
+++ b/libraries/CHOLMOD/CHOLMOD.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=CHOLMOD
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-1.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,6 +38,9 @@ else
LIBDIRSUFFIX=""
fi
+# Recommended by SuiteSparse
+SLKCFLAGS="$SLKCFLAGS -fexceptions -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
+
set -e
rm -rf $PKG
@@ -57,14 +60,17 @@ fi
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+FFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
--build=$ARCH-slackware-linux
make