From bb0dcdba05434198f8af241df60a3d4a9d3a507c Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 16 Aug 2023 09:44:48 +0800
Subject: [PATCH] Add libxml2 build shell script

---
 opencv/build.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opencv/build.sh b/opencv/build.sh
index 64af066..c01570c 100755
--- a/opencv/build.sh
+++ b/opencv/build.sh
@@ -106,7 +106,7 @@
 {
 	BUILD_ARCH=$(uname -m)
 	if [[ $BUILD_ARCH =~ "arm" ]] ; then
-		pr_error "ERROR: local($BUILD_ARCH) compile $LIB_NAME not support"
+		pr_error "ERROR: local($BUILD_ARCH) compile $LIB_NAME not support for it's too slow"
 		exit 0;
 	fi
 
@@ -175,7 +175,7 @@
 		-DINSTALL_PYTHON_EXAMPLES=OFF -DBUILD_EXAMPLES=OFF -DWITH_FFMPEG=OFF -DHAVE_FFMPEG=OFF \
 		-DBUILD_opencv_js=OFF ../
 
-	make && make install
+	make -j ${JOBS} && make install
 	check_result "ERROR: compile ${LIB_NAME} failure"
 }
 

--
Gitblit v1.9.1