-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 4be1521.
- Loading branch information
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env bash | ||
|
||
BASE_DIR="$PWD" | ||
cd kernel | ||
KERNEL_DIR="$PWD" | ||
AK3_DIR=$BASE_DIR/AnyKernel3 | ||
|
||
[[ ! -d "$AK3_DIR" ]] && echo -e "(X) Please Provide AnyKernel3 !" && exit | ||
export PATH="$BASE_DIR/clang/bin:$PATH" && | ||
export PATH="../clang/bin:$PATH" | ||
TC="Zyc Clang" | ||
TARGET=alioth | ||
CODENAME=POCO-F3 | ||
KERNEL_NAME=ALIOTH | ||
|
||
K_IMG=$KERNEL_DIR/out/arch/arm64/boot/Image | ||
K_DTBO=$KERNEL_DIR/out/arch/arm64/boot/dtbo.img | ||
K_DTB=$KERNEL_DIR/out/arch/arm64/boot/dtb | ||
|
||
export ARCH=arm64 | ||
export SUBARCH=arm64 | ||
export KBUILD_BUILD_USER=y82t2z | ||
export KBUILD_BUILD_HOST=Neko-CI | ||
export TZ=Asia/Bangkok | ||
|
||
send_msg(){ | ||
curl -s -X POST \ | ||
https://api.telegram.org/bot"$TOKEN"/sendMessage \ | ||
-d chat_id="$CHATID" \ | ||
-d text="$1" \ | ||
-d "parse_mode=html" \ | ||
-d "disable_web_page_preview=true" | ||
} | ||
|
||
send_file(){ | ||
curl -s -X POST \ | ||
https://api.telegram.org/bot"$TOKEN"/sendDocument \ | ||
-F chat_id="$CHATID" \ | ||
-F document=@"$1" \ | ||
-F caption="$2" \ | ||
-F "parse_mode=html" \ | ||
-F "disable_web_page_preview=true" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
mkdir clang | ||
cd clang | ||
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S | ||
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") --patch=glibc | ||
wget -nv -i <(wget -qO- https://raw.githubusercontent.com/ZyCromerZ/Clang/refs/heads/main/Clang-main-link.txt) -O clang.tar.gz | ||
tar -xvf clang.tar.gz | ||
echo "Downloaded Clang Successful" | ||
cd ../ |