From bda59842677ff70f2426d45cfb9b220689acca84 Mon Sep 17 00:00:00 2001 From: jorendumoulin <47864363+jorendumoulin@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:20:43 +0100 Subject: [PATCH] add numpy to requirements (#27) * add numpy * typo --- container/Dockerfile | 6 ++++++ requirements.txt | 1 + 2 files changed, 7 insertions(+) diff --git a/container/Dockerfile b/container/Dockerfile index 70dbca1b..d2ec9279 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -97,6 +97,12 @@ deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-16 main\n" >> /etc/apt # add python3.11 to path in bashrc RUN echo "export PATH=/opt/python3.11/bin:$PATH" >> ~/.bashrc +# install python requirements +RUN export PATH=/opt/python3.11/bin:$PATH \ + && git clone https://github.com/kuleuven-micas/snax-mlir.git \ + && cd snax-mlir \ + && pip3 install -r requirements.txt + # install latest xdsl and test dependencies RUN export PATH=/opt/python3.11/bin:$PATH \ && pip3 install git+https://github.com/xdslproject/xdsl.git@4c04de0a16df7c3b29f81aa66a7a2603d6b80f1e\ diff --git a/requirements.txt b/requirements.txt index 753d57f4..77ca6a45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ pre-commit filecheck lit +numpy