From 444617732784e1bf1295622908586d3590c44693 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Fri, 1 Mar 2024 22:17:49 +0100 Subject: [PATCH] script: Switch from ThinLTO to FullLTO due dkms issue Signed-off-by: Peter Jung --- script-v3-v4.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script-v3-v4.sh b/script-v3-v4.sh index 7d7eff213..a82a06a5e 100755 --- a/script-v3-v4.sh +++ b/script-v3-v4.sh @@ -25,7 +25,7 @@ mv */*-x86_64_v3.pkg.tar.zst* /home/ptr1337/.docker/build/nginx/www/repo/x86_64_ repoctl update -P cachyos-v3 ## LLVM ThinLTO v3 Kernel -find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-none/_use_llvm_lto-thin/" {} +find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-none/_use_llvm_lto-fulll/" {} files=$(find . -name "PKGBUILD") @@ -43,7 +43,7 @@ mv */*-x86_64_v3.pkg.tar.zst* /home/ptr1337/.docker/build/nginx/www/repo/x86_64_ repoctl update -P cachyos-v3 ## GCC v4 Kernel -find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-thin/_use_llvm_lto-none/" {} +find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-full/_use_llvm_lto-none/" {} find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_CPU4=y/' {} files=$(find . -name "PKGBUILD") @@ -62,7 +62,7 @@ mv */*-x86_64_v4.pkg.tar.zst* /home/ptr1337/.docker/build/nginx/www/repo/x86_64_ repoctl update -P cachyos-v4 ## LLVM ThinLTO v4 Kernel -find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-none/_use_llvm_lto-thin/" {} +find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-none/_use_llvm_lto-full/" {} files=$(find . -name "PKGBUILD")