HADOOP-17509. Parallelize building of dependencies (#2669)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org> (cherry picked from commit6c891c0dd4
) (cherry picked from commit23ada04dac
)
This commit is contained in:
parent
bcd9fa64a9
commit
66bca98db0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue