From eda278506d04ea6fbe5da0f77fe91f78381ccba9 Mon Sep 17 00:00:00 2001 From: Syuugo Date: Thu, 21 Sep 2023 15:15:07 +0900 Subject: [PATCH] simplify --- .github/workflows/build-kernel-wsa.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-kernel-wsa.yml b/.github/workflows/build-kernel-wsa.yml index 1eb6a1ad0aca..b204e6b0d6b3 100644 --- a/.github/workflows/build-kernel-wsa.yml +++ b/.github/workflows/build-kernel-wsa.yml @@ -33,17 +33,18 @@ jobs: sudo apt-get update sudo apt-get install -y --no-install-recommends bc bison build-essential ca-certificates flex git gnupg libelf-dev libssl-dev lsb-release software-properties-common wget libncurses-dev binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu nuget gzip export LLVM_VERSION=12 - wget https://apt.llvm.org/llvm.sh + wget -q https://apt.llvm.org/llvm.sh sudo bash ./llvm.sh $LLVM_VERSION - sudo ln -s --force /usr/bin/clang-$LLVM_VERSION /usr/bin/clang - sudo ln -s --force /usr/bin/ld.lld-$LLVM_VERSION /usr/bin/ld.lld - sudo ln -s --force /usr/bin/llvm-objdump-$LLVM_VERSION /usr/bin/llvm-objdump - sudo ln -s --force /usr/bin/llvm-ar-$LLVM_VERSION /usr/bin/llvm-ar - sudo ln -s --force /usr/bin/llvm-nm-$LLVM_VERSION /usr/bin/llvm-nm - sudo ln -s --force /usr/bin/llvm-strip-$LLVM_VERSION /usr/bin/llvm-strip - sudo ln -s --force /usr/bin/llvm-objcopy-$LLVM_VERSION /usr/bin/llvm-objcopy - sudo ln -s --force /usr/bin/llvm-readelf-$LLVM_VERSION /usr/bin/llvm-readelf - sudo ln -s --force /usr/bin/clang++-$LLVM_VERSION /usr/bin/clang++ + cd /usr/bin + sudo ln -sf clang-$LLVM_VERSION clang + sudo ln -sf ld.lld-$LLVM_VERSION ld.lld + sudo ln -sf llvm-objdump-$LLVM_VERSION llvm-objdump + sudo ln -sf llvm-ar-$LLVM_VERSION llvm-ar + sudo ln -sf llvm-nm-$LLVM_VERSION llvm-nm + sudo ln -sf llvm-strip-$LLVM_VERSION llvm-strip + sudo ln -sf llvm-objcopy-$LLVM_VERSION llvm-objcopy + sudo ln -sf llvm-readelf-$LLVM_VERSION llvm-readelf + sudo ln -sf clang++-$LLVM_VERSION clang++ - name: Checkout KernelSU uses: actions/checkout@v4