diff --git a/gitlab-build.sh b/gitlab-build.sh
index 59ff1cd51681573c96cd4d5f5f8a74cd0ae44f70..e4dcb7d8d0e7c66f16fe3bbd73317717c1096dce 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -38,8 +38,8 @@ HERE
 
 	echo "**** Updating $PAGES_URL/$VER_DIR ****"
 
-	sphinx-build -b html . public/$VER_DIR/
-	sphinx-build -M latexpdf . public/$VER_DIR/
+	sphinx-build -j auto -b html . public/$VER_DIR/
+	sphinx-build -j auto -M latexpdf . public/$VER_DIR/
 	pdfcpu optimize public/$VER_DIR/latex/beagleboard-docs.pdf
 	mv public/$VER_DIR/latex/beagleboard-docs.pdf public/$VER_DIR/
 	rm -rf public/$VER_DIR/latex