Changes
2 changed files (+7/-9)
-
-
@@ -1,15 +1,16 @@pkgbase = hipcub pkgdesc = Header-only library on top of rocPRIM or CUB pkgver = 4.5.0 pkgver = 4.5.2 pkgrel = 1 url = https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipcub arch = x86_64 license = custom makedepends = cmake makedepends = rocm-cmake makedepends = git makedepends = hip depends = rocprim source = hipcub-4.5.0.tar.gz::https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-4.5.0.tar.gz sha256sums = 5902fae0485789f1d1cc6b8e81d9f1b39338170d3139844d5edf0d324f9694c9 source = hipcub-4.5.2.tar.gz::https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-4.5.2.tar.gz sha256sums = bec9ba1a6aa0475475ee292e54807accc839ed001338275f48da13e3bfb77514 pkgname = hipcub
-
-
-
@@ -1,29 +1,26 @@# Maintainer: Torsten Keßler <t dot kessler at posteo dot de> # Contributor: Markus Näther <naetherm@informatik.uni-freiburg.de> pkgname=hipcub pkgver=4.5.0 pkgver=4.5.2 pkgrel=1 pkgdesc='Header-only library on top of rocPRIM or CUB' arch=('x86_64') url='https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipcub' license=('custom') depends=('rocprim') makedepends=('cmake' 'git' 'hip') makedepends=('cmake' 'rocm-cmake' 'git' 'hip') _git='https://github.com/ROCmSoftwarePlatform/hipCUB' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") sha256sums=('5902fae0485789f1d1cc6b8e81d9f1b39338170d3139844d5edf0d324f9694c9') sha256sums=('bec9ba1a6aa0475475ee292e54807accc839ed001338275f48da13e3bfb77514') _dirname="$(basename $_git)-$(basename "${source[0]}" ".tar.gz")" build() { # -fcf-protection is not supported by HIP, see # https://github.com/ROCm-Developer-Tools/HIP/blob/rocm-4.5.x/docs/markdown/clang_options.md # With version 3.21, HIP support was added to CMake that breaks the current scripts, see # https://github.com/ROCmSoftwarePlatform/rocRAND/issues/198#issuecomment-893573440 CXX=/opt/rocm/bin/hipcc \ CXXFLAGS="${CXXFLAGS} -fcf-protection=none" \ cmake -Wno-dev -S "$_dirname" \ -D__skip_rocmclang=ON \ -DCMAKE_INSTALL_PREFIX=/opt/rocm \ -Damd_comgr_DIR=/opt/rocm/lib/cmake/amd_comgr }
-