Run make with as many cores as available

This commit is contained in:
Eric Anderson 2015-09-17 15:32:27 -07:00
parent 7677525c37
commit 1d8af602f7
1 changed files with 2 additions and 2 deletions

View File

@ -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 \