Changes
2 changed files (+15/-28)
-
-
@@ -1,21 +1,18 @@pkgbase = hipsparse pkgdesc = rocSPARSE marshalling library. pkgver = 3.5.0 pkgrel = 3 pkgver = 3.7.0 pkgrel = 1 url = https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipsparse arch = x86_64 license = MIT makedepends = cmake makedepends = git makedepends = rocminfo makedepends = gcc-fortran depends = hip-rocclr depends = rocsparse source = hipsparse-3.5.0.tar.gz::https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-3.5.0.tar.gz source = fix_hcc_compress.patch::https://github.com/ROCmSoftwarePlatform/hipSPARSE/commit/e79985dccde22d826aceb3badfc643a3227979d2.patch source = fix_nvcc_compress.patch::https://github.com/ROCmSoftwarePlatform/hipSPARSE/commit/530047af4a0f437dafc02f76b3a17e3b1536c7ec.patch sha256sums = fa16b2a307a5d9716066c2876febcbc1cef855bf0c96d235d2d8f2206a0fb69d sha256sums = 6b7493f0caa1b8042ef43c1a4cee6584abeeb9319c53a79e8b2e558cd1076992 sha256sums = db755df3ae712d33d4954b7d302d656b1bdc8f226c063ee701d3b4d835297686 source = hipsparse-3.7.0.tar.gz::https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-3.7.0.tar.gz sha256sums = a2f02d8fc6ad9a561f06dacde54ecafd30563c5c95f93819a5694e5b650dad7f pkgname = hipsparse
-
-
-
@@ -2,31 +2,22 @@# Maintainer: acxz <akashpatel2008 at yahoo dot com> pkgname=hipsparse pkgver=3.5.0 pkgrel=3 pkgver=3.7.0 pkgrel=1 pkgdesc='rocSPARSE marshalling library.' arch=('x86_64') url='https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipsparse' license=('MIT') depends=('hip-rocclr' 'rocsparse') makedepends=('cmake' 'git' 'rocminfo') makedepends=('cmake' 'git' 'rocminfo' 'gcc-fortran') _git='https://github.com/ROCmSoftwarePlatform/hipSPARSE' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz" "fix_hcc_compress.patch::$_git/commit/e79985dccde22d826aceb3badfc643a3227979d2.patch" "fix_nvcc_compress.patch::$_git/commit/530047af4a0f437dafc02f76b3a17e3b1536c7ec.patch") sha256sums=('fa16b2a307a5d9716066c2876febcbc1cef855bf0c96d235d2d8f2206a0fb69d' '6b7493f0caa1b8042ef43c1a4cee6584abeeb9319c53a79e8b2e558cd1076992' 'db755df3ae712d33d4954b7d302d656b1bdc8f226c063ee701d3b4d835297686') prepare() { cd ${srcdir}/hipSPARSE-rocm-$pkgver patch --forward --strip=1 --input="${srcdir}/fix_hcc_compress.patch" patch --forward --strip=1 --input="${srcdir}/fix_nvcc_compress.patch" } source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") sha256sums=('a2f02d8fc6ad9a561f06dacde54ecafd30563c5c95f93819a5694e5b650dad7f') _dirname="$(basename "$_git")-$(basename "${source[0]}" ".tar.gz")" build() { CXX=/opt/rocm/hip/bin/hipcc \ cmake -B build -Wno-dev \ cmake -Wno-dev -S "$_dirname" \ -DCMAKE_CXX_STANDARD=20 \ -DCMAKE_INSTALL_PREFIX=/opt/rocm \ -Damd_comgr_DIR=/opt/rocm/lib/cmake/amd_comgr \
-
@@ -34,13 +25,12 @@ build() {-Dhip_DIR=/opt/rocm/hip/lib/cmake/hip \ -Drocsparse_DIR=/opt/rocm/rocsparse/lib/cmake/rocsparse \ -DBUILD_CLIENTS_SAMPLES=OFF \ -DBUILD_CLIENTS_TESTS=OFF \ "$srcdir/hipSPARSE-rocm-$pkgver" make -C build -DBUILD_CLIENTS_TESTS=OFF make } package() { DESTDIR="$pkgdir" make -C build install DESTDIR="$pkgdir" make install install -Dm644 /dev/stdin "$pkgdir/etc/ld.so.conf.d/hipsparse.conf" << EOF /opt/rocm/hipsparse/lib
-