Commit 87b25083 authored by Ryan Scott's avatar Ryan Scott Committed by Ben Gamari

aarch64-linux-deb9, armv7-linux-deb9: Fix LLVM extraction (again)

parent 788b9026
......@@ -18,7 +18,7 @@ RUN apt-get update \
# Boot LLVM
ENV PATH /usr/local/bin:$PATH
ENV LLVM_TARBALL http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-aarch64-linux-gnu.tar.xz
RUN curl $LLVM_TARBALL | tar -xJC .. && \
RUN curl $LLVM_TARBALL | tar -xJC . && \
mkdir /opt/llvm6 && \
cp -R clang+llvm*/* /opt/llvm6 && \
rm -R clang+llvm* && \
......
......@@ -19,7 +19,7 @@ RUN apt-get update \
# Boot LLVM
ENV PATH /usr/local/bin:$PATH
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 .. && \
RUN curl $LLVM_TARBALL | tar -xJC . && \
mkdir /opt/llvm5 && \
cp -R clang+llvm*/* /opt/llvm5 && \
rm -R clang+llvm* && \
......@@ -40,7 +40,7 @@ RUN ghc --version
ENV LLVM_TARBALL http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-armv7a-linux-gnueabihf.tar.xz
ENV LLC /opt/llvm7/bin/llc
ENV OPT /opt/llvm7/bin/opt
RUN curl $LLVM_TARBALL | tar -xJC .. && \
RUN curl $LLVM_TARBALL | tar -xJC . && \
mkdir /opt/llvm7 && \
cp -R clang+llvm*/* /opt/llvm7 && \
rm -R clang+llvm* && \
......
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