Skip to content

Commit

Permalink
20.30 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashark committed Aug 18, 2021
1 parent 2759891 commit 9cb8812
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 29 deletions.
14 changes: 7 additions & 7 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pkgbase = amdgpu-pro-installer
pkgver = 21.20_1271047
pkgrel = 2
url = https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-20
pkgver = 21.30_1290604
pkgrel = 1
url = https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-30
arch = x86_64
groups = Radeon_Software_for_Linux
license = custom: multiple
makedepends = wget
source = https://drivers.amd.com/drivers/linux/amdgpu-pro-21.20-1271047-ubuntu-20.04.tar.xz
source = https://drivers.amd.com/drivers/linux/amdgpu-pro-21.30-1290604-ubuntu-20.04.tar.xz
source = progl
source = progl.bash-completion
sha256sums = 8ea051de8c9c6814eb45ce18d102e639bb6edb5786e948b50c5105e3e21978f9
sha256sums = 5840aac63a3658b3f790c59e57226062e7e4bc74f3c066a3e7bc9e3065e24382
sha256sums = feb74796c3152cbafaba89d96e68a152f209bd3058c7eb0413cbe1ab0764e96f
sha256sums = e32801c38b475cd8df17a407726b86db3de26410f563d688325b4d4314fc5354

Expand All @@ -18,7 +18,7 @@ pkgname = amf-amdgpu-pro
license = custom: AMDGPU-PRO EULA
depends = libglvnd
depends = libx11
depends = vulkan-amdgpu-pro=21.20_1271047-2
depends = vulkan-amdgpu-pro=21.30_1290604-1

pkgname = amdgpu-pro-libgl
pkgdesc = AMDGPU Pro OpenGL driver
Expand All @@ -36,7 +36,7 @@ pkgname = amdgpu-pro-libgl
pkgname = lib32-amdgpu-pro-libgl
pkgdesc = AMDGPU Pro OpenGL driver (32-bit)
license = custom: AMDGPU-PRO EULA
depends = amdgpu-pro-libgl=21.20_1271047-2
depends = amdgpu-pro-libgl=21.30_1290604-1
depends = lib32-libdrm
depends = lib32-libx11
depends = lib32-libxcb
Expand Down
12 changes: 6 additions & 6 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Autogenerated from AMD's Packages file
# with https://github.com/Ashark/archlinux-amdgpu-pro/blob/master/gen-PKGBUILD.py

major=21.20
minor=1271047
major=21.30
minor=1290604
ubuntu_ver=20.04

pkgbase=amdgpu-pro-installer
Expand All @@ -17,19 +17,19 @@ vulkan-amdgpu-pro
lib32-vulkan-amdgpu-pro
)
pkgver=${major}_${minor}
pkgrel=2
pkgrel=1
arch=('x86_64')
url=https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-20
url=https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-30
license=('custom: multiple')
groups=('Radeon_Software_for_Linux')
makedepends=('wget')

DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-20 -N %u'
DLAGENTS='https::/usr/bin/wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-30 -N %u'

