1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix: LTO v8

This commit is contained in:
snek 2024-11-18 19:08:48 +01:00
parent 4e899d48cf
commit 0b3aa1c898
No known key found for this signature in database
2 changed files with 13 additions and 0 deletions

View file

@ -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: [

View file

@ -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