Reduce cores for gdb build to prevent failures (#8166)

This commit is contained in:
jonathanmetzman 2022-08-08 17:47:12 -04:00 committed by GitHub
parent 10b8aeddd7
commit 18bb7080ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -21,5 +21,5 @@ RUN apt-get update && apt-get install -y valgrind zip
RUN apt-get install -y build-essential libgmp-dev && \
wget https://ftp.gnu.org/gnu/gdb/gdb-12.1.tar.xz && \
tar -xf gdb-12.1.tar.xz && cd gdb-12.1 && ./configure && \
make -j && make install && cd .. && rm -rf gdb-12.1* && \
apt-get remove --purge -y build-essential libgmp-dev
make -j $(expr $(nproc) / 2) && make install && cd .. && \
rm -rf gdb-12.1* && apt-get remove --purge -y build-essential libgmp-dev