Skip to content

Commit

Permalink
[+ LTO again]
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Aug 13, 2023
1 parent 3d0eee1 commit 6b5218f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
-DD_COMPILER_FLAGS=-gcc=/usr/bin/c++
extra_cmake_flags: >-
-DBUILD_LTO_LIBS=ON
-DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -func-specialization-size-threshold=1000000000"
# -DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto"
# -DEXTRA_CXXFLAGS=-flto=full
-DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -func-specialization-size-threshold=1000000000"
-DEXTRA_CXXFLAGS=-flto=full
with_pgo: false

- job_name: Windows x64
Expand All @@ -55,9 +54,8 @@ jobs:
bootstrap_cmake_flags: -DBUILD_LTO_LIBS=ON
extra_cmake_flags: >-
-DBUILD_LTO_LIBS=ON
"-DD_COMPILER_FLAGS=-func-specialization-size-threshold=1000000000"
# "-DD_COMPILER_FLAGS=-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto"
# -DEXTRA_CXXFLAGS=-flto=full
"-DD_COMPILER_FLAGS=-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -func-specialization-size-threshold=1000000000"
-DEXTRA_CXXFLAGS=-flto=full
with_pgo: false

- job_name: Windows x86
Expand Down

0 comments on commit 6b5218f

Please sign in to comment.