Skip to content

Commit bcc6682

Browse files
author
tosaki
committed
perf: compile OpenWrt using all available CPU cores instead of a fixed two
1 parent 8223ae7 commit bcc6682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-openwrt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
144144
echo -e "$(nproc) thread compile for ${{ matrix.branch }} / ${{ matrix.config }}"
145145
146-
make -j2 EXTRA_IMAGE_NAME="${CUSTOM_EXTRA_NAME}" || { \
146+
make -j$(nproc) EXTRA_IMAGE_NAME="${CUSTOM_EXTRA_NAME}" || { \
147147
rm -rf build_dir/target-*/intel-microcode-*/*ipkg* tmp pkginfo 2>/dev/null || true; \
148148
make package/firmware/intel-microcode/clean V=s || true; \
149149
make -j1 V=s EXTRA_IMAGE_NAME="${CUSTOM_EXTRA_NAME}"; \

0 commit comments

Comments
 (0)