* update rocm-cmake to 6.2.2-1
This commit is contained in:
parent
bf64657f87
commit
4d1cc4a9fd
21
rocm-cmake/.SRCINFO
Normal file
21
rocm-cmake/.SRCINFO
Normal file
@ -0,0 +1,21 @@
|
||||
pkgbase = rocm-cmake
|
||||
pkgdesc = CMake modules for common build tasks needed for the ROCm software stack
|
||||
pkgver = 6.2.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/ROCm/rocm-cmake
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = riscv64
|
||||
license = MIT
|
||||
checkdepends = git
|
||||
checkdepends = rocm-llvm
|
||||
depends = rocm-core
|
||||
depends = cmake
|
||||
options = !debug
|
||||
source = rocm-cmake-6.2.2.tar.gz::https://github.com/ROCm/rocm-cmake/archive/rocm-6.2.2.tar.gz
|
||||
source = rocm-cmake-old-policy-cmp0079.patch
|
||||
sha256sums = 60458eb5a4a3c0d5df4571e891b11fdb462e71e862112987582bb50a4877496a
|
||||
sha256sums = 7c8d8351a8e85a0d122421d02ad967c75d4dd8442192662c1a1a68bacdfad67d
|
||||
|
||||
pkgname = rocm-cmake
|
5
rocm-cmake/.nvchecker.toml
Normal file
5
rocm-cmake/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[rocm-cmake]
|
||||
source = 'github'
|
||||
github = 'ROCm/rocm-cmake'
|
||||
use_latest_release = true
|
||||
prefix = 'rocm-'
|
@ -5,19 +5,20 @@
|
||||
# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
|
||||
|
||||
pkgname=rocm-cmake
|
||||
pkgver=6.0.2
|
||||
pkgrel=1.1
|
||||
pkgver=6.2.2
|
||||
pkgrel=1
|
||||
pkgdesc='CMake modules for common build tasks needed for the ROCm software stack'
|
||||
arch=(x86_64 powerpc64le powerpc64 riscv64)
|
||||
url='https://github.com/RadeonOpenCompute/rocm-cmake'
|
||||
url='https://github.com/ROCm/rocm-cmake'
|
||||
license=('MIT')
|
||||
depends=('cmake')
|
||||
depends=('rocm-core' 'cmake')
|
||||
checkdepends=('git' 'rocm-llvm')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
|
||||
"${pkgname}-old-policy-cmp0079.patch")
|
||||
sha256sums=('7bd3ff971b1a898b8cf06b0ed9fac45891e2523ae651c3194ba36050ab45f869'
|
||||
sha256sums=('60458eb5a4a3c0d5df4571e891b11fdb462e71e862112987582bb50a4877496a'
|
||||
'7c8d8351a8e85a0d122421d02ad967c75d4dd8442192662c1a1a68bacdfad67d')
|
||||
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
|
||||
options=(!debug)
|
||||
|
||||
prepare() {
|
||||
cd "$_dirname"
|
||||
@ -28,17 +29,20 @@ prepare() {
|
||||
# As we don't package it, disable also this test
|
||||
rm test/pass/doc-sphinxdoxygen.cmake
|
||||
|
||||
cd share/rocmcmakebuildtools
|
||||
# With cmake 3.28.1+ setting cmp0079 to old results in a deprecation error
|
||||
patch -Np1 -i "$srcdir/$pkgname-old-policy-cmp0079.patch"
|
||||
patch -Np3 -i "$srcdir/$pkgname-old-policy-cmp0079.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-Wno-dev \
|
||||
-B build \
|
||||
-S "$_dirname" \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/rocm
|
||||
local cmake_args=(
|
||||
-Wno-dev
|
||||
-S "$_dirname"
|
||||
-B build
|
||||
-D CMAKE_BUILD_TYPE=None
|
||||
-D CMAKE_INSTALL_PREFIX=/opt/rocm
|
||||
)
|
||||
cmake "${cmake_args[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user