aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-11-27 00:40:45 +0900
committerOphestra <cat@gensokyo.uk>2026-11-27 00:40:45 +0900
commit6ac505ba631475a1f060ea9cb34f3d01de918b89 (patch)
tree6f1670d786a7e8b67af3074cf12b5b3f5ae7860f
parent645cd94efc970b7ecacefc29fe78153608ade11d (diff)
internal/rosa/cmake: set CTEST_PARALLEL_LEVEL
At some point, cmake no longer respected -j passed to make when invoking test suite through the makefile. This change sets CTEST_PARALLEL_LEVEL explicitly when falling back to make. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/cmake.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go
index ccb128aa..6fb7cbe8 100644
--- a/internal/rosa/cmake.go
+++ b/internal/rosa/cmake.go
@@ -86,7 +86,7 @@ func (attr *CMakeHelper) script(t Toolchain, _ string) string {
test := "ninja " + jobsFlagE + " " + loadFlagE + " test"
if attr.Make {
generate = "'Unix Makefiles'"
- test = "make " + jobsFlagE + " " + loadFlagE + " test"
+ test = "make CTEST_PARALLEL_LEVEL=" + jobsE + " test"
}
if attr.Test != "" {
test = attr.Test