@@ -40,11 +40,19 @@ runs:
40
40
export DEBIAN_FRONTEND=noninteractive
41
41
echo "DEBIAN_FRONTEND=noninteractive" >> "$GITHUB_ENV"
42
42
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
44
45
sudo docker image prune --all --force
45
46
echo "Unused directories cleared"
46
47
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
48
56
sudo apt-get purge -y "$(dpkg-query -W -f='${binary:Package}\n' | grep -E '^mysql|^php|^dotnet' || true)" || true
49
57
sudo apt-get autoremove -y
50
58
sudo apt-get autoclean -y
60
68
python3 git curl libelf-dev libelf1 lld \
61
69
build-essential flex bison libssl-dev \
62
70
libncurses-dev liblz4-tool zlib1g-dev \
63
- libxml2-utils rsync unzip python3 python-is-python3
71
+ libxml2-utils rsync unzip python-is-python3
64
72
65
73
- name : Install Repo Tool
66
74
shell : bash
@@ -342,6 +350,7 @@ runs:
342
350
sed -i 's/CONFIG_LTO=n/CONFIG_LTO=y/' "./common/arch/arm64/configs/gki_defconfig"
343
351
sed -i 's/CONFIG_LTO_CLANG_FULL=y/CONFIG_LTO_CLANG_THIN=y/' "./common/arch/arm64/configs/gki_defconfig"
344
352
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"
345
354
echo "CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y" >> "./common/arch/arm64/configs/gki_defconfig"
346
355
echo "CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=n" >> "./common/arch/arm64/configs/gki_defconfig"
347
356
@@ -456,6 +465,7 @@ runs:
456
465
USE_LLVM_IAS=true
457
466
fi
458
467
cd "$KERNEL_PATH/common" || exit 1
468
+
459
469
MAKE_ARGS="LLVM=1 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
460
470
RUSTC=$KERNEL_PATH/prebuilts/rust/linux-x86/1.73.0b/bin/rustc \
461
471
PAHOLE=$KERNEL_PATH/prebuilts/kernel-build-tools/linux-x86/bin/pahole \
0 commit comments