File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ RUN git clone https://github.com/riscv/riscv-gnu-toolchain.git \
8787 rv64im-lp64--; \
8888 " \
8989 && \
90- make -j"$(nproc)"
90+ make -j"$(nproc)" && \
91+ rm -rf /tmp/riscv-gnu-toolchain
9192
9293RUN git clone https://github.com/sifive/elf2hex.git \
9394 --no-checkout \
@@ -99,7 +100,8 @@ RUN git clone https://github.com/sifive/elf2hex.git \
99100 export CPPFLAGS='-g0 -DNDEBUG' && \
100101 ./configure --prefix="/usr/local" && \
101102 make -j"$(nproc)" && \
102- make install
103+ make install && \
104+ rm -rf /tmp/elf2hex
103105
104106RUN git clone https://github.com/riscv-software-src/riscv-isa-sim \
105107 --no-checkout \
@@ -111,7 +113,8 @@ RUN git clone https://github.com/riscv-software-src/riscv-isa-sim \
111113 export CPPFLAGS='-g0 -DNDEBUG' && \
112114 ./configure --prefix="/usr/local" && \
113115 make -j"$(nproc)" && \
114- make install
116+ make install && \
117+ rm -rf /tmp/riscv-isa-sim
115118
116119RUN git clone https://github.com/verilator/verilator \
117120 --no-checkout \
@@ -124,7 +127,8 @@ RUN git clone https://github.com/verilator/verilator \
124127 -DCMAKE_BUILD_TYPE=Release \
125128 && \
126129 cmake --build build -j"$(nproc)" && \
127- cmake --install build
130+ cmake --install build && \
131+ rm -rf /tmp/verilator
128132
129133FROM labs344-base as labs344-devel
130134ARG TARGETARCH TARGETOS TARGETPLATFORM TARGETVARIANT
You can’t perform that action at this time.
0 commit comments