Commit 0c6b1393 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

Bootstrap with GHC 8.4.4

parent c8cc22c7
......@@ -17,18 +17,18 @@ RUN apt-get update \
# Boot LLVM
ENV PATH /usr/local/bin:$PATH
ENV LLVM_TARBALL http://releases.llvm.org/6.0.1/clang+llvm-6.0.1-armv7a-linux-gnueabihf.tar.xz
ENV LLVM_TARBALL http://releases.llvm.org/5.0.1/clang+llvm-5.0.1-armv7a-linux-gnueabihf.tar.xz
RUN curl $LLVM_TARBALL | tar -xJC .. && \
mkdir /opt/llvm6 && \
cp -R clang+llvm*/* /opt/llvm6 && \
mkdir /opt/llvm5 && \
cp -R clang+llvm*/* /opt/llvm5 && \
rm -R clang+llvm* && \
/opt/llvm6/bin/llc --version
/opt/llvm5/bin/llc --version
# GHC
RUN curl http://home.smart-cactus.org/~ben/ghc/ghc-8.6.5-arm-unknown-linux.tar.xz | tar -xJ
RUN curl http://home.smart-cactus.org/~ben/ghc/ghc-8.4.4-arm-unknown-linux.tar.xz | tar -xJ
#RUN curl http://downloads.haskell.org/~ghc/8.6.2/ghc-8.6.2-aarch64-ubuntu_bionic-linux.tar.xz | tar -xJ
WORKDIR /ghc-8.6.5
RUN ./configure --prefix=/usr/local LLC=/opt/llvm6/bin/llc OPT=/opt/llvm6/bin/opt && \
WORKDIR /ghc-8.4.4
RUN ./configure --prefix=/usr/local LLC=/opt/llvm5/bin/llc OPT=/opt/llvm5/bin/opt && \
make install
WORKDIR /
RUN rm -Rf 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