Compare commits

...

3 Commits

Author SHA1 Message Date
Younan Zhang
49f5ed9c02
Merge 5796438e86 into 0ed1e6bc60 2025-10-11 12:12:19 -07:00
InfinityWei
0ed1e6bc60
Fix MacOS CI build (#2522)
As of https://github.com/actions/runner-images/issues/12934, the Mac runners use CMake 4.0, which drops compatibility with CMake < 3.5, but the gRPC library version we use is marked as having CMake 3.1 as its minimum version.

Work around this by using `-DCMAKE_POLICY_VERSION_MINIMUM=3.5`.
2025-10-09 01:09:07 -04:00
Younan Zhang
5796438e86 Install clangd before archiving 2024-04-10 16:53:49 +08:00

View File

@ -171,6 +171,7 @@ jobs:
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
# BoringSSL doesn't support universal binaries when building with ASM.
grpc_cmake: >-
"-DOPENSSL_NO_ASM=ON"
@ -300,6 +301,12 @@ jobs:
run: >
ninja -C ${{ env.CLANGD_DIR }} clangd clangd-indexer clangd-index-server
clangd-index-server-monitor
# Install targets so that RUNPATHs get properly substituted.
# FIXME: We don't have other targets besides clangd. We probably want them too.
- name: Install
run: >
cmake --install ${{ env.CLANGD_DIR }} --prefix ${{ env.CLANGD_DIR }}
"--component=clangd"
- name: Install OpenMP headers
shell: bash
run: >