Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jan 19, 2024

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 9eefdcc1dd820a936684168468fa9c81960ea461:

configure: enable NVME_URING_CMD checking for Android (2024-01-17 09:11:15 -0700)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to aa84b5ba581add84ce6e73b20ca0fbd04f6058c8:

ci: stop hard coding number of jobs for make (2024-01-18 13:00:31 -0500)

----------------------------------------------------------------
Vincent Fu (1):
ci: stop hard coding number of jobs for make

 ci/actions-build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

---

Diff of recent changes:

ci/actions-build.sh +3 -1
index 31d3446c..47d4f044 100755
@@ -61,7 +61,9 @@ main() {
     configure_flags+=(--extra-cflags="${extra_cflags}")
 
     ./configure "${configure_flags[@]}"
-    make -j 2
+    make -j "$(nproc 2>/dev/null || sysctl -n hw.logicalcpu)"
+# macOS does not have nproc, so we have to use sysctl to obtain the number of
+# logical CPUs.
 }
 
 main