Skip to content

Commit

Permalink
Revert "update"
Browse files Browse the repository at this point in the history
This reverts commit 4be1521.
  • Loading branch information
y82t2z committed Dec 9, 2024
1 parent 4be1521 commit 912504e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
43 changes: 43 additions & 0 deletions compile.sh
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"
}
4 changes: 2 additions & 2 deletions download-clang.sh
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 ../

0 comments on commit 912504e

Please sign in to comment.