From 1d8af602f73f75baae712a796f77bc6108f09faf Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 17 Sep 2015 15:32:27 -0700 Subject: [PATCH] Run make with as many cores as available --- compiler/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/Dockerfile b/compiler/Dockerfile index df92927378..1c4bb4910a 100644 --- a/compiler/Dockerfile +++ b/compiler/Dockerfile @@ -4,11 +4,11 @@ RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \ git fetch && \ git checkout v3.0.0-beta-1 && \ ./autogen.sh && \ - CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \ + CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 -j$(nproc) && \ make clean && make && make install"' RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \ - CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 && \ + CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 -j$(nproc) && \ make clean && make && make install"' ENV CXXFLAGS=-I/protobuf-32/include \