Date: Wednesday, February 8, 2023 @ 19:12:36
Author: tpkessler
Revision: 1396511
archrelease: copy trunk to community-testing-x86_64
Added:
hsakmt-roct/repos/community-testing-x86_64/PKGBUILD
(from rev 1396510, hsakmt-roct/trunk/PKGBUILD)
hsakmt-roct/repos/community-testing-x86_64/test.cpp
(from rev 1396510, hsakmt-roct/trunk/test.cpp)
hsakmt-roct/repos/community-testing-x86_64/test.sh
(from rev 1396510, hsakmt-roct/trunk/test.sh)
Deleted:
hsakmt-roct/repos/community-testing-x86_64/PKGBUILD
hsakmt-roct/repos/community-testing-x86_64/test.cpp
hsakmt-roct/repos/community-testing-x86_64/test.sh
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
test.cpp | 54 +++++++++++++++++++++---------------------
test.sh | 14 +++++-----
3 files changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-08 19:12:26 UTC (rev 1396510)
+++ PKGBUILD 2023-02-08 19:12:36 UTC (rev 1396511)
@@ -1,39 +0,0 @@
-# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
-# Contributor: acxz <akashpatel2008 at yahoo dot com>
-# Contributor: Jakub Okoński <[email protected]>
-# Contributor: Olaf Leidinger <[email protected]>
-# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
-
-pkgname=hsakmt-roct
-pkgver=5.4.2
-pkgrel=3
-pkgdesc='Radeon Open Compute Thunk Interface'
-arch=('x86_64')
-url='https://rocmdocs.amd.com/en/latest/Installation_Guide/ROCt.html'
-license=('MIT')
-depends=('numactl' 'pciutils' 'libdrm')
-makedepends=('cmake')
-_git='https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface'
-source=("${pkgname}-${pkgver}.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
-sha256sums=('4664f44f58e29e5761cc2cac10516c00392ef03252b444aa04513db8ce572bd1')
-options=(!lto)
-_dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
-
-build() {
- cmake \
- -B build \
- -Wno-dev \
- -S "$_dirname" \
- -DCMAKE_BUILD_TYPE=None \
- -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/rocm
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-
- install -Dm644 "$_dirname/LICENSE.md"
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- echo '/opt/rocm/lib' > "$pkgname.conf"
- install -Dm644 "$pkgname.conf" "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
-}
Copied: hsakmt-roct/repos/community-testing-x86_64/PKGBUILD (from rev 1396510,
hsakmt-roct/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-08 19:12:36 UTC (rev 1396511)
@@ -0,0 +1,39 @@
+# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
+# Contributor: acxz <akashpatel2008 at yahoo dot com>
+# Contributor: Jakub Okoński <[email protected]>
+# Contributor: Olaf Leidinger <[email protected]>
+# Contributor: Ranieri Althoff <ranisalt+aur at gmail.com>
+
+pkgname=hsakmt-roct
+pkgver=5.4.3
+pkgrel=1
+pkgdesc='Radeon Open Compute Thunk Interface'
+arch=('x86_64')
+url='https://rocmdocs.amd.com/en/latest/Installation_Guide/ROCt.html'
+license=('MIT')
+depends=('numactl' 'pciutils' 'libdrm')
+makedepends=('cmake')
+_git='https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface'
+source=("${pkgname}-${pkgver}.tar.gz::$_git/archive/rocm-$pkgver.tar.gz")
+sha256sums=('3799abbe7177fbff3b304e2a363e2b39e8864f8650ae569b2b88b9291f9a710c')
+options=(!lto)
+_dirname="$(basename "$_git")-$(basename "${source[0]}" .tar.gz)"
+
+build() {
+ cmake \
+ -B build \
+ -Wno-dev \
+ -S "$_dirname" \
+ -DCMAKE_BUILD_TYPE=None \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/rocm
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -Dm644 "$_dirname/LICENSE.md"
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ echo '/opt/rocm/lib' > "$pkgname.conf"
+ install -Dm644 "$pkgname.conf" "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
+}
Deleted: test.cpp
===================================================================
--- test.cpp 2023-02-08 19:12:26 UTC (rev 1396510)
+++ test.cpp 2023-02-08 19:12:36 UTC (rev 1396511)
@@ -1,27 +0,0 @@
-#include <hsakmt/hsakmt.h>
-#include <iostream>
-
-int main()
-{
- HsaVersionInfo info;
- HsaSystemProperties prop;
-
- hsaKmtOpenKFD();
-
- hsaKmtGetVersion(&info);
-
- std::cout << "HSA version " << info.KernelInterfaceMajorVersion
- << "." << info.KernelInterfaceMinorVersion << "\n";
-
- hsaKmtAcquireSystemProperties(&prop);
-
- std::cout << "Topology information:\n"
- << "Number of memory nodes: " << prop.NumNodes << "\n"
- << "Platform OEM: " << prop.PlatformOem << "\n"
- << "Platform ID: " << prop.PlatformId << "\n"
- << "Platform Revision: " << prop.PlatformRev << "\n";
-
- hsaKmtReleaseSystemProperties();
-
- hsaKmtCloseKFD();
-}
Copied: hsakmt-roct/repos/community-testing-x86_64/test.cpp (from rev 1396510,
hsakmt-roct/trunk/test.cpp)
===================================================================
--- test.cpp (rev 0)
+++ test.cpp 2023-02-08 19:12:36 UTC (rev 1396511)
@@ -0,0 +1,27 @@
+#include <hsakmt/hsakmt.h>
+#include <iostream>
+
+int main()
+{
+ HsaVersionInfo info;
+ HsaSystemProperties prop;
+
+ hsaKmtOpenKFD();
+
+ hsaKmtGetVersion(&info);
+
+ std::cout << "HSA version " << info.KernelInterfaceMajorVersion
+ << "." << info.KernelInterfaceMinorVersion << "\n";
+
+ hsaKmtAcquireSystemProperties(&prop);
+
+ std::cout << "Topology information:\n"
+ << "Number of memory nodes: " << prop.NumNodes << "\n"
+ << "Platform OEM: " << prop.PlatformOem << "\n"
+ << "Platform ID: " << prop.PlatformId << "\n"
+ << "Platform Revision: " << prop.PlatformRev << "\n";
+
+ hsaKmtReleaseSystemProperties();
+
+ hsaKmtCloseKFD();
+}
Deleted: test.sh
===================================================================
--- test.sh 2023-02-08 19:12:26 UTC (rev 1396510)
+++ test.sh 2023-02-08 19:12:36 UTC (rev 1396511)
@@ -1,7 +0,0 @@
-#!/usr/bin/env sh
-
-OUT=$(mktemp -d)
-CXX=/usr/bin/g++
-
-$CXX -I/opt/rocm/include -o "$OUT/test" test.cpp -L/opt/rocm/lib -lhsakmt
-"$OUT"/test
Copied: hsakmt-roct/repos/community-testing-x86_64/test.sh (from rev 1396510,
hsakmt-roct/trunk/test.sh)
===================================================================
--- test.sh (rev 0)
+++ test.sh 2023-02-08 19:12:36 UTC (rev 1396511)
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+OUT=$(mktemp -d)
+CXX=/usr/bin/g++
+
+$CXX -I/opt/rocm/include -o "$OUT/test" test.cpp -L/opt/rocm/lib -lhsakmt
+"$OUT"/test