diff options
author | Joan Figueras | 2021-01-30 19:57:15 +0100 |
---|---|---|
committer | Joan Figueras | 2021-01-30 19:57:15 +0100 |
commit | ac62f8ccfbda57d859f2fd216f0597a5a5d24d60 (patch) | |
tree | c6ae37712ef263e61ead54379a542a8884b53ec4 | |
parent | a15182ef7e593667caf4e2fca0ea02c702e5f1c4 (diff) | |
download | aur-ac62f8ccfbda57d859f2fd216f0597a5a5d24d60.tar.gz |
Added Cooper Lake and Tiger Lake. Native become 99
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rwxr-xr-x | choose-gcc-optimization.sh | 8 |
3 files changed, 11 insertions, 7 deletions
@@ -22,7 +22,7 @@ pkgbase = linux-xanmod-cacule sha256sums = dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43 sha256sums = SKIP sha256sums = 1ed722b6d1e18f82dd6d64a4598ac6b6a1c5bd165bdc098fbb886241b0cd7fc1 - sha256sums = 2c7369218e81dee86f8ac15bda741b9bb34fa9cefcb087760242277a8207d511 + sha256sums = 03bb8b234a67b877a34a8212936ba69d8700c54c7877686cbd9742a536c87134 sha256sums = 6c66dba73251440352f93ff32b72f5dd49536d0f17ef9347867660fd3a626991 pkgname = linux-xanmod-cacule @@ -8,12 +8,12 @@ ## ## The following variables can be customized at build time. Use env or export to change at your wish ## -## Example: env _microarchitecture=25 use_numa=n use_tracers=n use_pds=n makepkg -sc +## Example: env _microarchitecture=99 use_numa=n use_tracers=n use_pds=n makepkg -sc ## ## Look inside 'choose-gcc-optimization.sh' to choose your microarchitecture -## Valid numbers between: 0 to 42 +## Valid numbers between: 0 to 99 ## Default is: 0 => generic -## Good option if your package is for one machine: 42 => native +## Good option if your package is for one machine: 99 => native if [ -z ${_microarchitecture+x} ]; then _microarchitecture=0 fi @@ -93,7 +93,7 @@ done sha256sums=('dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43' 'SKIP' '1ed722b6d1e18f82dd6d64a4598ac6b6a1c5bd165bdc098fbb886241b0cd7fc1' - '2c7369218e81dee86f8ac15bda741b9bb34fa9cefcb087760242277a8207d511' + '03bb8b234a67b877a34a8212936ba69d8700c54c7877686cbd9742a536c87134' '6c66dba73251440352f93ff32b72f5dd49536d0f17ef9347867660fd3a626991') export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux} diff --git a/choose-gcc-optimization.sh b/choose-gcc-optimization.sh index ccf182e91190..1a537df29334 100755 --- a/choose-gcc-optimization.sh +++ b/choose-gcc-optimization.sh @@ -52,8 +52,10 @@ cat << EOF 39) Intel 8th Gen Core i3/i5/i7-family (Cannon Lake) 40) Intel 8th Gen Core i7/i9-family (Ice Lake) 41) Xeon processors in the Cascade Lake family + 42) Intel Xeon (Cooper Lake) + 43) Intel 3rd Gen 10nm++ i3/i5/i7/i9-family (Tiger Lake) - 42) Native optimizations autodetected by GCC + 99) Native optimizations autodetected by GCC 0) Generic (default) @@ -104,7 +106,9 @@ case $answer in 39) Microarchitecture=CONFIG_MCANNONLAKE ;; 40) Microarchitecture=CONFIG_MICELAKE ;; 41) Microarchitecture=CONFIG_MCASCADELAKE ;; - 42) Microarchitecture=CONFIG_MNATIVE ;; + 42) Microarchitecture=CONFIG_MCOOPERLAKE ;; + 43) Microarchitecture=CONFIG_MTIGERLAKE ;; + 99) Microarchitecture=CONFIG_MNATIVE ;; *) default=CONFIG_GENERIC_CPU ;; esac |