mirror of
https://github.com/clangd/clangd.git
synced 2025-02-22 08:29:36 +00:00
Fix Linux CI builds (#2319)
- Use container: ubuntu:20.04 instead of container: ubuntu:18.04. - Add `exp` to `lib_compat.h` to solve the GLIBC 2.29 dependency issue. Fixes https://github.com/clangd/clangd/issues/2244
This commit is contained in:
parent
8ea4a27f46
commit
cb1cfd5a92
2
.github/workflows/autobuild.yaml
vendored
2
.github/workflows/autobuild.yaml
vendored
@ -176,7 +176,7 @@ jobs:
|
||||
"-DOPENSSL_NO_ASM=ON"
|
||||
- name: linux
|
||||
os: ubuntu-latest
|
||||
container: ubuntu:18.04
|
||||
container: ubuntu:20.04
|
||||
preinstall: >-
|
||||
apt-get update &&
|
||||
apt-get install -y ninja-build libz-dev libc-ares-dev wget clang-9
|
||||
|
1
.github/workflows/lib_compat.h
vendored
1
.github/workflows/lib_compat.h
vendored
@ -16,5 +16,6 @@ FORCE_SYMBOL_VERSION(expf, GLIBC_2.2.5);
|
||||
FORCE_SYMBOL_VERSION(log, GLIBC_2.2.5);
|
||||
FORCE_SYMBOL_VERSION(log2, GLIBC_2.2.5);
|
||||
FORCE_SYMBOL_VERSION(pow, GLIBC_2.2.5);
|
||||
FORCE_SYMBOL_VERSION(exp, GLIBC_2.2.5);
|
||||
|
||||
#undef FORCE_SYMBOL_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user