From ea94f19d48a9a737c81ba887b16cc0cca93b2efc Mon Sep 17 00:00:00 2001 From: Weili An Date: Fri, 23 Aug 2024 16:29:58 -0400 Subject: [PATCH] sst-integration: fix wrong env name --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8be7a34..438180d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,12 @@ ADD . /accel-sim ENV CUDA_INSTALL_PATH /usr/local/cuda-11.7 ENV PTXAS_CUDA_INSTALL_PATH /usr/local/cuda-11.7 ENV GPUAPPS_ROOT /accel-sim/gpu-app-collection +ENV LLVM_INSTALL_PATH /accel-sim/llvm-install +ENV RISCV_TOOLCHAIN_INSTALL_PATH /accel-sim/riscv-gnu-install # Build LLVM 18.1.8 # RUN git clone https://github.com/llvm/llvm-project.git \ # && mkdir llvm-install \ -# && export LLVM_INSTALL_PATH=$(pwd)/llvm-install \ # && cd llvm-project \ # && git checkout llvmorg-18.1.8 \ # && mkdir build && cd build \ @@ -26,10 +27,9 @@ ENV GPUAPPS_ROOT /accel-sim/gpu-app-collection RUN apt-get update && apt-get -y install autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev libslirp-dev RUN git clone https://github.com/riscv-collab/riscv-gnu-toolchain.git \ && mkdir riscv-gnu-install \ -&& export RISCV_TOOLCHAIN_INSTALL_PATH=$(pwd)/riscv-gnu-install \ && cd riscv-gnu-toolchain \ && git checkout 2024.08.06 \ -&& ./configure --prefix=$RISCV_INSTALL_PATH \ +&& ./configure --prefix=$RISCV_TOOLCHAIN_INSTALL_PATH \ && make linux -j4 \ && cd ..