From f06a049e5cf91616fdc2715c700ecefb8b146a97 Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Tue, 23 Jan 2024 11:34:10 -0500
Subject: [PATCH] ci: enable parallel

---
 gitlab-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitlab-build.sh b/gitlab-build.sh
index 199bf4d6..04c0cf4d 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -54,14 +54,14 @@ HERE
 
 		echo "**** make html ****"
 		# Build and serve HTML
-		make html BUILDDIR=public/$VER_DIR
+		make html -j$(nproc) BUILDDIR=public/$VER_DIR
 		mv public/$VER_DIR/html/* public/$VER_DIR/
 	fi
 
 	if [ "x$1" == "xpdf" ]; then
 		echo "**** make latexpdf ****"
 		# Build, optimize, and serve PDF
-		make latexpdf BUILDDIR=public/$VER_DIR
+		make latexpdf -j$(nproc) BUILDDIR=public/$VER_DIR
 
 		echo "**** pdfcpu ****"
 		pdfcpu version
-- 
GitLab