|
不知这边是否有人跟我一样平时需要做些科学计算?
已经上传到aur上了
- # Contributor: Feng Wang <wanng.fenng@gmail.com>
- pkgname=trilinos
- pkgver=9.0.3
- pkgrel=1
- pkgdesc="The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems."
- arch=('i686' 'x86_64')
- url="http://trilinos.sandia.gov/index.html"
- license=('LGPL3')
- depends=()
- source=(http://trilinos.sandia.gov/download/files/trilinos-9.0.3.tar.gz)
- makedepends=('gcc' 'openmpi' 'perl' 'blas' 'lapack')
- md5sums=( 'd050527e7514bc6b96fd7fecc606a910' )
- build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --enable-default-packages \
- --with-gnumake \
- --enable-mpi CXX="/usr/bin/mpic++ -DLAM_BUILDING" \
- --with-mpi=/usr \
- --with-perl=/usr/bin/perl \
- --with-blas="-L/usr/lib -lblas" \
- --with-lapack="-L/usr/lib -llapack" \
- --prefix=/usr --exec-prefix=/usr || return 1
- make || return 1
- make DESTDIR="$pkgdir" install
- }
复制代码 |
|