diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD index 2103fb1bf..a4d38cbd8 100644 --- a/linux-cachyos-bmq/PKGBUILD +++ b/linux-cachyos-bmq/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=none}" @@ -125,7 +126,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -298,6 +299,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD index 062641257..aee2064a8 100644 --- a/linux-cachyos-bore/PKGBUILD +++ b/linux-cachyos-bore/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=none}" @@ -125,7 +126,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -298,6 +299,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILD index 2450e2f41..cc3ebbfab 100644 --- a/linux-cachyos-deckify/PKGBUILD +++ b/linux-cachyos-deckify/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=none}" @@ -124,7 +125,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -299,6 +300,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD index c30635dad..5b0e232a3 100644 --- a/linux-cachyos-eevdf/PKGBUILD +++ b/linux-cachyos-eevdf/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=none}" @@ -125,7 +126,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -298,6 +299,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD index ba1b0a1ee..e772c004d 100644 --- a/linux-cachyos-rc/PKGBUILD +++ b/linux-cachyos-rc/PKGBUILD @@ -85,8 +85,9 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO -: "${_use_llvm_lto:=thin}" +: "${_use_llvm_lto:=thin-dist}" # Use suffix -lto only when requested by the user # yes - enable -lto suffix @@ -150,7 +151,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -337,6 +338,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILD index 54159a2dd..72797caac 100644 --- a/linux-cachyos-rt-bore/PKGBUILD +++ b/linux-cachyos-rt-bore/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=none}" @@ -125,7 +126,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -298,6 +299,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD index a65cf1152..1fb9eb7ad 100644 --- a/linux-cachyos-server/PKGBUILD +++ b/linux-cachyos-server/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=none}" @@ -125,7 +126,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -298,6 +299,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";; diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD index bd093c5bf..60403e009 100644 --- a/linux-cachyos/PKGBUILD +++ b/linux-cachyos/PKGBUILD @@ -85,6 +85,7 @@ # ATTENTION - one of three predefined values should be selected! # "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." +# "thin-dist: Similar to thin, but uses a distributed model rather than in-process: https://discourse.llvm.org/t/rfc-distributed-thinlto-build-for-kernel/85934" # "none: disable LTO : "${_use_llvm_lto:=thin}" @@ -150,7 +151,7 @@ # ATTENTION: Do not modify after this line _is_lto_kernel() { - [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] + [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" || "$_use_llvm_lto" = "thin-dist" ]] return $? } @@ -338,6 +339,7 @@ prepare() { ### Select LLVM level case "$_use_llvm_lto" in thin) scripts/config -e LTO_CLANG_THIN;; + thin-dist) scripts/config -e LTO_CLANG_THIN_DIST;; full) scripts/config -e LTO_CLANG_FULL;; none) scripts/config -e LTO_NONE;; *) _die "The value '$_use_llvm_lto' is invalid. Choose the correct one again.";;