mirror of https://github.com/grpc/grpc-java.git
Run make with as many cores as available
This commit is contained in:
parent
7677525c37
commit
1d8af602f7
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue