Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LLVM 18 #309

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 26,6 @@ FROM runtime as build

RUN \
apk add --update --no-cache --force-overwrite \
llvm15-dev llvm15-static g libffi-dev
llvm18-dev llvm18-static g libffi-dev

CMD ["/bin/sh"]
2 changes: 1 addition & 1 deletion docker/ubuntu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 23,7 @@ FROM runtime as build

RUN \
apt-get update && \
apt-get install -y build-essential llvm-15 lld-15 libedit-dev gdb libffi-dev && \
apt-get install -y build-essential llvm-18 lld-18 libedit-dev gdb libffi-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN ln -sf /usr/bin/ld.lld-15 /usr/bin/ld.lld
Expand Down
4 changes: 2 additions & 2 deletions linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 23,7 @@ FROM alpine:3.20
# Install dependencies
RUN apk add --no-cache \
# Statically-compiled llvm
llvm15-dev llvm15-static \
llvm18-dev llvm18-static \
# Static stdlib dependencies
gc-dev zlib-static yaml-static libxml2-static pcre2-dev libevent-static zstd-static \
# Static compiler dependencies
Expand All @@ -40,7 40,7 @@ ENV CFLAGS="-fPIC -pipe ${release: -O2}"
# This particularly affects libgc which was bundled upto Crystal 1.12
ENV CRYSTAL_LIBRARY_PATH=""

RUN llvm15-config --version
RUN llvm18-config --version

ARG previous_crystal_release
ADD ${previous_crystal_release} /tmp/crystal.tar.gz
Expand Down