From ffd3c1a76c860efc31389bd019f06d223f4d748b Mon Sep 17 00:00:00 2001 From: zplin Date: Thu, 16 Apr 2026 18:32:13 +0000 Subject: [PATCH 1/2] Use cmake --parallel instead of hardcoded -j4 for iceoryx and cyclonedds --- repositories/cyclonedds.BUILD.bazel | 3 +-- repositories/iceoryx.BUILD.bazel | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/repositories/cyclonedds.BUILD.bazel b/repositories/cyclonedds.BUILD.bazel index 7cdf8275..4ec5b1c0 100644 --- a/repositories/cyclonedds.BUILD.bazel +++ b/repositories/cyclonedds.BUILD.bazel @@ -138,8 +138,7 @@ cache_entries_without_shm = { cmake( name = "cyclonedds", build_args = [ - "--", - "-j4", + "--parallel", ], cache_entries = select( { diff --git a/repositories/iceoryx.BUILD.bazel b/repositories/iceoryx.BUILD.bazel index 34d9497c..e8b2d923 100644 --- a/repositories/iceoryx.BUILD.bazel +++ b/repositories/iceoryx.BUILD.bazel @@ -25,8 +25,7 @@ cache_entries_qnx = { cmake( name = "iceoryx", build_args = [ - "--", # <- Pass options to the native tool. - "-j4", + "--parallel", ], cache_entries = selects.with_or( { From 498f97ddbaea1e682f6955bc93985eb902b7719c Mon Sep 17 00:00:00 2001 From: zplin Date: Fri, 17 Apr 2026 22:02:25 +0000 Subject: [PATCH 2/2] more parallel --- repositories/curl.BUILD.bazel | 3 +-- repositories/yaml-cpp.BUILD.bazel | 3 +-- repositories/zstd.BUILD.bazel | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/repositories/curl.BUILD.bazel b/repositories/curl.BUILD.bazel index 3f8c240c..b6917b60 100644 --- a/repositories/curl.BUILD.bazel +++ b/repositories/curl.BUILD.bazel @@ -12,8 +12,7 @@ filegroup( cmake( name = "curl", build_args = [ - "--", - "-j4", + "--parallel", ], cache_entries = { "CMAKE_POSITION_INDEPENDENT_CODE": "ON", # Must be set! diff --git a/repositories/yaml-cpp.BUILD.bazel b/repositories/yaml-cpp.BUILD.bazel index d2fd5d18..ddf1ebb2 100644 --- a/repositories/yaml-cpp.BUILD.bazel +++ b/repositories/yaml-cpp.BUILD.bazel @@ -12,8 +12,7 @@ filegroup( cmake( name = "yaml-cpp", build_args = [ - "--", - "-j4", + "--parallel", ], cache_entries = { "BUILD_SHARED_LIBS": "OFF", diff --git a/repositories/zstd.BUILD.bazel b/repositories/zstd.BUILD.bazel index 5bc3f456..e07b14da 100644 --- a/repositories/zstd.BUILD.bazel +++ b/repositories/zstd.BUILD.bazel @@ -12,8 +12,7 @@ filegroup( cmake( name = "zstd", build_args = [ - "--", - "-j4", + "--parallel", ], cache_entries = { "ZSTD_BUILD_PROGRAMS": "OFF",