Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed lit install on ARCH Linux #93

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile_archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ FROM archlinux

ENV LLVM_DIR /usr/
ENV TUTOR_DIR /llvm-tutor
ENV VNEV_DIR /venv

# 1. INSTALL DEPENDENCIES
RUN pacman -Syu --noconfirm \
Expand All @@ -26,7 +27,9 @@ RUN pacman -Syu --noconfirm \
python-pip

# 2. INSTALL LIT
RUN pip3 install lit
RUN python3 -m venv $VENV_DIR
RUN source ./env/bin/activate
RUN pip install lit

# 3. CLONE LLVM-TUTOR
RUN git clone https://github.com/banach-space/llvm-tutor $TUTOR_DIR
Expand All @@ -44,4 +47,4 @@ RUN mkdir -p $TUTOR_DIR/build \
&& cd $TUTOR_DIR/build \
&& cmake -G Ninja -DLT_LLVM_INSTALL_DIR=$LLVM_DIR ../ \
&& ninja \
&& lit test/
&& $VNEV_DIR/bin/lit test/
Loading