Skip to content

Commit

Permalink
fix: LTO v8
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Nov 18, 2024
1 parent 4e899d4 commit 0b3aa1c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b3aa1c

Please sign in to comment.