build: Update to LLVM 11.0.0 (issue #1088) (#1116)

This commit is contained in:
Malte Langkabel
2020-12-01 07:53:20 +01:00
committed by GitHub
parent 1a0b564b1e
commit 5cae072a02
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -142,9 +142,9 @@ Building Sourcetrail requires several dependencies to be in place on your machin
### Required dependencies ### Required dependencies
* __LLVM/Clang 10.0.0__ * __LLVM/Clang 11.0.0__
* __Reason__: Used for running the preprocessor on the indexedes source code, building and traversing an Abstract Syntax Tree and generating error messages. * __Reason__: Used for running the preprocessor on the indexedes source code, building and traversing an Abstract Syntax Tree and generating error messages.
* __Building__: Make sure to check out the correct tag: `git checkout llvmorg-10.0.0` * __Building__: Make sure to check out the correct tag: `git checkout llvmorg-11.0.0`
* __Building for Windows__: Follow [these steps](https://clang.llvm.org/get_started.html) to build the project. Run the cmake command exactly as described. * __Building for Windows__: Follow [these steps](https://clang.llvm.org/get_started.html) to build the project. Run the cmake command exactly as described.
* __Building for Unix__: Follow this [installation guide](http://clang.llvm.org/docs/LibASTMatchersTutorial.html) to build the project. Make sure to build with `-DLLVM_ENABLE_RTTI=ON`. * __Building for Unix__: Follow this [installation guide](http://clang.llvm.org/docs/LibASTMatchersTutorial.html) to build the project. Make sure to build with `-DLLVM_ENABLE_RTTI=ON`.
@@ -55,7 +55,7 @@ make -j8 && \
make -j8 install && rm -Rf /qt make -j8 install && rm -Rf /qt
# LLVM/Clang # LLVM/Clang
ARG LLVM_VERSION=10.0.0 ARG LLVM_VERSION=11.0.0
RUN mkdir -p /llvm && cd /llvm && \ RUN mkdir -p /llvm && cd /llvm && \
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/llvm-project-${LLVM_VERSION}.tar.xz && \ wget https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/llvm-project-${LLVM_VERSION}.tar.xz && \
tar xvf llvm-project-${LLVM_VERSION}.tar.xz && \ tar xvf llvm-project-${LLVM_VERSION}.tar.xz && \
@@ -6,7 +6,7 @@ based on our gcc Docker images
Software Software
-------- --------
* Qt 5.9.1 * Qt 5.12.6
* LLVM/Clang 5.0.0 * LLVM/Clang 10.0.0
* Boost 1.64.0 * Boost 1.67.0
* Ninja * Ninja
@@ -1,7 +1,7 @@
Base 64 bit Image for Sourcetrail Base 64 bit Image for Sourcetrail
================================= =================================
Based on centos:6 Based on centos:7
Software Software
-------- --------
@@ -1,4 +1,4 @@
FROM coatisoftware/centos7_64_qt_llvm:qt5126-llvm1000 FROM coatisoftware/centos7_64_qt_llvm:qt5126-llvm1100
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh