diff options
author | P. Jung | 2021-09-03 09:50:16 +0000 |
---|---|---|
committer | P. Jung | 2021-09-03 09:50:16 +0000 |
commit | f63e420acb07fb8d71950f61e9963ba2c69db9fb (patch) | |
tree | 9e53177209d0855a19f44a718ce7162cbcf7e617 | |
parent | 58b8dac576236330d977dfc821b872ea89c3af24 (diff) | |
download | aur-f63e420acb07fb8d71950f61e9963ba2c69db9fb.tar.gz |
5.14.1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rwxr-xr-x | auto-cpu-optimization.sh | 50 |
3 files changed, 38 insertions, 44 deletions
@@ -1,7 +1,7 @@ pkgbase = linux-cacule pkgdesc = Linux-CacULE Kernel by Hamad Marri and with some other patchsets - pkgver = 5.14 - pkgrel = 4 + pkgver = 5.14.1 + pkgrel = 1 url = https://github.com/hamadmarri/cacule-cpu-scheduler arch = x86_64 arch = x86_64_v3 @@ -19,7 +19,7 @@ pkgbase = linux-cacule makedepends = tar makedepends = xz options = !strip - source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.tar.xz + source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.1.tar.xz source = config source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/arch-patches/0001-arch-patches.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/CacULE/v5.14/cacule-5.14.patch @@ -41,16 +41,16 @@ pkgbase = linux-cacule source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zen-patches/0001-zen-patches.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zstd-patches/0001-zstd-patches.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zstd-upstream-patches/0001-zstd-upstream-patches.patch - source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/ntfs3-patches-v3/0001-ntfs3-patches.patch + source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/ntfs3-patches-v4/0001-ntfs3-patches.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-cpu-patches.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-winesync.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-v4l2loopback.patch source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-ksm.patch source = auto-cpu-optimization.sh - md5sums = a082ef5748b813abca0649dab8be5f52 + md5sums = be936a500fab39069e50b0bcfcc0c369 md5sums = d55c09255b6ffb64babe3757e8723168 md5sums = b961add2e3ea53ade755148169c00e6e - md5sums = d92c43182698243cd13d32376cec0f23 + md5sums = 40a9380b2884f5d417791f06389ba57e md5sums = a804260e2f301ffe2a17d6e3625a9711 md5sums = 50868332310ae198428861fb7e743d5e md5sums = d6e5581b4fade267a28deb8e73d236f5 @@ -69,12 +69,12 @@ pkgbase = linux-cacule md5sums = 381bc4f0ff885e9b67e5899476a30416 md5sums = fe00e09708cbbeb15e348e36ab881696 md5sums = 0553f660f2399549ed17b6d2ca4e930e - md5sums = 99ab82a0ffab06f8fe0a2674da1b3ffe + md5sums = bb5234c6cd12276dbc4d231cc038f8f7 md5sums = bb22330e270bf36ccf53cb04d6b496d2 md5sums = 4c493a3e0f3486be8ad1b6c67c9c6917 md5sums = 95eb4457f95f3f8dd153983612ee65c0 md5sums = 566435a0444ee45816599f2e0e362c7a - md5sums = 7cf0b5c39d16da18451d1e7e7523d992 + md5sums = 6bfbbe0bbb79379203889ed7df5e5288 pkgname = linux-cacule pkgdesc = The Linux-CacULE Kernel by Hamad Marri and with some other patchsets and modules @@ -89,5 +89,5 @@ pkgname = linux-cacule pkgname = linux-cacule-headers pkgdesc = Headers and scripts for building modules for the Linux-CacULE Kernel by Hamad Marri and with some other patchsets - depends = linux-cacule=5.14 + depends = linux-cacule=5.14.1 depends = pahole @@ -73,8 +73,8 @@ _use_current= pkgbase=linux-cacule pkgname=('linux-cacule' 'linux-cacule-headers') pkgname=("${pkgbase}" "${pkgbase}-headers") -pkgver=5.14 -pkgrel=4 +pkgver=5.14.1 +pkgrel=1 arch=(x86_64 x86_64_v3) pkgdesc='Linux-CacULE Kernel by Hamad Marri and with some other patchsets' _gittag=v${pkgver%.*}-${pkgver##*.} @@ -109,7 +109,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver "${_patchsource}/zen-patches/0001-zen-patches.patch" "${_patchsource}/zstd-patches/0001-zstd-patches.patch" "${_patchsource}/zstd-upstream-patches/0001-zstd-upstream-patches.patch" - "${_patchsource}/ntfs3-patches-v3/0001-ntfs3-patches.patch" + "${_patchsource}/ntfs3-patches-v4/0001-ntfs3-patches.patch" "${_patchsource}/0001-cpu-patches.patch" "${_patchsource}/0001-winesync.patch" "${_patchsource}/0001-v4l2loopback.patch" @@ -510,10 +510,10 @@ package_linux-cacule-headers() { } -md5sums=('a082ef5748b813abca0649dab8be5f52' +md5sums=('be936a500fab39069e50b0bcfcc0c369' 'd55c09255b6ffb64babe3757e8723168' 'b961add2e3ea53ade755148169c00e6e' - 'd92c43182698243cd13d32376cec0f23' + '40a9380b2884f5d417791f06389ba57e' 'a804260e2f301ffe2a17d6e3625a9711' '50868332310ae198428861fb7e743d5e' 'd6e5581b4fade267a28deb8e73d236f5' @@ -532,9 +532,9 @@ md5sums=('a082ef5748b813abca0649dab8be5f52' '381bc4f0ff885e9b67e5899476a30416' 'fe00e09708cbbeb15e348e36ab881696' '0553f660f2399549ed17b6d2ca4e930e' - '99ab82a0ffab06f8fe0a2674da1b3ffe' + 'bb5234c6cd12276dbc4d231cc038f8f7' 'bb22330e270bf36ccf53cb04d6b496d2' '4c493a3e0f3486be8ad1b6c67c9c6917' '95eb4457f95f3f8dd153983612ee65c0' '566435a0444ee45816599f2e0e362c7a' - '7cf0b5c39d16da18451d1e7e7523d992') + '6bfbbe0bbb79379203889ed7df5e5288') diff --git a/auto-cpu-optimization.sh b/auto-cpu-optimization.sh index 444eac6980a0..f40b21ffd351 100755 --- a/auto-cpu-optimization.sh +++ b/auto-cpu-optimization.sh @@ -1,38 +1,32 @@ #!/bin/bash ####################################### -# Creator : BL4CKH47H4CK3R # -# https://github.com/BL4CKH47H4CK3R # +# AUTO-CPU-OPTIMIZATION # +####################################### +# CREATOR : BL4CKH47H4CK3R # +####################################### +# HTTPS://GITHUB.COM/BL4CKH47H4CK3R # ####################################### -echo -e "-------------------------" -echo -e "| Auto-CPU-Optimization |" -echo -e "-------------------------" -echo -e "[1] Enable CPU Optimization" -echo -e "[2] Disable CPU Optimization" - -read -p "[*] Enter Choice [1, 2]: " INPUT +CPU=`gcc -Q -march=native --help=target | grep march | awk '{print $2}' | head -1` +MARCH=`echo ${CPU} | tr '[:lower:]' '[:upper:]'`&& echo -if [[ ${INPUT} == 1 ]] +if [[ ${MARCH} == "ZNVER" ]] then - CPU=`gcc -Q -march=native --help=target | grep march | awk '{print $2}' | head -1` - MARCH=`echo "${CPU}" | tr '[:lower:]' '[:upper:]'` - - if [[ ${MARCH} == "ZNVER" ]] - then - MARCH="ZEN" + MARCH="ZEN" - elif [[ ${MARCH} == "ZNVER2" ]] - then - MARCH="ZEN2" - - elif [[ ${MARCH} == "ZNVER3" ]] - then - MARCH="ZEN3" - fi +elif [[ ${MARCH} == "ZNVER2" ]] +then + MARCH="ZEN2" - echo -e "[*] Detected CPU : `echo ${MARCH}`" - echo -e "[*] Setting Detected CPU Microarchitecture ..." - sed -i '/CONFIG_GENERIC_CPU=y/d' .config - sed -i "s/\# CONFIG_M${MARCH} is not set/CONFIG_M${MARCH}=y/g" .config +elif [[ ${MARCH} == "ZNVER3" ]] +then + MARCH="ZEN3" fi + +echo "----------------------------------" +echo "| APPLYING AUTO-CPU-OPTIMIZATION |" +echo "----------------------------------" +echo "[*] DETECTED CPU (MARCH) : ${MARCH}" +sed -i "/CONFIG_GENERIC_CPU=y/d;s/\# CONFIG_M${MARCH} is not set/CONFIG_M${MARCH}=y/g" *config* +sleep 3 && echo |