[arch-commits] Commit in trilinos/trunk (PKGBUILD)
Date: Wednesday, January 16, 2019 @ 11:49:34 Author: alad Revision: 423494 actually run tests Modified: trilinos/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-01-16 11:29:48 UTC (rev 423493) +++ PKGBUILD2019-01-16 11:49:34 UTC (rev 423494) @@ -41,7 +41,7 @@ } check() { -cd Trilinos-trilinos-release-"$_pkgver" +cd Trilinos-trilinos-release-"$_pkgver"/build ctest }
[arch-commits] Commit in trilinos/trunk (PKGBUILD)
Date: Wednesday, January 16, 2019 @ 00:25:32 Author: foutrelis Revision: 423379 boost 1.69.0 rebuild Modified: trilinos/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-01-15 21:35:25 UTC (rev 423378) +++ PKGBUILD2019-01-16 00:25:32 UTC (rev 423379) @@ -5,7 +5,7 @@ pkgname=trilinos pkgver=12.12.1 _pkgver=${pkgver//./-} -pkgrel=3 +pkgrel=4 pkgdesc="algorithms for the solution of large-scale scientific problems" arch=('x86_64') url="http://trilinos.org;
[arch-commits] Commit in trilinos/trunk (PKGBUILD)
Date: Friday, January 11, 2019 @ 20:57:44 Author: alad Revision: 422686 enable tests, remove Release type Modified: trilinos/trunk/PKGBUILD --+ PKGBUILD | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-11 20:57:00 UTC (rev 422685) +++ PKGBUILD2019-01-11 20:57:44 UTC (rev 422686) @@ -4,43 +4,48 @@ # Contributor: Feng Wang pkgname=trilinos pkgver=12.12.1 -pkgrel=2 +_pkgver=${pkgver//./-} +pkgrel=3 pkgdesc="algorithms for the solution of large-scale scientific problems" arch=('x86_64') url="http://trilinos.org; license=('LGPL3') depends=('lapack' 'openmpi' 'python2' 'boost' 'netcdf' 'libmatio' 'libx11') -source=("https://github.com/trilinos/Trilinos/archive/trilinos-release-${pkgver//./-}.tar.gz;) +makedepends=('python2-numpy' 'swig' 'gcc-fortran' 'perl' 'blas' 'cmake' + 'gtest' 'doxygen') +checkdepends=('cmake') +source=("https://github.com/trilinos/Trilinos/archive/trilinos-release-$_pkgver.tar.gz;) sha256sums=('5474c5329c6309224a7e1726cf6f0d855025b2042959e4e2be2748bd6bb49e18') -makedepends=('python2-numpy' 'swig' 'gcc-fortran' 'perl' 'blas' 'cmake' 'gtest' 'doxygen') prepare() { -mv "$srcdir/Trilinos-trilinos-release-${pkgver//./-}" "$srcdir/Trilinos" - # https://github.com/trilinos/Trilinos/issues/862#issuecomment-365852261 -find "$srcdir/Trilinos" -name "*.py" -exec \ -sed -i '1s#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \; +find Trilinos-trilinos-release-"$_pkgver" -name "*.py" -exec \ +sed -i '1s#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \; } build() { -cd "$srcdir/Trilinos" +cd Trilinos-trilinos-release-"$_pkgver" mkdir -p build cd build cmake .. -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \ -DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON \ - -DTrilinos_ENABLE_Gtest:BOOL=OFF \ - -DTrilinos_ENABLE_TESTS=OFF \ + -DTrilinos_ENABLE_Gtest:BOOL=ON \ + -DTrilinos_ENABLE_TESTS=ON \ -DTPL_ENABLE_gtest:BOOL=ON \ -DTPL_ENABLE_MPI:BOOL=ON \ -DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS:BOOL=ON -make +make VERBOSE=1 } +check() { +cd Trilinos-trilinos-release-"$_pkgver" +ctest +} + package() { -cd "$srcdir/Trilinos/build" +cd Trilinos-trilinos-release-"$_pkgver"/build make DESTDIR="$pkgdir" install }
[arch-commits] Commit in trilinos/trunk (PKGBUILD)
Date: Tuesday, January 8, 2019 @ 12:08:40 Author: alad Revision: 421023 fix indents Modified: trilinos/trunk/PKGBUILD --+ PKGBUILD | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-08 12:06:29 UTC (rev 421022) +++ PKGBUILD2019-01-08 12:08:40 UTC (rev 421023) @@ -15,19 +15,19 @@ makedepends=('python2-numpy' 'swig' 'gcc-fortran' 'perl' 'blas' 'cmake' 'gtest' 'doxygen') prepare() { - mv "$srcdir/Trilinos-trilinos-release-${pkgver//./-}" "$srcdir/Trilinos" +mv "$srcdir/Trilinos-trilinos-release-${pkgver//./-}" "$srcdir/Trilinos" # https://github.com/trilinos/Trilinos/issues/862#issuecomment-365852261 - find "$srcdir/Trilinos" -name "*.py" -exec \ - sed -i '1s#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \; +find "$srcdir/Trilinos" -name "*.py" -exec \ +sed -i '1s#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \; } build() { - cd "$srcdir/Trilinos" - mkdir -p build - cd build +cd "$srcdir/Trilinos" +mkdir -p build +cd build - cmake .. -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \ +cmake .. -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \ -DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON \ -DTrilinos_ENABLE_Gtest:BOOL=OFF \ -DTrilinos_ENABLE_TESTS=OFF \ @@ -37,10 +37,10 @@ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS:BOOL=ON - make +make } package() { - cd "$srcdir/Trilinos/build" - make DESTDIR="$pkgdir" install +cd "$srcdir/Trilinos/build" +make DESTDIR="$pkgdir" install }
[arch-commits] Commit in trilinos/trunk (PKGBUILD)
Date: Tuesday, January 8, 2019 @ 12:04:58 Author: alad Revision: 421019 add maintainer tag Modified: trilinos/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-01-08 12:02:19 UTC (rev 421018) +++ PKGBUILD2019-01-08 12:04:58 UTC (rev 421019) @@ -1,3 +1,4 @@ +# Maintainer: Alad Wenter # Contributor: Jingbei Li # Contributor: Simon Pintarelli # Contributor: Feng Wang @@ -10,7 +11,7 @@ license=('LGPL3') depends=('lapack' 'openmpi' 'python2' 'boost' 'netcdf' 'libmatio' 'libx11') source=("https://github.com/trilinos/Trilinos/archive/trilinos-release-${pkgver//./-}.tar.gz;) -md5sums=('ecd4606fa332212433c98bf950a69cc7') +sha256sums=('5474c5329c6309224a7e1726cf6f0d855025b2042959e4e2be2748bd6bb49e18') makedepends=('python2-numpy' 'swig' 'gcc-fortran' 'perl' 'blas' 'cmake' 'gtest' 'doxygen') prepare() {