mirror of
https://github.com/clangd/clangd.git
synced 2025-04-20 15:43:01 +00:00
Compare commits
No commits in common. "master" and "snapshot_20241201" have entirely different histories.
master
...
snapshot_2
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -17,9 +17,6 @@ If you can, provide a minimal chunk of code that shows the problem (either inlin
|
|||||||
Please attach the clangd stderr log if you can. (Usually available from the editor)
|
Please attach the clangd stderr log if you can. (Usually available from the editor)
|
||||||
If possible, run with `--log=verbose` - note that the logs will include the contents of open files!
|
If possible, run with `--log=verbose` - note that the logs will include the contents of open files!
|
||||||
If this is a crash, try to put `llvm-symbolizer` on your PATH per the troubleshooting instructions.
|
If this is a crash, try to put `llvm-symbolizer` on your PATH per the troubleshooting instructions.
|
||||||
(If you're using Windows, place the associated PDB file (debug symbols) in the same directory as
|
|
||||||
clangd.exe and rerun again. For official releases, download symbols from the
|
|
||||||
[release page](https://github.com/clangd/clangd/releases).)
|
|
||||||
|
|
||||||
**System information**
|
**System information**
|
||||||
|
|
||||||
|
38
.github/workflows/autobuild.yaml
vendored
38
.github/workflows/autobuild.yaml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
run: >
|
run: >
|
||||||
echo "RELEASE_DESCRIPTION=Unstable snapshot of clangd on ${{ env.RELEASE_DATE }}." >> commit.env
|
echo "RELEASE_DESCRIPTION=Unstable snapshot of clangd on ${{ env.RELEASE_DATE }}." >> commit.env
|
||||||
- name: Upload result
|
- name: Upload result
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: env
|
name: env
|
||||||
path: commit.env
|
path: commit.env
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
echo "RELEASE_NAME=${{ github.event.inputs.release_name }}" >> commit.env
|
echo "RELEASE_NAME=${{ github.event.inputs.release_name }}" >> commit.env
|
||||||
echo "RELEASE_DESCRIPTION=${{ github.event.inputs.description }}" >> commit.env
|
echo "RELEASE_DESCRIPTION=${{ github.event.inputs.description }}" >> commit.env
|
||||||
- name: Upload result
|
- name: Upload result
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: env
|
name: env
|
||||||
path: commit.env
|
path: commit.env
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
if: always() && (needs.schedule_environment.result == 'success' || needs.workflow_dispatch_environment.result == 'success')
|
if: always() && (needs.schedule_environment.result == 'success' || needs.workflow_dispatch_environment.result == 'success')
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch environment variables
|
- name: Fetch environment variables
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
env
|
env
|
||||||
@ -130,7 +130,7 @@ jobs:
|
|||||||
echo "TAG_NAME=${{ env.TAG_NAME }}" >> release.env
|
echo "TAG_NAME=${{ env.TAG_NAME }}" >> release.env
|
||||||
echo "RELEASE_ID=${{ steps.create_release.outputs.id }}" >> release.env
|
echo "RELEASE_ID=${{ steps.create_release.outputs.id }}" >> release.env
|
||||||
- name: Upload result
|
- name: Upload result
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release
|
name: release
|
||||||
path: release.env
|
path: release.env
|
||||||
@ -156,13 +156,11 @@ jobs:
|
|||||||
"-DCMAKE_CXX_COMPILER=cl"
|
"-DCMAKE_CXX_COMPILER=cl"
|
||||||
"-DLLVM_ENABLE_ZLIB=OFF"
|
"-DLLVM_ENABLE_ZLIB=OFF"
|
||||||
"-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"
|
"-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"
|
||||||
"-DLLVM_ENABLE_PDB=ON"
|
|
||||||
"-DLLVM_PARALLEL_LINK_JOBS=1"
|
|
||||||
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-12
|
||||||
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: >-
|
||||||
@ -170,13 +168,13 @@ jobs:
|
|||||||
"-DCMAKE_CXX_COMPILER=clang++"
|
"-DCMAKE_CXX_COMPILER=clang++"
|
||||||
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
|
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
|
||||||
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
|
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
|
||||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13"
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9"
|
||||||
# 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"
|
||||||
- name: linux
|
- name: linux
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
container: ubuntu:20.04
|
container: ubuntu:18.04
|
||||||
preinstall: >-
|
preinstall: >-
|
||||||
apt-get update &&
|
apt-get update &&
|
||||||
apt-get install -y ninja-build libz-dev libc-ares-dev wget clang-9
|
apt-get install -y ninja-build libz-dev libc-ares-dev wget clang-9
|
||||||
@ -245,14 +243,14 @@ jobs:
|
|||||||
|
|
||||||
ninja -C grpc-build install
|
ninja -C grpc-build install
|
||||||
- name: Fetch target commit
|
- name: Fetch target commit
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
env
|
env
|
||||||
path:
|
path:
|
||||||
env
|
env
|
||||||
- name: Fetch release info
|
- name: Fetch release info
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
release
|
release
|
||||||
@ -311,12 +309,6 @@ jobs:
|
|||||||
${{ env.CLANGD_DIR }}/LICENSE.TXT
|
${{ env.CLANGD_DIR }}/LICENSE.TXT
|
||||||
${{ env.CLANGD_DIR }}/bin/clangd${{ matrix.config.binary_extension }}
|
${{ env.CLANGD_DIR }}/bin/clangd${{ matrix.config.binary_extension }}
|
||||||
${{ env.CLANGD_DIR }}/lib/clang
|
${{ env.CLANGD_DIR }}/lib/clang
|
||||||
- name: Archive clangd PDB symbols
|
|
||||||
if: matrix.config.name == 'windows'
|
|
||||||
run: >
|
|
||||||
7z a clangd-pdb.7z -t7z -m0=LZMA2
|
|
||||||
${{ env.CLANGD_DIR }}/LICENSE.TXT
|
|
||||||
${{ env.CLANGD_DIR }}/bin/clangd.pdb
|
|
||||||
- name: Archive indexing-tools
|
- name: Archive indexing-tools
|
||||||
run: >
|
run: >
|
||||||
7z a indexing-tools.zip
|
7z a indexing-tools.zip
|
||||||
@ -334,16 +326,6 @@ jobs:
|
|||||||
asset_name: clangd-${{ matrix.config.name }}-${{ env.TAG_NAME }}.zip
|
asset_name: clangd-${{ matrix.config.name }}-${{ env.TAG_NAME }}.zip
|
||||||
asset_path: clangd.zip
|
asset_path: clangd.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
- name: Upload clangd PDB asset
|
|
||||||
if: matrix.config.name == 'windows'
|
|
||||||
uses: actions/upload-release-asset@v1.0.1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ env.UPLOAD_URL }}
|
|
||||||
asset_name: clangd-${{ matrix.config.name }}-${{ env.TAG_NAME }}-debug-symbols.7z
|
|
||||||
asset_path: clangd-pdb.7z
|
|
||||||
asset_content_type: application/zip
|
|
||||||
- name: Upload indexing-tools asset
|
- name: Upload indexing-tools asset
|
||||||
uses: actions/upload-release-asset@v1.0.1
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
env:
|
env:
|
||||||
@ -363,7 +345,7 @@ jobs:
|
|||||||
if: always() && needs.build.result == 'success'
|
if: always() && needs.build.result == 'success'
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch release info
|
- name: Fetch release info
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
release
|
release
|
||||||
|
1
.github/workflows/lib_compat.h
vendored
1
.github/workflows/lib_compat.h
vendored
@ -16,6 +16,5 @@ FORCE_SYMBOL_VERSION(expf, GLIBC_2.2.5);
|
|||||||
FORCE_SYMBOL_VERSION(log, GLIBC_2.2.5);
|
FORCE_SYMBOL_VERSION(log, GLIBC_2.2.5);
|
||||||
FORCE_SYMBOL_VERSION(log2, GLIBC_2.2.5);
|
FORCE_SYMBOL_VERSION(log2, GLIBC_2.2.5);
|
||||||
FORCE_SYMBOL_VERSION(pow, GLIBC_2.2.5);
|
FORCE_SYMBOL_VERSION(pow, GLIBC_2.2.5);
|
||||||
FORCE_SYMBOL_VERSION(exp, GLIBC_2.2.5);
|
|
||||||
|
|
||||||
#undef FORCE_SYMBOL_VERSION
|
#undef FORCE_SYMBOL_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user