Commit Graph

24 Commits

Author SHA1 Message Date
dfrib
d00073970b -DSYSTEM_CLANG=OFF: allow using Ubuntu 14.04
In the 6.0.1 -> 7.0.0 LLVM migration of
f27639babf, archive hashes were added for
the LLVM 7.0.0 binaries not only for Ubuntu 16.04, but also for Ubuntu
14.04. The DownloadAndExtractClang.cmake functionality would never allow
making use of the latter, however; always using the Ubuntu 16.04 LLVM
7.0.0 binary in case of OS Linux.

This commit generalizes the archive name derivation for when the current
platform is Ubuntu, while persisting using Ubuntu 16.04 as default
archive in case CMAKE_SYSTEM_NAME is Linux (even if the actual dist is
not Ubuntu).

This change will also facilitate keeping backwards compatibility with
Ubuntu 16.04 (possibly 14.04) for the upcoming LLVM 8.0.0 migration,
where an archive for Bionic (18.04) is expected to be included (which may
be chosen as the default).
2018-10-23 23:39:41 +02:00
Fangrui Song
f27639babf -DSYSTEM_CLANG=off: 6.0.1 -> 7.0.0 2018-10-16 01:14:39 -07:00
Fangrui Song
a127ca9b02 Support textDocument/{formatting,onTypeFormatting,rangeFormatting} 2018-09-28 10:18:04 -07:00
Riatre Foo
344ade0420 Fix compile on Windows + MSYS2-MinGW64 (#46)
1. libClangDriver.a shipped by MSYS2 needs -lversion which is not
   included in CMAKE_CXX_STANDARD_LIBRARIES by default.
2. Use string literal for DEFAULT_RESOURCE_DIRECTORY to support
   backslashes in path.
2018-08-08 00:25:46 -07:00
Fangrui Song
b4aa0705a1 cmake: for -DSYSTEM_CLANG=off, 6.0.0 -> 6.0.1 2018-07-29 18:02:37 -07:00
Fangrui Song
73ac788f9e Remove libclang 2018-07-16 09:34:48 -07:00
Fangrui Song
39d4bbfe67 Use clangTooling 2018-07-14 00:58:33 -07:00
Fangrui Song
7dd0241a4c First draft: replace libclang indexer with clangIndex 2018-07-07 15:43:05 -07:00
Fangrui Song
775c72b0e6 clang+llvm libs 2018-07-06 23:41:24 -07:00
Fangrui Song
134126629a Infer system include paths from CompilerInvocation 2018-06-04 16:33:03 -07:00
Fangrui Song
66580104ba Add Config->largeFileSize; pure virtual or defaulted methods are definitions; fix $ccls/callHierarchy 2018-06-01 16:06:21 -07:00
Fangrui Song
ba45e7ca63 cmake: link against zlib; use StringMap 2018-05-16 00:51:07 -07:00
Fangrui Song
576959e460 Congratulations to Tea Deliverers 2018-05-14 09:47:21 -07:00
Fangrui Song
f145c4422f experimental/filesystem -> LLVM/Support/FileSystem.h; sparsepp -> DenseMap 2018-05-13 15:24:04 -07:00
Fangrui Song
87dcb8ffb2 clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz.SHA256 -> 16.04 2018-05-13 09:07:19 -07:00
Fangrui Song
224ba97f27 Use clang+llvm C++ in cmake; parse args with clang driver 2018-05-13 01:13:14 -07:00
Fangrui Song
98a4ef5288 Import cmake improvement by Daan De Meyer 2018-04-07 10:21:07 -07:00
Chao Shen
2f0b9ccfdc Extract LLVM to specific directory. 2018-03-28 19:40:39 -07:00
Daan De Meyer
401d542ba7 Switch to -print-resource-dir (drop support for system clang 4.0) 2018-03-26 08:07:40 -07:00
DaanDeMeyer
a566167db6 Change default cmake build type to Release 2018-03-24 10:23:31 -07:00
Daan De Meyer
fb795d02f9 Add SHA256 hashes of LLVM downloads and check them when downloading LLVM 2018-03-18 16:32:23 -07:00
DaanDeMeyer
4d23e9fa10 [CMake] Remove byte hacks + add correct url's for different clang versions + abort for unsupported combinations (#532) 2018-03-18 13:16:42 -07:00
Fangrui Song
9ad268af29 Use clang+llvm-6.0.0-amd64-unknown-freebsd-10.tar.xz
before 6.0.0 it was named freebsd10
2018-03-17 23:42:11 -07:00
DaanDeMeyer
1882bd0256 Add CMake as alternative build system (#526) 2018-03-17 12:03:41 -07:00