summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. Jung2021-09-03 09:51:06 +0000
committerP. Jung2021-09-03 09:51:06 +0000
commit1c1cced567fb725bd064cda8cfddf9234a534a1d (patch)
tree84c12d8aaebd446042f4797b808d9deca009f202
parent12edcb337bfdf9594c7707a3543b8976c4e7aff4 (diff)
downloadaur-1c1cced567fb725bd064cda8cfddf9234a534a1d.tar.gz
5.14.1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD16
-rwxr-xr-xauto-cpu-optimization.sh50
3 files changed, 40 insertions, 46 deletions
diff --git a/.SRCINFO b/.SRCINFO
index be685f75d85d..0274e414abdd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule-rdb
pkgdesc = Linux-CacULE-RDB Kernel by Hamad Marri and with some other patchsets compiled
- 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
@@ -22,10 +22,10 @@ pkgbase = linux-cacule-rdb
makedepends = llvm-libs
makedepends = lld
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
+ source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/CacULE/v5.14/cacule-5.14-full.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0004-folio-mm.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0009-compiler-remove-stale-cc-option-checks.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0007-string.patch
@@ -44,16 +44,16 @@ pkgbase = linux-cacule-rdb
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 = 3a623863ef1d4a63d8f172c738dc1236
md5sums = b961add2e3ea53ade755148169c00e6e
- md5sums = d92c43182698243cd13d32376cec0f23
+ md5sums = 024a0126cfcd18e000a2241f35c4d69e
md5sums = a804260e2f301ffe2a17d6e3625a9711
md5sums = 50868332310ae198428861fb7e743d5e
md5sums = d6e5581b4fade267a28deb8e73d236f5
@@ -72,12 +72,12 @@ pkgbase = linux-cacule-rdb
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-rdb
pkgdesc = The Linux-CacULE-RDB Kernel by Hamad Marri and with some other patchsets compiled and modules
@@ -91,5 +91,5 @@ pkgname = linux-cacule-rdb
pkgname = linux-cacule-rdb-headers
pkgdesc = Headers and scripts for building modules for the Linux-CacULE-RDB Kernel by Hamad Marri and with some other patchsets compiled
- depends = linux-cacule-rdb=5.14
+ depends = linux-cacule-rdb=5.14.1
depends = pahole
diff --git a/PKGBUILD b/PKGBUILD
index adbccf5b7590..2ce9fa967a81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -74,8 +74,8 @@ _use_current=
pkgbase=linux-cacule-rdb
pkgname=('linux-cacule-rdb' 'linux-cacule-rdb-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-RDB Kernel by Hamad Marri and with some other patchsets compiled'
_gittag=v${pkgver%.*}-${pkgver##*.}
@@ -90,7 +90,7 @@ _patchsource="https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/
source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz"
"config"
"${_patchsource}/arch-patches/0001-arch-patches.patch"
- "${_caculepatches}/v5.14/cacule-5.14.patch"
+ "${_caculepatches}/v5.14/cacule-5.14-full.patch"
"${_patchsource}/misc/0004-folio-mm.patch"
"${_patchsource}/misc/0009-compiler-remove-stale-cc-option-checks.patch"
"${_patchsource}/misc/0007-string.patch"
@@ -110,7 +110,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"
@@ -511,10 +511,10 @@ package_linux-cacule-rdb-headers() {
}
-md5sums=('a082ef5748b813abca0649dab8be5f52'
+md5sums=('be936a500fab39069e50b0bcfcc0c369'
'3a623863ef1d4a63d8f172c738dc1236'
'b961add2e3ea53ade755148169c00e6e'
- 'd92c43182698243cd13d32376cec0f23'
+ '024a0126cfcd18e000a2241f35c4d69e'
'a804260e2f301ffe2a17d6e3625a9711'
'50868332310ae198428861fb7e743d5e'
'd6e5581b4fade267a28deb8e73d236f5'
@@ -533,9 +533,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