Skip to content

Commit 6717215

Browse files
committed
[try newer clang for macOS arm64 cross-build too]
1 parent 9123677 commit 6717215

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ jobs:
134134
os: osx
135135
arch: arm64
136136
extra_bootstrap_d_flags: -gcc=/usr/bin/c++
137-
extra_cmake_flags: -DBUILD_LTO_LIBS=ON
137+
extra_cmake_flags: >-
138+
-DBUILD_LTO_LIBS=ON
139+
-DCMAKE_C_COMPILER="$PWD/../clang/bin/clang"
140+
-DCMAKE_CXX_COMPILER="$PWD/../clang/bin/clang++"
138141
lto_mode: full
139142
with_pgo: true
140143
- job_name: Android armv7a
@@ -185,7 +188,7 @@ jobs:
185188
llvm_version: ${{ env.LLVM_VERSION }}
186189
cmake_flags: ${{ matrix.extra_cmake_flags }}
187190
lto_mode: ${{ matrix.lto_mode || 'none' }}
188-
with_pgo: ${{ matrix.with_pgo == 'true' }}
191+
with_pgo: ${{ matrix.with_pgo }}
189192

190193
- name: Install LDC & make portable
191194
uses: ./.github/actions/5-install

0 commit comments

Comments
 (0)