From 0b3aa1c8983af46ac8c5cafa9af63bbe81c624b6 Mon Sep 17 00:00:00 2001 From: snek Date: Mon, 18 Nov 2024 19:08:48 +0100 Subject: [PATCH] fix: LTO v8 --- .github/workflows/ci.generate.ts | 8 ++++++++ .github/workflows/ci.yml | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 5ed02d3cde..bffb9b8756 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -548,6 +548,14 @@ const ci = { if: "matrix.use_sysroot", ...sysRootStep, }, + { + if: "matrix.profile == 'release'", + run: `\ +export CLANG_BASE_PATH="/usr" +export V8_FROM_SOURCE=1 +export EXTRA_GN_ARGS="is_official_build=true chrome_pgo_phase=0 is_cfi=false clang_version=${llvmVersion}" +`, + }, { name: "Remove macOS cURL --ipv4 flag", run: [ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39a3afe769..b5f63db315 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -322,6 +322,11 @@ jobs: CC=/usr/bin/clang-19 CFLAGS=-flto=thin $CFLAGS " > $GITHUB_ENV + - if: '!(matrix.skip) && (matrix.profile == ''release'')' + run: | + export CLANG_BASE_PATH="/usr" + export V8_FROM_SOURCE=1 + export EXTRA_GN_ARGS="is_official_build=true chrome_pgo_phase=0 is_cfi=false clang_version=19" - name: Remove macOS cURL --ipv4 flag run: |- curl --version