diff options
author | Hans-Nikolai Viessmann | 2020-03-04 21:07:48 +0100 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2020-03-04 21:07:48 +0100 |
commit | 334525f9439c6bd6212da0c0736e4d3e696f7824 (patch) | |
tree | 90ff638135fce66d33491cd81c74350cdbf96379 /PKGBUILD | |
parent | 85a646421156419290a6a1d16cf023e916310c41 (diff) | |
download | aur-334525f9439c6bd6212da0c0736e4d3e696f7824.tar.gz |
bump version to 6.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -3,7 +3,7 @@ # Contributor: jedbrown pkgname=papi-cuda -pkgver=5.7.0 +pkgver=6.0.0 pkgrel=1 pkgdesc='Performance Application Programming Interface (with CUDA componet)' arch=('x86_64' 'i686') @@ -11,22 +11,18 @@ url='http://icl.cs.utk.edu/papi/' license=('BSD') provides=("papi=${pkgver}") conflicts=('papi' 'libpfm4') -depends=('glibc' 'gcc-fortran' 'cuda') +depends=('python' 'gcc-fortran' 'cuda') optdepends=('openmpi: for MPI applications') source=("http://icl.cs.utk.edu/projects/papi/downloads/papi-${pkgver}.tar.gz" - 'cuda-component-build-targets.patch' - 'papi-utils-ldpath-fix.patch') -sha256sums=('d1a3bb848e292c805bc9f29e09c27870e2ff4cda6c2fba3b7da8b4bba6547589' - '0b93df095425fd5d5a9166bb4d62a71a9ab62708b9364cb9da4193d2b60a890f' - 'd9658f3f950d398b62138d82340b5ef2b5aa79774665e8c634cf5c320a43220d') + 'cuda-component-build-targets.patch') +sha256sums=('3442709dae3405c2845b304c06a8b15395ecf4f3899a89ceb4d715103cb4055f' + '0b93df095425fd5d5a9166bb4d62a71a9ab62708b9364cb9da4193d2b60a890f') prepare() { cd "${srcdir}/papi-${pkgver}/src" # resolve issue with NVCC not understand `-Wl` flag patch -p1 < $srcdir/cuda-component-build-targets.patch - # resolve problem with LDPATHS placed at wrong point in CC commandline - patch -p1 < $srcdir/papi-utils-ldpath-fix.patch } build() { @@ -34,6 +30,7 @@ build() { export CFLAGS="-fPIC ${CFLAGS}" export CC=gcc # for systems with other CC installed + export F77=gfortran # for systems with other FC installed export CUDA_DIR=/opt/cuda export CUPTI_DIR=/opt/cuda/extras/CUPTI ./configure \ @@ -58,5 +55,5 @@ package() { make DESTDIR="${pkgdir}" install chmod 644 $pkgdir/usr/share/papi/papi_events.csv install -Dm644 ${srcdir}/papi-${pkgver}/LICENSE.txt \ - ${pkgdir}/usr/share/licenses/papi/LICENSE + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } |