kernel_build: build-ksu.sh: Switch up to a newer clang

This commit is contained in:
Kreciorek 2024-11-30 03:37:29 +01:00
parent edca2fccff
commit 6d7b7439fd
2 changed files with 10 additions and 10 deletions

View file

@ -56,18 +56,18 @@ kfinish
DIR="$(readlink -f .)" DIR="$(readlink -f .)"
PARENT_DIR="$(readlink -f ${DIR}/..)" PARENT_DIR="$(readlink -f ${DIR}/..)"
export CROSS_COMPILE="$PARENT_DIR/clang-r416183b/bin/aarch64-linux-gnu-" export CROSS_COMPILE="$PARENT_DIR/clang-r475365b/bin/aarch64-linux-gnu-"
export CC="$PARENT_DIR/clang-r416183b/bin/clang" export CC="$PARENT_DIR/clang-r475365b/bin/clang"
export PLATFORM_VERSION=12 export PLATFORM_VERSION=12
export ANDROID_MAJOR_VERSION=s export ANDROID_MAJOR_VERSION=s
export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r416183b/bin:$PATH" export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r475365b/bin:$PATH"
export TARGET_SOC=s5e8825 export TARGET_SOC=s5e8825
export LLVM=1 LLVM_IAS=1 export LLVM=1 LLVM_IAS=1
export ARCH=arm64 export ARCH=arm64
if [ ! -d "$PARENT_DIR/clang-r416183b" ]; then if [ ! -d "$PARENT_DIR/clang-r475365b" ]; then
git clone https://github.com/crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-r416183b "$PARENT_DIR/clang-r416183b" --depth=1 git clone -j$(nproc --all) https://github.com/Ksawlii-Android-Repos/android_prebuilts_clang_host_linux-x86_clang-r475365b.git "$PARENT_DIR/clang-r475365b" --depth=1
fi fi
if [ ! -d "$PARENT_DIR/build-tools" ]; then if [ ! -d "$PARENT_DIR/build-tools" ]; then

View file

@ -56,18 +56,18 @@ kfinish
DIR="$(readlink -f .)" DIR="$(readlink -f .)"
PARENT_DIR="$(readlink -f ${DIR}/..)" PARENT_DIR="$(readlink -f ${DIR}/..)"
export CROSS_COMPILE="$PARENT_DIR/clang-r416183b/bin/aarch64-linux-gnu-" export CROSS_COMPILE="$PARENT_DIR/clang-r475365b/bin/aarch64-linux-gnu-"
export CC="$PARENT_DIR/clang-r416183b/bin/clang" export CC="$PARENT_DIR/clang-r475365b/bin/clang"
export PLATFORM_VERSION=12 export PLATFORM_VERSION=12
export ANDROID_MAJOR_VERSION=s export ANDROID_MAJOR_VERSION=s
export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r416183b/bin:$PATH" export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r475365b/bin:$PATH"
export TARGET_SOC=s5e8825 export TARGET_SOC=s5e8825
export LLVM=1 LLVM_IAS=1 export LLVM=1 LLVM_IAS=1
export ARCH=arm64 export ARCH=arm64
if [ ! -d "$PARENT_DIR/clang-r416183b" ]; then if [ ! -d "$PARENT_DIR/clang-r475365b" ]; then
git clone https://github.com/crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-r416183b "$PARENT_DIR/clang-r416183b" --depth=1 git clone -j$(nproc --all) https://github.com/Ksawlii-Android-Repos/android_prebuilts_clang_host_linux-x86_clang-r475365b.git "$PARENT_DIR/clang-r475365b" --depth=1
fi fi
if [ ! -d "$PARENT_DIR/build-tools" ]; then if [ ! -d "$PARENT_DIR/build-tools" ]; then