Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages /
rocsparse
Commits:
ec63c8ce by Torsten Keßler at 2024-02-27T15:04:19+01:00
upgpkg: 6.0.2-1
* ROCm 6.0.2 patch release
* Add nvchecker file
- - - - -
3 changed files:
- .SRCINFO
- + .nvchecker.toml
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,21 @@
pkgbase = rocsparse
pkgdesc = BLAS for sparse computation on top of ROCm
- pkgver = 6.0.0
+ pkgver = 6.0.2
pkgrel = 1
- url = https://rocsparse.readthedocs.io/en/master/
+ url = https://rocm.docs.amd.com/projects/rocSPARSE/en/latest/index.html
arch = x86_64
license = MIT
+ makedepends = cmake
makedepends = rocm-cmake
makedepends = gcc-fortran
+ depends = rocm-cmake
+ depends = glibc
+ depends = gcc-libs
depends = hip
depends = rocprim
options = !lto
options = !buildflags
- source =
rocsparse-6.0.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-6.0.0.tar.gz
- sha256sums =
bdc618677ec78830c6af315d61194d6ab8532345b8daeeb115aca96f274d4ca4
+ source =
rocsparse-6.0.2.tar.gz::https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-6.0.2.tar.gz
+ sha256sums =
00292eb7efe5719a65960bdbe391ba8e0ce610487eea11397aad6a14b11e12cd
pkgname = rocsparse
=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[rocsparse]
+source = 'github'
+github = 'ROCm/rocSPARSE'
+use_latest_release = true
+prefix = 'rocm-'
=====================================
PKGBUILD
=====================================
@@ -1,17 +1,17 @@
# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
# Contributor: Markus Näther <[email protected]>
pkgname=rocsparse
-pkgver=6.0.0
+pkgver=6.0.2
pkgrel=1
pkgdesc='BLAS for sparse computation on top of ROCm'
arch=('x86_64')
-url='https://rocsparse.readthedocs.io/en/master/'
+url='https://rocm.docs.amd.com/projects/rocSPARSE/en/latest/index.html'
license=('MIT')
-depends=('hip' 'rocprim')
-makedepends=('rocm-cmake' 'gcc-fortran')
+depends=('rocm-cmake' 'glibc' 'gcc-libs' 'hip' 'rocprim')
+makedepends=('cmake' 'rocm-cmake' 'gcc-fortran')
_git='https://github.com/ROCmSoftwarePlatform/rocSPARSE'
source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('bdc618677ec78830c6af315d61194d6ab8532345b8daeeb115aca96f274d4ca4')
+sha256sums=('00292eb7efe5719a65960bdbe391ba8e0ce610487eea11397aad6a14b11e12cd')
# Disable default build flags and use release mode as otherwise the linker step
# fails. The symbol offset size reaches the 32 bit integer limits.
options=(!lto !buildflags)
@@ -19,23 +19,22 @@ _dirname="$(basename "$_git")-$(basename "${source[0]}"
".tar.gz")"
build() {
# -fcf-protection is not supported by HIP, see
- #
https://rocm.docs.amd.com/en/latest/reference/rocmcc/rocmcc.html#support-status-of-other-clang-options
- CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \
- cmake \
- -Wno-dev \
- -B build \
- -S "$_dirname" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc \
- -DCMAKE_INSTALL_PREFIX=/opt/rocm
+ #
https://rocm.docs.amd.com/en/latest/reference/rocmcc.html#support-status-of-other-clang-options
+ local cmake_args=(
+ -Wno-dev
+ -S "$_dirname"
+ -B build
+ -D CMAKE_BUILD_TYPE=Release
+ -D CMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc
+ -D CMAKE_CXX_FLAGS="${CXXFLAGS} -fcf-protection=none"
+ -D CMAKE_INSTALL_PREFIX=/opt/rocm
+ )
+ cmake "${cmake_args[@]}"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
- echo '/opt/rocm/rocsparse/lib' > "$pkgname.conf"
- install -Dm644 "$pkgname.conf" "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
-
install -Dm644 "$_dirname/LICENSE.md"
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rocsparse/-/commit/ec63c8ce3b21a043b9a7c287623bf0ceee67f1ac
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rocsparse/-/commit/ec63c8ce3b21a043b9a7c287623bf0ceee67f1ac
You're receiving this email because of your account on gitlab.archlinux.org.