Forráskód Böngészése

Update build.yml: LTO thin

James McConnell 1 éve
szülő
commit
18acdeb58f
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -382,9 +382,9 @@ jobs:
           cd "$CONFIG"
           cd "$CONFIG"
           echo "Building the kernel..."
           echo "Building the kernel..."
           if [ -f "build/build.sh" ]; then
           if [ -f "build/build.sh" ]; then
-            LTO=full BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh CC="/usr/bin/ccache clang" || exit 1
+            LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh CC="/usr/bin/ccache clang" || exit 1
           else
           else
-            tools/bazel build --disk_cache=/home/runner/.cache/bazel --config=fast --lto=full //common:kernel_aarch64_dist || exit 1
+            tools/bazel build --disk_cache=/home/runner/.cache/bazel --config=fast --lto=thin //common:kernel_aarch64_dist || exit 1
           fi
           fi
           ccache --show-stats
           ccache --show-stats