HADOOP-17509. Parallelize building of dependencies (#2669)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 6c891c0dd4)
This commit is contained in:
Gautham B A 2021-02-02 20:39:30 +05:30 committed by Wei-Chiu Chuang
parent 5e09d38b25
commit 23ada04dac
No known key found for this signature in database
GPG Key ID: B362E1C021854B9D
2 changed files with 3 additions and 1 deletions

View File

@ -126,6 +126,7 @@ RUN mkdir -p /opt/protobuf-src \
&& tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src \
&& cd /opt/protobuf-src \
&& ./configure --prefix=/opt/protobuf \
&& make "-j$(nproc)" \
&& make install \
&& cd /root \
&& rm -rf /opt/protobuf-src
@ -192,7 +193,7 @@ RUN mkdir -p /opt/isa-l-src \
&& cd /opt/isa-l-src \
&& ./autogen.sh \
&& ./configure \
&& make \
&& make "-j$(nproc)" \
&& make install \
&& cd /root \
&& rm -rf /opt/isa-l-src

View File

@ -117,6 +117,7 @@ RUN mkdir -p /opt/protobuf-src \
&& tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src \
&& cd /opt/protobuf-src \
&& ./configure --prefix=/opt/protobuf \
&& make "-j$(nproc)" \
&& make install \
&& cd /root \
&& rm -rf /opt/protobuf-src