Commit 881c842b authored by Ben Gamari's avatar Ben Gamari 🐢

x86_64-linux-deb9: Drop LLVM

LLVM 10 doesn't provide a binary distribution for Debian 9.
parent fdc69d8a
...@@ -48,17 +48,6 @@ ENV CABAL_VERSION 3.0.0.0 ...@@ -48,17 +48,6 @@ ENV CABAL_VERSION 3.0.0.0
RUN curl -L https://downloads.haskell.org/cabal/cabal-install-$CABAL_VERSION/cabal-install-$CABAL_VERSION-x86_64-unknown-linux.tar.xz | tar -Jx && \ RUN curl -L https://downloads.haskell.org/cabal/cabal-install-$CABAL_VERSION/cabal-install-$CABAL_VERSION-x86_64-unknown-linux.tar.xz | tar -Jx && \
mv cabal /usr/local/bin/cabal mv cabal /usr/local/bin/cabal
# LLVM
ENV LLVM_DIR /opt/llvm
ENV LLVM_VERSION 9.0.0
ENV PATH $LLVM_DIR/bin:$PATH
RUN curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz \
| tar -xJC .; \
mkdir $LLVM_DIR && \
cp -R clang+llvm*/* $LLVM_DIR && \
rm -R clang+llvm* && \
llc --version
# Create a normal user. # Create a normal user.
RUN adduser ghc --gecos "GHC builds" --disabled-password RUN adduser ghc --gecos "GHC builds" --disabled-password
RUN echo "ghc ALL = NOPASSWD : ALL" > /etc/sudoers.d/ghc RUN echo "ghc ALL = NOPASSWD : ALL" > /etc/sudoers.d/ghc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment