Skip to content

Commit 867e5b9

Browse files
Add llvm-16 support (#2)
1 parent a4198fb commit 867e5b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ RUN apt-get update \
1010
&& apt-get install -y git cmake build-essential byacc libpcre3 libpcre3-dev grep lsb-release wget software-properties-common gnupg libcurl4-openssl-dev unzip lcov --no-install-recommends # skipcq: DOK-DL3018
1111

1212
# Get LLVM
13-
ARG LLVM_VER=15
13+
ARG LLVM_VER=16
1414
RUN wget --no-verbose https://apt.llvm.org/llvm.sh
1515
RUN chmod +x ./llvm.sh \
1616
&& ./llvm.sh ${LLVM_VER} \
1717
&& apt-get -y install libclang-${LLVM_VER}-dev libclang-cpp${LLVM_VER}-dev --no-install-recommends \
1818
&& apt-get clean \
19-
&& rm -rf /var/lib/apt/lists/*
19+
&& rm -rf /var/lib/apt/lists/* \
20+
&& ln -s /usr/lib/x86_64-linux-gnu/libclang-16.so.16.0.6 /usr/lib/x86_64-linux-gnu/libclang-16.so.16
21+
2022

2123
# Add environment variables for build
2224
ENV PATH="$PATH:/usr/lib/llvm-${LLVM_VER}/bin"

0 commit comments

Comments
 (0)