@@ -40,11 +40,19 @@ runs:
4040 export DEBIAN_FRONTEND=noninteractive
4141 echo "DEBIAN_FRONTEND=noninteractive" >> "$GITHUB_ENV"
4242 df -h
43- sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /opt/hostedtoolcache/CodeQL /usr/local/share/powershell /usr/share/swift || true
43+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup \
44+ /opt/hostedtoolcache/CodeQL /usr/local/share/powershell /usr/share/swift || true
4445 sudo docker image prune --all --force
4546 echo "Unused directories cleared"
4647 sudo apt-get purge -y \
47- aria2 ansible azure-cli shellcheck rpm xorriso zsync esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable google-cloud-sdk imagemagick libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional kubectl mercurial apt-transport-https mono-complete libmysqlclient unixodbc-dev yarn chrpath libssl-dev libxft-dev libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev snmp pollinate libpq-dev postgresql-client powershell ruby-full sphinxsearch subversion mongodb-org microsoft-edge-stable || true
48+ aria2 ansible azure-cli shellcheck rpm xorriso zsync esl-erlang \
49+ firefox gfortran-8 gfortran-9 google-chrome-stable google-cloud-sdk \
50+ imagemagick libmagickcore-dev libmagickwand-dev libmagic-dev ant \
51+ ant-optional kubectl mercurial apt-transport-https mono-complete \
52+ libmysqlclient unixodbc-dev yarn chrpath libssl-dev libxft-dev \
53+ libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev \
54+ snmp pollinate libpq-dev postgresql-client powershell ruby-full \
55+ sphinxsearch subversion mongodb-org microsoft-edge-stable || true
4856 sudo apt-get purge -y "$(dpkg-query -W -f='${binary:Package}\n' | grep -E '^mysql|^php|^dotnet' || true)" || true
4957 sudo apt-get autoremove -y
5058 sudo apt-get autoclean -y
6068 python3 git curl libelf-dev libelf1 lld \
6169 build-essential flex bison libssl-dev \
6270 libncurses-dev liblz4-tool zlib1g-dev \
63- libxml2-utils rsync unzip python3 python-is-python3
71+ libxml2-utils rsync unzip python-is-python3
6472
6573 - name : Install Repo Tool
6674 shell : bash
@@ -342,6 +350,7 @@ runs:
342350 sed -i 's/CONFIG_LTO=n/CONFIG_LTO=y/' "./common/arch/arm64/configs/gki_defconfig"
343351 sed -i 's/CONFIG_LTO_CLANG_FULL=y/CONFIG_LTO_CLANG_THIN=y/' "./common/arch/arm64/configs/gki_defconfig"
344352 sed -i 's/CONFIG_LTO_CLANG_NONE=y/CONFIG_LTO_CLANG_THIN=y/' "./common/arch/arm64/configs/gki_defconfig"
353+ echo "CONFIG_LTO_CLANG_THIN=y" >> "./common/arch/arm64/configs/gki_defconfig"
345354 echo "CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y" >> "./common/arch/arm64/configs/gki_defconfig"
346355 echo "CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=n" >> "./common/arch/arm64/configs/gki_defconfig"
347356
@@ -456,6 +465,7 @@ runs:
456465 USE_LLVM_IAS=true
457466 fi
458467 cd "$KERNEL_PATH/common" || exit 1
468+
459469 MAKE_ARGS="LLVM=1 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
460470 RUSTC=$KERNEL_PATH/prebuilts/rust/linux-x86/1.73.0b/bin/rustc \
461471 PAHOLE=$KERNEL_PATH/prebuilts/kernel-build-tools/linux-x86/bin/pahole \
0 commit comments