summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew Shark2019-07-09 08:32:14 +0300
committerAndrew Shark2019-07-09 08:32:14 +0300
commit5553f7b074370bce3b07950be66b6a1aacd90bc9 (patch)
treed37450cc567b11381974364cf1013f23fb6e28bc /PKGBUILD
parent46a92b8a00827808cb6ab77b71a04a84fcdff54a (diff)
downloadaur-5553f7b074370bce3b07950be66b6a1aacd90bc9.tar.gz
19.30_838629-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 23 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6db5b7f7ecf..1072eb61fcb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,21 @@
# Maintainer: Andrew Shark <ashark @at@ linuxcomp.ru>
# Autogenerated from AMD's Packages file
-major=19.20
-minor=812932
+major=19.30
+minor=838629
pkgbase=amdgpu-pro-installer
pkgname=(
amdgpu-core-meta
amdgpu-pro-core-meta
amf-amdgpu-pro
+hip-amdgpu-pro
libdrm-amdgpu
lib32-libdrm-amdgpu
amdgpu-pro-libgl
lib32-amdgpu-pro-libgl
opencl-amdgpu-pro-comgr
opencl-amdgpu-pro-dev
-opencl-amdgpu-pro-hip
opencl-amdgpu-pro-pal
opencl-amdgpu-pro-orca
lib32-opencl-amdgpu-pro-orca
@@ -36,8 +36,12 @@ makedepends=('wget')
DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-20-unified -N %u'
-source=(https://drivers.amd.com/drivers/linux/amdgpu-pro-${major}-${minor}-ubuntu-18.04.tar.xz)
-sha256sums=(c5376760ce15454c5ef5cef86571f3806114403d91b8a210629d2e927c98d852)
+source=(https://drivers.amd.com/drivers/linux/amdgpu-pro-${major}-${minor}-ubuntu-18.04.tar.xz
+ 0001-disable-firmware-copy.patch
+ 0003-add-archlinux-as-build-option.patch)
+sha256sums=(e2eb0a34745ecb9e244f81e0f3af8e4ab063d699dbc3e1a1e0867e8ce773d473
+ 85359c89d7f1317cf5176bc9c489314aba2db20d962b120a43fc532575466345
+ 2bf8eac2afac3bce0d17f840c15009838b578a72412ff66df6e8caa6c00fade7)
PKGEXT=".pkg.tar"
@@ -105,15 +109,24 @@ package_amf-amdgpu-pro () {
move_copyright
}
+package_hip-amdgpu-pro () {
+ pkgdesc="HIP-CLANG runtime. HIP-CLANG allows developers to convert CUDA code to common C++"
+ license=('custom: AMDGPU-PRO EULA')
+ depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "glibc")
+
+ extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/hip-amdgpu-pro_${major}-${minor}_amd64.deb
+ move_copyright
+}
+
package_libdrm-amdgpu () {
pkgdesc="Userspace interface to amdgpu-specific kernel DRM services -- runtime"
license=('MIT')
provides=('libdrm')
depends=("amdgpu-core-meta=${major}_${minor}-${pkgrel}" "glibc")
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm-amdgpu-amdgpu1_2.4.97-${minor}_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm-amdgpu-amdgpu1_2.4.98-${minor}_amd64.deb
extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm-amdgpu-common_1.0.0-${minor}_all.deb
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm2-amdgpu_2.4.97-${minor}_amd64.deb
+ extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm2-amdgpu_2.4.98-${minor}_amd64.deb
move_copyright
# extra_commands:
@@ -127,8 +140,8 @@ package_lib32-libdrm-amdgpu () {
provides=('lib32-libdrm')
depends=("amdgpu-core-meta=${major}_${minor}-${pkgrel}" "lib32-glibc" "libdrm-amdgpu=${major}_${minor}-${pkgrel}")
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm-amdgpu-amdgpu1_2.4.97-${minor}_i386.deb
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm2-amdgpu_2.4.97-${minor}_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm-amdgpu-amdgpu1_2.4.98-${minor}_i386.deb
+ extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/libdrm2-amdgpu_2.4.98-${minor}_i386.deb
move_copyright
# extra_commands:
@@ -196,20 +209,11 @@ package_opencl-amdgpu-pro-dev () {
move_copyright
}
-package_opencl-amdgpu-pro-hip () {
- pkgdesc="HIP-CLANG allows developers to convert CUDA code to common C++"
- license=('custom: AMDGPU-PRO EULA')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "glibc")
-
- extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/opencl-amdgpu-pro-hip_${major}-${minor}_amd64.deb
- move_copyright
-}
-
package_opencl-amdgpu-pro-pal () {
pkgdesc="AMDGPU Pro OpenCL driver PAL"
license=('custom: AMDGPU-PRO EULA')
provides=('opencl-driver')
- depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "glibc" "libdrm-amdgpu=${major}_${minor}-${pkgrel}")
+ depends=("amdgpu-pro-core-meta=${major}_${minor}-${pkgrel}" "glibc" "libdrm-amdgpu=${major}_${minor}-${pkgrel}" "opencl-amdgpu-pro-comgr=${major}_${minor}-${pkgrel}")
backup=(etc/OpenCL/vendors/amdocl64.icd)
extract_deb "${srcdir}"/amdgpu-pro-${major}-${minor}-ubuntu-18.04/opencl-amdgpu-pro-icd_${major}-${minor}_amd64.deb