curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo mkdir /bin PATH=/bin:$PATH chmod a+x ~/bin/repo repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/kernel/manifest -b common-android13-5.15 repo sync LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh common/scripts/clang-tools/gen_compile_commands.py -d ./out/android13-5.15/common/

网络问题可以切换清华源等国内源