Only problem is if I update the patch, your checksums will be wrong since I do not iterate the file name. This is why you should download the tagged version.
--- a/PKGBUILD 2021-07-22 07:59:31.000000000 -0400
+++ b/PKGBUILD 2021-07-22 08:04:48.755848604 -0400
@@ -2,6 +2,7 @@
pkgbase=linux-amd
_srcname=linux
+_gcc_more_v=20210610
gitver=v5.13.4
pkgver=5.13.v.4
pkgrel=1
@@ -18,19 +19,14 @@ source=("git+https://git.kernel.org/pub/
"${pkgbase}.preset"
# linux package install directives for pacman
'linux.install'
- # patch from our graysky archlinux colleague
- 'https://raw.githubusercontent.com/graysky2/kernel_compiler_patch/master/more-uarches-for-kernel-5.8+.patch'
+ # patch from our graysky archlinux colleague
+ "more-uarches-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_compiler_patch/archive/$_gcc_more_v.tar.gz"
)
sha256sums=('SKIP'
- #config.x86_64
'ee078906b01680f16eaa14ada5ccf57af7c0012665f273de4be985dc5452db98'
- #.preset file
'60c6ba602443e94a9eba3aeee9d194027d69bffaa428c6d055348ebf03681b5c'
- #linux install file
'd590e751ab4cf424b78fd0d57e53d187f07401a68c8b468d17a5f39a337dacf0'
- #grayskypatch
- 'fa6cee9527d8e963d3398085d1862edc509a52e4540baec463edb8a9dd95bee0'
-)
+ '49750c51711e011786888a501fb8deef26da8bcabfa71e9ad3e85ed01e2f60ef')
_kernelname=${pkgbase#linux}
@@ -51,6 +47,7 @@ prepare() {
sed -i '2iexit 0' scripts/depmod.sh
# Implement all packaged patches.
+ ln -s $srcdir/kernel_compiler_patch-$_gcc_more_v/more-uarches-for-kernel-5.8+.patch ../more-uarches-for-kernel-5.8+.patch
msg2 "Implementing custom kernel patches"
while read patch; do
echo "Applying $patch"
Pinned Comments
<deleted-account> commented on 2023-05-04 16:38 (UTC)
GCC13.1 is mainlined in arch, so this means znver4 support can kick off on this kernel. The graysky compile patches have been updated too.
This kernel now natively supports the znver4 arch, but this kernel will most likely keep working on all AMD ryzen hardware. It's better to be able to address certain small perks or issues per architecture now and in the future.
<deleted-account> commented on 2020-10-26 18:15 (UTC)
GCC11.1 is mainlined in arch, so this means znver3 support can kick off on this kernel. The graysky compile patches have been updated too.
This kernel now natively supports the znver3 arch, but this kernel will most likely keep working on all AMD ryzen hardware. It's better to be able to address certain small perks or issues per architecture now and in the future.
<deleted-account> commented on 2019-11-10 15:23 (UTC)
Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :