Changes
3 changed files (+31/-4)
-
-
@@ -1,7 +1,7 @@pkgbase = rocm-validation-suite pkgdesc = Tool for detecting and troubleshooting common problems affecting AMD GPUs pkgver = 3.9.0 pkgrel = 1 pkgrel = 2 url = https://github.com/ROCm-Developer-Tools/ROCmValidationSuite arch = x86_64 license = MIT
-
@@ -14,7 +14,9 @@ pkgbase = rocm-validation-suiteoptions = !staticlibs options = strip source = rocm-validation-suite-3.9.0.tar.gz::https://github.com/ROCm-Developer-Tools/ROCmValidationSuite/archive/rocm-3.9.0.tar.gz source = action.patch sha256sums = 17662028a4485b97e3ccaad5e94d20aaa2c3e9e3f741c7ebbf0f8b4cdebcc555 sha256sums = 8edac06b0658c77f91ce77bbfbe539c4f001b27ab205aabcad91cbecf19bd4d0 pkgname = rocm-validation-suite
-
-
-
@@ -1,7 +1,7 @@# Maintainer: acxz <akashpatel2008 at yahoo dot com> pkgname=rocm-validation-suite pkgver=3.9.0 pkgrel=1 pkgrel=2 pkgdesc="Tool for detecting and troubleshooting common problems affecting AMD GPUs" arch=('x86_64')
-
@@ -10,8 +10,15 @@ license=('MIT')depends=('pciutils' 'doxygen' 'rocblas' 'rocm-smi-lib64' 'git') makedepends=('cmake') options=(!staticlibs strip) source=("$pkgname-$pkgver.tar.gz::https://github.com/ROCm-Developer-Tools/ROCmValidationSuite/archive/rocm-$pkgver.tar.gz") sha256sums=('17662028a4485b97e3ccaad5e94d20aaa2c3e9e3f741c7ebbf0f8b4cdebcc555') source=("$pkgname-$pkgver.tar.gz::https://github.com/ROCm-Developer-Tools/ROCmValidationSuite/archive/rocm-$pkgver.tar.gz" "action.patch") sha256sums=('17662028a4485b97e3ccaad5e94d20aaa2c3e9e3f741c7ebbf0f8b4cdebcc555' '8edac06b0658c77f91ce77bbfbe539c4f001b27ab205aabcad91cbecf19bd4d0') prepare() { cd "$srcdir/ROCmValidationSuite-rocm-$pkgver" patch --forward --strip=1 --input="${srcdir}/action.patch" } build() { mkdir -p "$srcdir/build"
-
-
-
@@ -0,0 +1,18 @@diff --unified --recursive --text package.orig/rcqt.so/src/action.cpp package.new/rcqt.so/src/action.cpp --- package.orig/rcqt.so/src/action.cpp 2020-11-02 20:52:54.346675345 +0100 +++ package.new/rcqt.so/src/action.cpp 2020-11-02 20:53:23.430008727 +0100 @@ -196,13 +196,7 @@ // Checking if version field exists string version_name; version_exists = has_property(VERSION, &version_name); - #if RVS_OS_TYPE_NUM == 1 - string command_string = "dpkg --get-selections > "; - #endif - #if RVS_OS_TYPE_NUM == 2 - string command_string = "rpm -qa --qf \"%{NAME}\n\" > "; - #endif - command_string += PKG_CMD_FILE; + string command_string = "pacman -Q > "; // We execute the dpkg-querry if (system(command_string.c_str()) == -1) {
-