Skip to content

Commit 4d13fcd

Browse files
authored
Merge pull request #6 from LAhmos/app_collection
add app collection to docker image
2 parents b1560f5 + accc022 commit 4d13fcd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@ FROM nvidia/cuda:12.8.0-cudnn-devel-ubuntu24.04
33
SHELL ["/bin/bash", "-c"]
44

55
WORKDIR /accel-sim
6-
ADD . /accel-sim
76

87
ENV CUDA_INSTALL_PATH=/usr/local/cuda
98
ENV PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda
109
ENV BOOST_ROOT=/usr/include/boost
11-
#ENV GPUAPPS_ROOT /accel-sim/gpu-app-collection
10+
ENV PATH=$CUDA_INSTALL_PATH/bin:$PATH
1211

13-
RUN apt-get update
14-
RUN apt-get install -y wget build-essential xutils-dev bison zlib1g-dev flex \
12+
ENV GPUAPPS_ROOT=/accel-sim/gpu-app-collection
13+
14+
RUN apt-get update && apt-get install -y wget build-essential xutils-dev bison zlib1g-dev flex \
1515
libglu1-mesa-dev git g++ libssl-dev libxml2-dev libboost-all-dev git g++ \
1616
libxml2-dev vim python3-setuptools python3-pip python3-venv cmake \
1717
libfreeimage3 libfreeimage-dev freeglut3-dev pkg-config \
18-
python3-doc python3-tk python3.12-venv python3.12-doc binfmt-support psmisc apt-utils
19-
RUN apt-get clean
18+
python3-doc python3-tk python3.12-venv python3.12-doc binfmt-support psmisc apt-utils && apt-get clean
19+
20+
2021

2122
# Create and activate a virtual environment, venv is needed because of PEP 668
2223
RUN python3 -m venv /venv
2324
ENV PATH="/venv/bin:$PATH"
2425
RUN pip3 install --upgrade pip
2526
RUN pip3 install pyyaml plotly psutil
2627

28+
RUN git clone --recurse-submodules https://github.com/accel-sim/gpu-app-collection.git && cd gpu-app-collection && bash test-build.sh && bash get_regression_data.sh

0 commit comments

Comments
 (0)