File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ RUN apt-get update && \
1414 tree \
1515 time \
1616 curl \
17+ gawk \
1718 # build toolchain
1819 autoconf \
1920 build-essential \
@@ -23,20 +24,21 @@ RUN apt-get update && \
2324 bison \
2425 m4 \
2526 scons \
26- gcc-11 \
27- gcc \
28- g++ \
29- gcc-riscv64-linux-gnu \
3027 verilator \
3128 clang \
3229 llvm \
3330 mold \
3431 pkg-config \
3532 python3-pip \
3633 device-tree-compiler \
34+ # install gcc 11 to sync with our server environment
35+ gcc-11 \
36+ g++-11 \
37+ gcc-11-riscv64-linux-gnu \
3738 # runtime
3839 openjdk-21-jre \
3940 # libraries
41+ libc6-dev-riscv64-cross \
4042 libreadline6-dev \
4143 libsdl2-dev \
4244 zlib1g \
@@ -62,9 +64,17 @@ RUN curl -L https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/1.0.4/mill-dist
6264RUN python3 -m pip install --break-system-packages \
6365 jupyter \
6466 notebook \
65- matplotlib
67+ # for performance analysis scripts
68+ matplotlib \
69+ numpy \
70+ pandas \
71+ scipy
72+
73+ # use gcc-11 to sync with our server environment
74+ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 && \
75+ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100 && \
76+ update-alternatives --install /usr/bin/riscv64-linux-gnu-gcc riscv64-linux-gnu-gcc /usr/bin/riscv64-linux-gnu-gcc-11 100
6677
67- # use gcc-11 and g++-11 as default gcc and g++ for GEM5
6878# also use python3.9-config as default python3-config for GEM5 scons script
6979RUN rm /usr/bin/python3-config && \
7080 ln -s /usr/bin/python3.9-config /usr/bin/python3-config
You can’t perform that action at this time.
0 commit comments