Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

add llvm bolt usage for compiling

Peter Jung3ccfcf43a8ce
diff --git a/build-llvm.sh b/build-llvm.sh
index ecbe911b..60ee6936 100755
--- a/build-llvm.sh
+++ b/build-llvm.sh
@@ -10,7 +10,7 @@ for f in $files
do
d=$(dirname $f)
cd $d
- docker run --name kernelbuild -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -v $PWD:/pkg -v /home/ptr1337/kernelbuild/ccache-kernel-v3:/home/notroot/.buildcache pttrr/docker-makepkg-v3
+ docker run --name kernelbuild -e LLVM_BOLT=1 -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -v $PWD:/pkg -v /home/ptr1337/kernelbuild/ccache-kernel-v3:/home/notroot/.buildcache pttrr/docker-makepkg-v3
docker rm kernelbuild
cd ..
done
@@ -23,7 +23,7 @@ for f in $files
do
d=$(dirname $f)
cd $d
- docker run --name kernelbuild -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -v $PWD:/pkg -v /home/ptr1337/kernelbuild/ccache-kernel:/home/notroot/.buildcache pttrr/docker-makepkg
+ docker run --name kernelbuild -e LLVM_BOLT=1 -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -v $PWD:/pkg -v /home/ptr1337/kernelbuild/ccache-kernel:/home/notroot/.buildcache pttrr/docker-makepkg
docker rm kernelbuild
cd ..
done
@@ -32,4 +32,4 @@ mv */*-x86_64.pkg.tar.zst* /home/ptr1337/.docker/build/nginx/www/repo/x86_64/cac
repoctl update -P cachyos
mv */*-x86_64_v3.pkg.tar.zst* /home/ptr1337/.docker/build/nginx/www/repo/x86_64_v3/cachyos-v3/
-repoctl update -P cachyos-v3
\ No newline at end of file
+repoctl update -P cachyos-v3
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 82e9cd07..8b954122 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -101,7 +101,7 @@ _nf_cone=y
# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".
# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
-_use_llvm_lto=
+_use_llvm_lto=full
# Build the zfs module builtin in to the kernel
_build_zfs=