mirror of
https://github.com/danog/jit_bugs.git
synced 2024-11-29 20:29:07 +01:00
bump llvm
This commit is contained in:
parent
a708246ae2
commit
927eadfed4
12
Dockerfile
12
Dockerfile
@ -2,10 +2,10 @@ FROM ubuntu:22.04
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
ENV CC=clang-16
|
ENV CC=clang-19
|
||||||
ENV CXX=clang++-16
|
ENV CXX=clang++-19
|
||||||
|
|
||||||
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/lib/llvm-16/lib/clang/16/lib/linux/"
|
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/lib/llvm-19/lib/clang/19/lib/linux/"
|
||||||
|
|
||||||
RUN true \
|
RUN true \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
@ -15,7 +15,7 @@ RUN true \
|
|||||||
make pkg-config binutils wget \
|
make pkg-config binutils wget \
|
||||||
&& wget https://apt.llvm.org/llvm.sh \
|
&& wget https://apt.llvm.org/llvm.sh \
|
||||||
&& chmod +x llvm.sh \
|
&& chmod +x llvm.sh \
|
||||||
&& ./llvm.sh 16 all \
|
&& ./llvm.sh 19 all \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
@ -28,7 +28,7 @@ RUN true \
|
|||||||
pkg-config autoconf bison re2c \
|
pkg-config autoconf bison re2c \
|
||||||
libxml2-dev libsqlite3-dev \
|
libxml2-dev libsqlite3-dev \
|
||||||
systemtap-sdt-dev libssl-dev \
|
systemtap-sdt-dev libssl-dev \
|
||||||
libpcre2-dev libargon2-dev libedit-dev libsodium-dev llvm-16 libonig-dev \
|
libpcre2-dev libargon2-dev libedit-dev libsodium-dev llvm-19 libonig-dev \
|
||||||
gdb libcapstone-dev
|
gdb libcapstone-dev
|
||||||
|
|
||||||
RUN git clone https://github.com/php/php-src -b master --depth 1 && cd php-src \
|
RUN git clone https://github.com/php/php-src -b master --depth 1 && cd php-src \
|
||||||
@ -51,7 +51,7 @@ RUN git clone https://github.com/php/php-src -b master --depth 1 && cd php-src \
|
|||||||
&& export CFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
&& export CFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
||||||
&& export CPPFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
&& export CPPFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
||||||
&& export CXXFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
&& export CXXFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
||||||
&& export LDFLAGS='-g -fsanitize=address -shared-libasan -Wl,-rpath=/usr/lib/llvm-16/lib/clang/16/lib/linux/' \
|
&& export LDFLAGS='-g -fsanitize=address -shared-libasan -Wl,-rpath=/usr/lib/llvm-19/lib/clang/19/lib/linux/' \
|
||||||
\
|
\
|
||||||
&& make -j100 \
|
&& make -j100 \
|
||||||
&& make install
|
&& make install
|
||||||
|
Loading…
Reference in New Issue
Block a user