AUR AI Reviewer

Review Results

Version #3207 of opencl-amd · commit 8e43d83caeee · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #6814

Comment

The change is limited to bumping .SRCINFO metadata from opencl-amd 10.1.0 to 10.2.0 and updating the corresponding AMD HTTPS source URLs and SHA256 checksums. The sources remain pinned to specific upstream .deb artifacts from AMD's stable repository, with no new build logic, scripts, or packaging behavior introduced in this diff. I do not see any integrity or execution red flags in the metadata-only update.

@@ -1,6 +1,6 @@
 pkgbase = opencl-amd
 	pkgdesc = ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, OpenCL runtime, HIP runtime) - This package is intended to work along with the free amdgpu stack.
-	pkgver = 10.1.0
+	pkgver = 10.2.0
 	pkgrel = 1
 	epoch = 1
 	url = https://www.amd.com
Risk 0/5 · Safe .SRCINFO
Result #6815

Comment

The change only updates the pinned upstream AMD .deb source URLs and their SHA256 checksums from ROCm 10.1 to 10.2. The sources remain HTTPS on the official AMD repository, are still version-pinned, and there is no evidence of added build-time execution, new scripts, or packaging behavior changes in this .SRCINFO-only diff. From a security perspective this is a routine upstream version bump with no obvious integrity or persistence concerns in the reviewed hunk.

@@ -42,15 +42,15 @@ pkgbase = opencl-amd
 	conflicts = hsa-amd-aqlprofile
 	conflicts = rocm-cmake
 	conflicts = rocm-smi-lib
-	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-sysdeps10.1_10.1.0-3_amd64.deb
-	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-llvm10.1_10.1.0-3_amd64.deb
-	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-runtime10.1_10.1.0-3_amd64.deb
-	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-base10.1_10.1.0-3_amd64.deb
-	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-opencl10.1_10.1.0-3_amd64.deb
-	sha256sums = a2493d98144a586df49489c4b4b7a7449c9eb123597515929699b1b5fccfd916
-	sha256sums = 6a4727102d830f6c97b911351192b15623189278afad9b4558514a6fe51ca58a
-	sha256sums = 2cf4fa3b82f9b37be9fc18ca6886e1791585c1b8041758ccba9e3c5dadb7c6b1
-	sha256sums = a3d48032edee53c51016b28884a1fe81e2d2f84e087c2546dd20753402ad53c9
-	sha256sums = d4c195a9c99bd61f9269fb61a9c396bfdbbe1db5ebea21cc3bc5657f75ca1304
+	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-sysdeps10.2_10.2.0-2_amd64.deb
+	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-llvm10.2_10.2.0-2_amd64.deb
+	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-runtime10.2_10.2.0-2_amd64.deb
+	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-base10.2_10.2.0-2_amd64.deb
+	source = https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-opencl10.2_10.2.0-2_amd64.deb
+	sha256sums = e81ee425b56d3c37b267480530d82a512aaa2fbf1f5b32df01ac1ef9b86a1fac
+	sha256sums = f7aef5f955d375680fb7ebdbb40f245230fbd7ef303593968dec67c7366916e2
+	sha256sums = 987610001de42cef3c5325f9a71e26e90d56cac595765e77c1d1a5e97b650593
+	sha256sums = 33a4de9d3c59e74131b46bd31f0ce6694fbe62dff5ed2f6dd3fd4bd7f98c41e6
+	sha256sums = 30d11e37ef198ed1c79882f303378b9c0b81f1fe54cbf63b4e35ec80e03d945a
 
 pkgname = opencl-amd
Risk 0/5 · Safe PKGBUILD
Result #6816

Comment

The change is a straightforward version bump of the packaged AMD ROCm .deb artifacts from 10.1.0 to 10.2.0, with updated checksums and corresponding path adjustments in package(). The sources remain HTTPS on AMD-controlled domains, there is no new build-time network access, no added scripts/units, and no privilege-escalation or persistence behavior introduced by this diff. The packaging logic still only repacks vendor .debs into $pkgdir. Risk is low.

@@ -5,7 +5,7 @@ _rocm_repo='https://repo.amd.com/rocm/packages-multi-arch/ubuntu2604'
 
 pkgname=opencl-amd
 pkgdesc="ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, OpenCL runtime, HIP runtime) - This package is intended to work along with the free amdgpu stack."
-pkgver=10.1.0
+pkgver=10.2.0
 pkgrel=1
 epoch=1
 arch=('x86_64')
Risk 0/5 · Safe PKGBUILD
Result #6817

Comment

