Update opencv and openssl build shell script for jobs
Signed-off-by: guowenxue <guowenxue@gmail.com>
| | |
| | | { |
| | | 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 |
| | | |
| | |
| | | -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" |
| | | } |
| | | |
| | |
| | | ./Configure threads -shared -no-zlib --prefix=$PREFIX_PATH --openssldir=$PREFIX_PATH linux-armv4 |
| | | check_result "ERROR: configure ${LIB_NAME} failure" |
| | | |
| | | make && make install |
| | | make -j ${JOBS} && make install |
| | | check_result "ERROR: compile ${LIB_NAME} failure" |
| | | } |
| | | |