Commit Graph

44 Commits

Author SHA1 Message Date
Kadir Cetinkaya
239800b0c5
Trim trailing newlines for non-linux too 2021-03-02 08:34:05 +01:00
Kadir Cetinkaya
e279de4b94
Trim trailing newlines from cmake args 2021-03-02 08:24:46 +01:00
Kirill Bobyrev
fead93d1a9
Fix YAML syntax
Additional newline is created for CMake arguments.
2021-03-02 07:05:24 +01:00
Kirill Bobyrev
fc26be2c43
Fix the build after 40114796f0
That patch added new flags but gRPC is still built with GNU C++
compiler. If we're trying to build both gRPC and LLVM with the same set
of flags, we should enforce additional CMake flags for gRPC.
2021-03-02 06:58:25 +01:00
Kadir Cetinkaya
3d90b39e96
Get rid of stale fixme 2021-02-26 14:55:06 +01:00
Kadir Cetinkaya
40114796f0 Include lib_compat.h while building gRPC
While building clangd binaries we set required glibc version for symbols
to a minimum to cover systems with older glibc implementations. But we
were not doing that while building gRPC, which might depend on never
versions of these symbols.
2021-02-26 12:50:28 +01:00
Kirill Bobyrev
bef10dc3c8
Do not upload in autobuild job (#563)
Artifacts are used to pass data from one job to another but we upload
release assets in the same job we build them, hence artifacts are
redundant.
2021-02-17 12:53:11 +03:00
Kadir Cetinkaya
835256346b Use LLVM head for builds
clangd/actions/pick is currently broken because LLVM no longer has a
branch called master. We didn't have any releases for past 3 weeks, i've
contacted author in
https://github.com/ramasilveyra/last-successful-gh-commit/issues/2.
2021-02-16 16:16:17 +01:00
HO-COOH
405dee024a
fix clangd source link (#688) 2021-02-09 18:12:52 +03:00
Kirill Bobyrev
ebde6ecac4
Expand path to grpc-installation directory
Weekly snapshot builds are failing because CMake couldn't find gRPC and
Protobuf libraries. Expanding the path from relative to the full one
solves the problem.

Fixes: https://github.com/clangd/clangd/issues/641
2021-01-13 12:11:12 +01:00
Sam McCall
ae38d57cb9 Remove obsolete compiler hack from windows build config.
MSVC version is now 16.7+, see
https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
2020-11-29 12:27:07 +01:00
Kirill Bobyrev
94b525b2ee
Bump gRPC version to 1.33.2 (#592)
* Bump gRPC version to 1.33.2

This is the same version we are using in our buildbot, so this will
surely be the "stable" version for us right now.
2020-11-17 18:02:12 +03:00
Kadir Cetinkaya
a276cdf62f Change escaping of double quotes to single quote
Release names contains quotes around commit hashes due to the escaping.
After this patch, they'll be gone.
2020-10-26 11:33:24 +01:00
Kirill Bobyrev
02bad4f0eb
Bundle headers in indexing-tools release archive (#570) 2020-10-23 17:00:11 +02:00
Kirill Bobyrev
8d1f3300c5
Enable gRPC support for macOS and Windows (#565) 2020-10-18 13:58:12 +02:00
Kirill Bobyrev
6f906275b0
Add clangd-index-server to release asset 2020-10-18 11:30:15 +02:00
Kirill Bobyrev
6ab953a853
Build clangd-indexer and upload an asset with it next to clangd.zip (#560) 2020-10-16 17:04:12 +02:00
Kirill Bobyrev
f34af43022
Enable gRPC support for clangd on Linux (#561)
This patch introduces remote index support for binaries built on Linux. Other platforms will be added soon.
2020-10-16 17:03:34 +02:00
Kirill Bobyrev
f779426513
Remove deprecated set-env command (#553)
Remove deprecated set-env command

Environment files are to be used instead now:

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-15 11:36:18 +02:00
Kirill Bobyrev
5a40c019f1
Pull "pick" action into clangd/actions (#552) 2020-10-06 10:40:21 +02:00
dependabot[bot]
d1d8b39c4c Bump @actions/core from 1.2.2 to 1.2.6 in /.github/actions/pick
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.2 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 12:43:09 +02:00
Sam McCall
45b6fbdfb0 Try to fix static libz on linux 2020-09-24 16:33:20 +02:00
Haojian Wu
40dcef1871 Set MACOSX_DEPLOYMENT_TARGET flag.
Make sure we support older version of macOS (10.9+) when building clangd with
the latest macOS (10.15).
2020-09-14 12:36:51 +02:00
Sam McCall
9a0cad43e8 Issue template for cherrypicks 2020-06-10 05:16:38 +02:00
Sam McCall
55b106258d
Compat with older python 2020-05-08 00:01:38 +02:00
Sam McCall
61703d6bba
Fix typo 2020-05-07 19:57:36 +02:00
Sam McCall
b51dc0092f
Test that linux binary depends on glibc 2.18 and no other dynamic symbols (#372)
This regressed twice over the last two months (new floating point
function versions, and accidental dynamic linking against zlib).
We also want to avoid regressions when merging remote index.

The test is able to do a little bit more than we use in the automated
build (the --sym flag is unused, as is unversioned --lib=GLIBC) but they're
pretty useful when experimenting with how to fix things!

We run the test right at the end, because if it fails we want to be able
to download the binary artifact and inspect it.
Unfortunately by the nature of the test we can only run it when we
produce a build, so currently weekly.
2020-05-07 15:50:12 +02:00
Sam McCall
2de2ec4404 Link against older, more-compatible versiosn of glibc symbols.
They're binary-compatible, the old versions are more widely available
and the new versions are more highly optimized. We prefer the former.
2020-05-07 15:19:22 +02:00
Sam McCall
12c31b0756 Extract cflags to variable to avoid duplication. NFC 2020-05-07 15:19:22 +02:00
Sam McCall
722567248f
Fix static linking of zlib. (#370)
Fix static linking of zlib.

Use of the standard FindZLIB and thus support for ZLIB_LIBRARIES was
removed upstream in llvm/llvm-project@916be8fd6a
2020-05-07 12:44:29 +02:00
Sam McCall
d740d020b6 [logo] media cards with subtitles for vscode-clangd etc repositories 2020-04-22 13:30:04 +02:00
Sam McCall
45de907b37 Also create SVG logo 2020-04-21 12:45:07 +02:00
Sam McCall
adc3c29c7f Add logo. Programmer art! 2020-04-21 12:36:33 +02:00
Sam McCall
efb0a8fab5 Add LLVM license in preparation for adding logo 2020-04-21 12:35:42 +02:00
Sam McCall
e7efb79737
Update issue template to point to new docs 2020-03-12 11:00:12 +01:00
Sam McCall
68c8b97885
Update README.md to point to new docs 2020-03-12 10:59:33 +01:00
Sam McCall
1e1281022b Update issue templates 2020-03-10 18:16:53 +01:00
Kirill Bobyrev
47ba9b16a5
Add references to other communication channels (#282) 2020-02-20 13:44:25 +01:00
Kirill Bobyrev
4b11bad775
Fix wording and remove reference to mailing list 2020-02-20 12:03:55 +01:00
Kirill Bobyrev
f7b55aeb19
Address review comments. 2020-02-20 11:46:08 +01:00
Sam McCall
e8ca89de59 yaml -> yml, the former doesn't work 2020-02-17 18:58:57 +01:00
Sam McCall
4f775f56b7
Add automatic weekly snapshot releases with Github Actions (#278)
Add automatic weekly snapshot releases with Github Actions
2020-02-17 18:41:16 +01:00
Kirill Bobyrev
ac147e77a7
Add references to other communication channels
We already have some communication channels that can be used to help our
users, but they are not very discoverable. Adding several links to the
README might help us to reach more Clangd users.
2020-02-12 14:35:39 +01:00
Sam McCall
c80cc3a6fc Add README 2019-01-16 14:47:16 +01:00