Changes
2 changed files (+10/-13)
-
-
@@ -1,15 +1,16 @@pkgbase = rocthrust pkgdesc = Port of the Thrust parallel algorithm library atop HIP/ROCm pkgver = 4.3.1 pkgver = 4.5.0 pkgrel = 1 url = https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#rocthrust arch = x86_64 license = Apache makedepends = cmake makedepends = rocm-cmake makedepends = git depends = hip-rocclr depends = hip depends = rocprim source = rocthrust-4.3.1.tar.gz::https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-4.3.1.tar.gz sha256sums = 86fcd3bc275efe9a485aed48afdc6d3351804c076caee43e3fb8bd69752865e9 source = rocthrust-4.5.0.tar.gz::https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-4.5.0.tar.gz sha256sums = 86cf897b01a6f5df668d978ce42d44a6ae9df9f8adc92d0a1a49a7c3bbead259 pkgname = rocthrust
-
-
-
@@ -1,29 +1,25 @@# Maintainer: Torsten Keßler <t dot kessler at posteo dot de> # Contributor: Markus Näther <naetherm@informatik.uni-freiburg.de> pkgname=rocthrust pkgver=4.3.1 pkgver=4.5.0 pkgrel=1 pkgdesc='Port of the Thrust parallel algorithm library atop HIP/ROCm' arch=('x86_64') url='https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#rocthrust' license=('Apache') depends=('hip-rocclr' 'rocprim') makedepends=('cmake' 'git') depends=('hip' 'rocprim') makedepends=('cmake' 'rocm-cmake' 'git') _git='https://github.com/ROCmSoftwarePlatform/rocThrust' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") sha256sums=('86fcd3bc275efe9a485aed48afdc6d3351804c076caee43e3fb8bd69752865e9') sha256sums=('86cf897b01a6f5df668d978ce42d44a6ae9df9f8adc92d0a1a49a7c3bbead259') _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.3.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 # https://github.com/ROCm-Developer-Tools/HIP/blob/rocm-4.5.x/docs/markdown/clang_options.md 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 \ -DBUILD_TEST=OFF
-