aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-19 03:21:29 +0900
committerOphestra <cat@gensokyo.uk>2026-01-19 03:21:29 +0900
commit6a01a55d7e398de9d12f0c96fb4fa176bcc3c794 (patch)
tree4511a7cbdc0bb7d42f1bc902f343ded92856c4c6
parentb14964a66ddfb9cd575c66da35a030ffe6fb57ea (diff)
internal/rosa: parallel cmake bootstrap
This takes a very long time otherwise. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/cmake.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go
index ef91a725..b586fea4 100644
--- a/internal/rosa/cmake.go
+++ b/internal/rosa/cmake.go
@@ -23,7 +23,9 @@ chmod -R +w /usr/src/cmake/Tests
cd "$(mktemp -d)"
/usr/src/cmake/bootstrap \
- --prefix=/system -- \
+ --prefix=/system \
+ --parallel="$(nproc)" \
+ -- \
-DCMAKE_USE_OPENSSL=OFF
make "-j$(nproc)"
make DESTDIR=/work install