mirror of https://github.com/grpc/grpc-java.git
Pass -j to correct command
Passing -j to ./configure produces an error
This commit is contained in:
parent
12a4b21f74
commit
daf920d4b4
|
|
@ -4,12 +4,12 @@ RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
|
||||||
git fetch && \
|
git fetch && \
|
||||||
git checkout v3.0.0-beta-2 && \
|
git checkout v3.0.0-beta-2 && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 -j$(nproc) && \
|
CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \
|
||||||
make clean && make && make install"'
|
make clean && make -j$(nproc) && make -j$(nproc) install"'
|
||||||
|
|
||||||
RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
|
RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
|
||||||
CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 -j$(nproc) && \
|
CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 && \
|
||||||
make clean && make && make install"'
|
make clean && make -j$(nproc) && make -j$(nproc) install"'
|
||||||
|
|
||||||
ENV CXXFLAGS=-I/protobuf-32/include \
|
ENV CXXFLAGS=-I/protobuf-32/include \
|
||||||
LDFLAGS="-L/protobuf-32/lib -L/protobuf-64/lib"
|
LDFLAGS="-L/protobuf-32/lib -L/protobuf-64/lib"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue