Skip to content

Commit 7c18cc7

Browse files
committed
[TEST] scripts: build: Reduce build parallelism
1 parent 295d79b commit 7c18cc7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

scripts/build_openocd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ elif [[ "${BUILD_HOST}" =~ ^macos-.* ]]; then
8787
--prefix=${BUILD_SYSROOT} \
8888
--enable-static \
8989
--disable-shared
90-
make -j
90+
make -j$(nproc)
9191
make install
9292
popd
9393

@@ -139,7 +139,7 @@ ${BUILD_SOURCE}/configure \
139139
${OPENOCD_FLAGS} \
140140
--prefix="${BUILD_PREFIX}"
141141

142-
make -j
142+
make -j$(nproc)
143143
make install
144144

145145
popd

scripts/build_qemu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ ${BUILD_SOURCE}/configure \
143143
--prefix="${BUILD_PREFIX}"
144144

145145
# Build QEMU
146-
make -j
146+
make -j$(nproc)
147147

148148
# Install QEMU
149149
make install

scripts/build_qemu_arc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ ${BUILD_SOURCE}/configure \
133133
--prefix="${BUILD_PREFIX}"
134134

135135
# Build QEMU
136-
make -j
136+
make -j$(nproc)
137137

138138
# Install QEMU
139139
make install

scripts/build_wget.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ${BUILD_SOURCE}/configure \
8383
${WGET_FLAGS} \
8484
--prefix="${BUILD_PREFIX}"
8585

86-
make -j
86+
make -j$(nproc)
8787
make install
8888

8989
# Install root CA certificates (Mozilla CA certificate store)

0 commit comments

Comments
 (0)