mirror of
https://github.com/clangd/clangd.git
synced 2026-01-01 11:53:37 +00:00
Compare commits
3 Commits
17d4a42de9
...
961bb703d5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
961bb703d5 | ||
|
|
94ea32abe4 | ||
|
|
5796438e86 |
14
.github/workflows/autobuild.yaml
vendored
14
.github/workflows/autobuild.yaml
vendored
@ -158,11 +158,12 @@ jobs:
|
|||||||
"-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"
|
"-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"
|
||||||
"-DLLVM_ENABLE_PDB=ON"
|
"-DLLVM_ENABLE_PDB=ON"
|
||||||
"-DLLVM_PARALLEL_LINK_JOBS=1"
|
"-DLLVM_PARALLEL_LINK_JOBS=1"
|
||||||
|
grpc_version: v1.36.3
|
||||||
grpc_cmake: >-
|
grpc_cmake: >-
|
||||||
"-DgRPC_MSVC_STATIC_RUNTIME=ON"
|
"-DgRPC_MSVC_STATIC_RUNTIME=ON"
|
||||||
binary_extension: ".exe"
|
binary_extension: ".exe"
|
||||||
- name: mac
|
- name: mac
|
||||||
os: macos-13
|
os: macos-14
|
||||||
preinstall: brew install ninja zlib p7zip
|
preinstall: brew install ninja zlib p7zip
|
||||||
cflags: -O3 -gline-tables-only -DNDEBUG
|
cflags: -O3 -gline-tables-only -DNDEBUG
|
||||||
cmake: >-
|
cmake: >-
|
||||||
@ -172,6 +173,8 @@ jobs:
|
|||||||
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
|
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
|
||||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13"
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13"
|
||||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||||
|
"-Dabsl_DIR=$HOME/grpc-installation/lib/cmake/absl"
|
||||||
|
grpc_version: v1.51.3
|
||||||
# BoringSSL doesn't support universal binaries when building with ASM.
|
# BoringSSL doesn't support universal binaries when building with ASM.
|
||||||
grpc_cmake: >-
|
grpc_cmake: >-
|
||||||
"-DOPENSSL_NO_ASM=ON"
|
"-DOPENSSL_NO_ASM=ON"
|
||||||
@ -195,6 +198,7 @@ jobs:
|
|||||||
"-DLLVM_STATIC_LINK_CXX_STDLIB=ON"
|
"-DLLVM_STATIC_LINK_CXX_STDLIB=ON"
|
||||||
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
|
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
|
||||||
"-DCMAKE_PROJECT_INCLUDE=$GITHUB_WORKSPACE/.github/workflows/linux-static-deps.cmake"
|
"-DCMAKE_PROJECT_INCLUDE=$GITHUB_WORKSPACE/.github/workflows/linux-static-deps.cmake"
|
||||||
|
grpc_version: v1.36.3
|
||||||
# Using c-ares as a module prevents dynamic linking of unneeded
|
# Using c-ares as a module prevents dynamic linking of unneeded
|
||||||
# libraries. All other gRPC dependencies can be built from sources.
|
# libraries. All other gRPC dependencies can be built from sources.
|
||||||
grpc_cmake: >-
|
grpc_cmake: >-
|
||||||
@ -228,7 +232,7 @@ jobs:
|
|||||||
# We use the same version of gRPC for LLVM's clangd-ubuntu-tsan
|
# We use the same version of gRPC for LLVM's clangd-ubuntu-tsan
|
||||||
# buildbot.
|
# buildbot.
|
||||||
# https://github.com/llvm/llvm-zorg/blob/main/buildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile
|
# https://github.com/llvm/llvm-zorg/blob/main/buildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile
|
||||||
ref: v1.36.3
|
ref: ${{ matrix.config.grpc_version }}
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Build gRPC
|
- name: Build gRPC
|
||||||
run: >
|
run: >
|
||||||
@ -301,6 +305,12 @@ jobs:
|
|||||||
run: >
|
run: >
|
||||||
ninja -C ${{ env.CLANGD_DIR }} clangd clangd-indexer clangd-index-server
|
ninja -C ${{ env.CLANGD_DIR }} clangd clangd-indexer clangd-index-server
|
||||||
clangd-index-server-monitor
|
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
|
- name: Install OpenMP headers
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >
|
run: >
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user