Skip to content

Commit 7eb662b

Browse files
Rebase and add Brotli
1 parent fec01cf commit 7eb662b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/swift-toolchain.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,11 +1421,13 @@ jobs:
14211421
android-api-level: ${{ inputs.ANDROID_API_LEVEL }}
14221422
android-clang-version: ${{ inputs.ANDROID_CLANG_VERSION }}
14231423
ndk-path: ${{ steps.setup-ndk.outputs.ndk-path }}
1424-
msvc-compilers: '@("C")'
1424+
msvc-compilers: ${{ inputs.use_host_toolchain && '@("C")' || '@()' }}
1425+
pinned-compilers: ${{ inputs.use_host_toolchain && '@()' || '@("C")' }}
14251426
cmake-defines: |
14261427
@{
14271428
'BUILD_SHARED_LIBS' = "NO";
14281429
'CMAKE_POSITION_INDEPENDENT_CODE' = "YES";
1430+
'CMAKE_C_FLAGS' = "${{ inputs.use_host_toolchain && '' || '-fuse-ld=lld' }}";
14291431
}
14301432
- name: Build brotli
14311433
run: cmake --build ${{ github.workspace }}/BinaryCache/brotli-${{ inputs.brotli_version }}

0 commit comments

Comments
 (0)