Skip to content

Commit 66bca98

Browse files
GauthamBanasandrajojochuang
authored andcommitted
HADOOP-17509. Parallelize building of dependencies (#2669)
Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 6c891c0) (cherry picked from commit 23ada04)
1 parent bcd9fa6 commit 66bca98

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dev-support/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ RUN mkdir -p /opt/protobuf-src \
126126
&& tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src \
127127
&& cd /opt/protobuf-src \
128128
&& ./configure --prefix=/opt/protobuf \
129+
&& make "-j$(nproc)" \
129130
&& make install \
130131
&& cd /root \
131132
&& rm -rf /opt/protobuf-src
@@ -192,7 +193,7 @@ RUN mkdir -p /opt/isa-l-src \
192193
&& cd /opt/isa-l-src \
193194
&& ./autogen.sh \
194195
&& ./configure \
195-
&& make \
196+
&& make "-j$(nproc)" \
196197
&& make install \
197198
&& cd /root \
198199
&& rm -rf /opt/isa-l-src

dev-support/docker/Dockerfile_aarch64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ RUN mkdir -p /opt/protobuf-src \
117117
&& tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src \
118118
&& cd /opt/protobuf-src \
119119
&& ./configure --prefix=/opt/protobuf \
120+
&& make "-j$(nproc)" \
120121
&& make install \
121122
&& cd /root \
122123
&& rm -rf /opt/protobuf-src

0 commit comments

Comments
 (0)