From 530fbdca0bc982ac61a4633e81fce84fbbb7654f Mon Sep 17 00:00:00 2001 From: Joren Dumoulin Date: Wed, 22 Nov 2023 12:08:59 +0100 Subject: [PATCH] add numpy --- container/Dockerfile | 6 ++++++ requirements.txt | 1 + 2 files changed, 7 insertions(+) diff --git a/container/Dockerfile b/container/Dockerfile index 70dbca1b..b84f8341 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