Commit ecb41240 authored by Ryan Scott's avatar Ryan Scott Committed by Ben Gamari

aarch64-linux-deb9, armv7-linux-deb9: Explicitly add LLVM to PATH

parent 87b25083
......@@ -37,13 +37,12 @@ RUN ghc --version
# LLVM
ENV LLVM_TARBALL http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-aarch64-linux-gnu.tar.xz
ENV LLC /opt/llvm7/bin/llc
ENV OPT /opt/llvm7/bin/opt
ENV PATH /opt/llvm7/bin:$PATH
RUN curl $LLVM_TARBALL | tar -xJC . && \
mkdir /opt/llvm7 && \
cp -R clang+llvm*/* /opt/llvm7 && \
rm -R clang+llvm* && \
$LLC --version
llc --version
# Cabal
ENV CABAL_VERSION 3.0.0.0
......
......@@ -38,13 +38,12 @@ RUN ghc --version
# LLVM
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
ENV PATH /opt/llvm7/bin:$PATH
RUN curl $LLVM_TARBALL | tar -xJC . && \
mkdir /opt/llvm7 && \
cp -R clang+llvm*/* /opt/llvm7 && \
rm -R clang+llvm* && \
$LLC --version
llc --version
# Cabal
ENV CABAL_VERSION 3.0.0.0
......
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