Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanEngelen committed Aug 8, 2024
1 parent 8e3c4e4 commit d5f0ed4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ jobs:
-DD_COMPILER_FLAGS=-gcc=/usr/bin/c++
extra_cmake_flags: >-
-DBUILD_LTO_LIBS=ON
-DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L-exported_symbol '-L__*' -L-w"
-DEXTRA_CXXFLAGS=-flto=full
# -DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L-exported_symbol '-L__*' -L-w"
-DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -L-exported_symbol '-L__*' -L-w"
# -DEXTRA_CXXFLAGS=-flto=full # LTO with LLVM 14 requires older Xcode, simply disable for now
with_pgo: true
#llvm_version: 17.0.6 # FIXME: sporadic 'libc++abi: Pure virtual function called!' compiler crashes with LLVM 18 (see https://github.com/ldc-developers/ldc/pull/4604, https://github.com/ldc-developers/ldc/pull/4541)

Expand All @@ -74,9 +75,9 @@ jobs:
with:
submodules: true
fetch-depth: 50
- name: 'macOS 14: Switch to Xcode v14.2'
- name: 'macOS 14: Switch to Xcode v14.3.1'
if: matrix.os == 'macos-14'
run: sudo xcode-select -switch /Applications/Xcode_14.2.app
run: sudo xcode-select -switch /Applications/Xcode_14.3.1.app
- name: Install prerequisites
uses: ./.github/actions/1-setup
with:
Expand Down

0 comments on commit d5f0ed4

Please sign in to comment.