Hi ChrisTX I also updated this package:
# Maintainer: Christian Pfeiffer <cpfeiffer at live dot de>
# Contributor: Gianluca Pettinello <g_pet at hotmail dot com>
pkgname=superlu_dist
pkgver=7.1.1
pkgrel=1
pkgdesc="Set of subroutines to solve a sparse linear system (MPI parallel version)"
arch=('x86_64')
url="https://github.com/xiaoyeli/superlu_dist"
license=('custom')
depends=('lapack' 'parmetis' 'openblas')
makedepends=('cmake' 'gcc-fortran')
source=(${url}/archive/v$pkgver.tar.gz)
sha512sums=('558053b3d4a56eb661c4f04d4fcab6604018ce5db97115394c161b56c9c278ff')
options=('staticlibs')
prepare() {
mkdir -p build
# CombBLAS uses C++14 in its headers. Otherwise the code won't build
sed -i "s/set(CMAKE_CXX_STANDARD 11)/set(CMAKE_CXX_STANDARD 14)/" "$srcdir/$pkgname-$pkgver/CMakeLists.txt"
}
build() {
cd build
cmake ../$pkgname-$pkgver/ \
-DTPL_PARMETIS_INCLUDE_DIRS="/usr/include" \
-DTPL_PARMETIS_LIBRARIES="/usr/lib/libparmetis.so" \
-DTPL_ENABLE_BLASLIB=ON \
-DTPL_ENABLE_LAPACKLIB=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_INCLUDEDIR=include/superlu_dist \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
mkdir -p $pkgdir/usr/share/doc/$pkgname \
$pkgdir/usr/share/licenses/$pkgname
install -m644 $srcdir/$pkgname-$pkgver/README.md $pkgdir/usr/share/doc/$pkgname
install -m644 $srcdir/$pkgname-$pkgver/License.txt $pkgdir/usr/share/licenses/$pkgname
install -m644 $srcdir/$pkgname-$pkgver/DOC/ug.pdf $pkgdir/usr/share/doc/$pkgname/ug.pdf
}
Please update Thanks Gianluca
Pinned Comments