The change is a straightforward version bump of five AMD ROCm runtime .deb sources from 10.1 to 10.2, with corresponding checksum updates. The sources remain HTTPS on the official AMD repository, there are no new build-time downloads, no script changes, and no evidence of added persistence or privilege escalation. The main risk is the inherent trust in prebuilt vendor binaries, but that was already present before this diff and is not introduced by the change itself.

@@ -19,20 +19,20 @@ optdepends=('clinfo')
 
 source=(
 #runtime
-"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-sysdeps10.1_10.1.0-3_amd64.deb"
-"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-llvm10.1_10.1.0-3_amd64.deb"
-"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-runtime10.1_10.1.0-3_amd64.deb"
-"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-base10.1_10.1.0-3_amd64.deb"
-"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-opencl10.1_10.1.0-3_amd64.deb"
+"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-sysdeps10.2_10.2.0-2_amd64.deb"
+"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-llvm10.2_10.2.0-2_amd64.deb"
+"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-runtime10.2_10.2.0-2_amd64.deb"
+"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-base10.2_10.2.0-2_amd64.deb"
+"https://stable.repo.amd.com/rocm/core/packages/ubuntu2604/pool/main/amdrocm-opencl10.2_10.2.0-2_amd64.deb"
 #dev - todo
 )
 
 sha256sums=(
-"a2493d98144a586df49489c4b4b7a7449c9eb123597515929699b1b5fccfd916"
-"6a4727102d830f6c97b911351192b15623189278afad9b4558514a6fe51ca58a"
-"2cf4fa3b82f9b37be9fc18ca6886e1791585c1b8041758ccba9e3c5dadb7c6b1"
-"a3d48032edee53c51016b28884a1fe81e2d2f84e087c2546dd20753402ad53c9"
-"d4c195a9c99bd61f9269fb61a9c396bfdbbe1db5ebea21cc3bc5657f75ca1304"
+"e81ee425b56d3c37b267480530d82a512aaa2fbf1f5b32df01ac1ef9b86a1fac"
+"f7aef5f955d375680fb7ebdbb40f245230fbd7ef303593968dec67c7366916e2"
+"987610001de42cef3c5325f9a71e26e90d56cac595765e77c1d1a5e97b650593"
+"33a4de9d3c59e74131b46bd31f0ce6694fbe62dff5ed2f6dd3fd4bd7f98c41e6"
+"30d11e37ef198ed1c79882f303378b9c0b81f1fe54cbf63b4e35ec80e03d945a"
 )
 
 package() {
Risk 0/5 · Safe PKGBUILD
Result #6818

Comment

The change updates the package to ROCm 10.2 and adjusts the install layout from /opt/rocm/core-10.1 to /opt/rocm/core-10.2, then copies the contents into /opt/rocm and updates PATH/ld.so.conf entries accordingly. I do not see any new code execution, network fetches beyond the existing pinned AMD release tarballs, privilege escalation, or persistence mechanisms. The only notable concern is that this package still repackages prebuilt vendor .deb artifacts from an external repository, but that risk predates this diff and is not introduced by the path/layout change itself.

@@ -50,7 +50,7 @@ package() {
     done
 
     mv "${srcdir}/opt/" "${pkgdir}/"
-    mv "${pkgdir}/opt/rocm/core-10.1" "${pkgdir}/opt/rocm/core"
+    cp -a "${pkgdir}/opt/rocm/core-10.2/." "${pkgdir}/opt/rocm/"
 
     mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm"
     cd "${pkgdir}/opt/amdgpu/share/libdrm"
Risk 0/5 · Safe PKGBUILD
Result #6819

Comment

The change is a straightforward path update from /opt/rocm/core to /opt/rocm in the generated ld.so.conf.d and profile.d files. It does not introduce new code execution, network access, privilege escalation, or persistence mechanisms; it only adjusts runtime library and PATH locations to match a different ROCm layout. No suspicious sources or install-script behavior are added in this hunk. Risk is low.

@@ -60,9 +60,9 @@ package() {
     echo libamdocl64.so > "${pkgdir}/etc/OpenCL/vendors/amdocl64.icd"
 
     mkdir -p "${pkgdir}/etc/ld.so.conf.d"
-    echo /opt/rocm/core/lib >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
-    echo /opt/rocm/core/lib/opencl >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
+    echo /opt/rocm/lib >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
+    echo /opt/rocm/lib/opencl >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
 
     mkdir -p "${pkgdir}/etc/profile.d"
-    echo export PATH="\${PATH}:/opt/rocm/core/bin:/opt/rocm/core/lib/llvm/bin" > "$pkgdir/etc/profile.d/opencl-amd.sh"
+    echo export PATH="\${PATH}:/opt/rocm/bin:/opt/rocm/lib/llvm/bin" > "$pkgdir/etc/profile.d/opencl-amd.sh"
 }