Skip to content

Commit

Permalink
Use clang-8 to build linux libgc and libcrystal (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian J. Cardiff authored Feb 9, 2020
1 parent 83a0b73 commit 70a3f17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ FROM ${debian_image} AS debian

RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y -t buster-backports build-essential libevent-dev libpcre3-dev automake libtool pkg-config git curl llvm-8 \
&& apt-get install -y -t buster-backports build-essential libevent-dev libpcre3-dev automake libtool pkg-config git curl llvm-8 clang-8 \
&& (pkg-config || true)

ARG release
ENV CFLAGS="-fPIC -pipe ${release:+-O2}"
ENV CC="clang-8"

# Build libgc
ARG gc_version
Expand Down

0 comments on commit 70a3f17

Please sign in to comment.