summaryrefslogtreecommitdiff
path: root/suitesparse/Pkgfile
blob: fa58796e1fef4a3c97990fef6e8bcdb9444191a2 (plain)
    1 # Description: A collection of sparse matrix libraries
    2 # URL: http://faculty.cse.tamu.edu/davis/suitesparse.html
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: lapack metis
    5 
    6 name=suitesparse
    7 version=6.0.3
    8 release=1
    9 source=(https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   cd SuiteSparse-$version
   13 
   14   CMAKE_OPTIONS="-D BLA_VENDOR=Generic \
   15   -D CMAKE_INSTALL_PREFIX=/usr \
   16   -D CMAKE_INSTALL_LIBDIR=lib \
   17   -D CMAKE_BUILD_TYPE=Release \
   18   -D CMAKE_C_FLAGS_RELEASE=\"$CFLAGS -ffat-lto-objects\" \
   19   -D CMAKE_CXX_FLAGS_RELEASE=\"$CXXFLAGS -ffat-lto-objects\"" \
   20   make
   21 
   22   make DESTDIR=$PKG install
   23 }

Generated by cgit