Skip to content

Commit

Permalink
[try newer clang for macOS arm64 cross-build too]
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed May 18, 2022
1 parent 9123677 commit ec681fb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ jobs:
os: osx
arch: arm64
extra_bootstrap_d_flags: -gcc=/usr/bin/c++
extra_cmake_flags: -DBUILD_LTO_LIBS=ON
extra_cmake_flags: >-
-DBUILD_LTO_LIBS=ON
-DCMAKE_C_COMPILER=/Users/runner/work/ldc/clang/bin/clang
-DCMAKE_CXX_COMPILER=/Users/runner/work/ldc/clang/bin/clang++
lto_mode: full
with_pgo: true
- job_name: Android armv7a
Expand Down Expand Up @@ -185,7 +188,7 @@ jobs:
llvm_version: ${{ env.LLVM_VERSION }}
cmake_flags: ${{ matrix.extra_cmake_flags }}
lto_mode: ${{ matrix.lto_mode || 'none' }}
with_pgo: ${{ matrix.with_pgo == 'true' }}
with_pgo: ${{ matrix.with_pgo }}

- name: Install LDC & make portable
uses: ./.github/actions/5-install
Expand Down

0 comments on commit ec681fb

Please sign in to comment.