Skip to content

Commit

Permalink
sst-integration: fix wrong env name
Browse files Browse the repository at this point in the history
  • Loading branch information
William-An committed Aug 23, 2024
1 parent 5b1df09 commit ea94f19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 ..

Expand Down

0 comments on commit ea94f19

Please sign in to comment.