source=(https://drivers.amd.com/drivers/linux/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}.tar.xz
progl
progl.bash-completion)
sha256sums=(8ea051de8c9c6814eb45ce18d102e639bb6edb5786e948b50c5105e3e21978f9
sha256sums=(5840aac63a3658b3f790c59e57226062e7e4bc74f3c066a3e7bc9e3065e24382
feb74796c3152cbafaba89d96e68a152f209bd3058c7eb0413cbe1ab0764e96f
e32801c38b475cd8df17a407726b86db3de26410f563d688325b4d4314fc5354)

Expand Down
4 changes: 2 additions & 2 deletions extract_transaction_scripts_and_triggers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ function extract_them() {
rename "21.1.0" "YY.Y.Y" install_scripts/*.txt # new mesa version
rename "20.3.4" "YY.Y.Y" install_scripts/*.txt # old mesa version

rename "5.9.20.104" "Y.Y.Y.YY" install_scripts/*.txt # old amdgpu-dkms version
rename "5.11.5.26" "Y.Y.Y.YY" install_scripts/*.txt # new amdgpu-dkms version
rename "5.11.19.98" "Y.Y.Y.YY" install_scripts/*.txt # new amdgpu-dkms version
rename "5.11.5.26" "Y.Y.Y.YY" install_scripts/*.txt # old amdgpu-dkms version

rename "rocm_13.0" "rocm_RR.R" install_scripts/*.txt # new libllvm-amdgpu-pro-rocm
rename "rocm_12.0" "rocm_RR.R" install_scripts/*.txt # old libllvm-amdgpu-pro-rocm
Expand Down
4 changes: 2 additions & 2 deletions gen-PKGBUILD.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
pkgver_base = versions.pkgver_base
pkgver_build = versions.pkgver_build
ubuntu_ver = versions.ubuntu_ver
pkgrel = 2
pkgrel = 1

debugging = False

debug_pkgext = True if debugging else False

url_ref = "https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-20"
url_ref = "https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-30"
dlagents = "https::/usr/bin/wget --referer {0} -N %u".format(url_ref)

source_url = "https://drivers.amd.com/drivers/linux/amdgpu-pro-${major}-${minor}-ubuntu-${ubuntu_ver}.tar.xz"
Expand Down
2 changes: 1 addition & 1 deletion packages_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated with ./gen_packages_map.sh > packages_map.py
# for driver version 21.20-1271047
# for driver version 21.30-1290604

packages_map = {
'amdgpu': None, #unneeded_open_component
Expand Down
10 changes: 5 additions & 5 deletions replace_deps.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Generated with ./gen_replace_deps.sh > replace_deps.py
# for driver version 21.20-1271047
# for driver version 21.30-1290604

replace_deps = {
'amdgpu': 'amdgpu', #auto_translated
'amdgpu': 'amdgpu', #could_not_auto_translate
'amdgpu-lib': 'amdgpu-lib', #could_not_auto_translate
'amdgpu-pro': 'amdgpu-pro', #auto_translated
'amdgpu-pro': 'amdgpu-pro', #could_not_auto_translate
'autoconf': 'autoconf', #auto_translated
'automake': 'automake', #auto_translated
'binfmt-support': 'coolreader', #auto_translated
Expand Down Expand Up @@ -73,7 +73,7 @@
'libxxf86vm-dev': 'libxxf86vm', #auto_translated
'linux-firmware': 'linux-firmware', #manually_mapped
'shim-signed': 'shim-signed', #auto_translated
'x11proto-dri2-dev': 'x11proto-dri2-dev', #could_not_auto_translate
'x11proto-gl-dev': 'x11proto-gl-dev', #could_not_auto_translate
'x11proto-dri2-dev': 'x11proto-dri2-dev', #auto_translated
'x11proto-gl-dev': 'x11proto-gl-dev', #auto_translated
'zlib1g': 'zlib', #auto_translated
}
1 change: 1 addition & 0 deletions unpack_all_deb_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ARCHIVE=amdgpu-pro-$pkgver_base-$pkgver_build-ubuntu-$ubuntu_ver.tar.xz
tar -xf $ARCHIVE
cd ${ARCHIVE%.tar.xz}

# Распараллелить распаковку?
tmpdir=unpacked_debs; rm -rf "$tmpdir"; mkdir "$tmpdir";
for file in $(ls *deb);
do
Expand Down
12 changes: 6 additions & 6 deletions versions
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# This file is interpreted by both python and bash
# Old version is specified for use in extract_transaction_scripts_and_triggers.sh

pkgver_base="21.20"
pkgver_build="1271047"
ubuntu_ver="20.04"

old_pkgver_base="21.10"
old_pkgver_build="1247438"
old_pkgver_base="21.20"
old_pkgver_build="1271047"
old_ubuntu_ver="20.04"

pkgver_base="21.30"
pkgver_build="1290604"
ubuntu_ver="20.04"

0 comments on commit 9cb8812

Please sign in to comment.