openpose / scripts /CI /run_make.sh
JusJ7's picture
Duplicate from camenduru/openpose
b7f741c
#!/bin/bash
# Build the project
BASEDIR=$(dirname $0)
source $BASEDIR/defaults.sh
if [[ $WITH_CMAKE == true ]] ; then
cd build
if [[ "$CI_OS_NAME" == "linux" ]]; then make -j`nproc` ; fi
if [[ "$CI_OS_NAME" == "osx" ]]; then make -j`sysctl -n hw.logicalcpu` ; fi
else
if [[ "$CI_OS_NAME" == "linux" ]]; then make all -j`nproc` ; fi
if [[ "$CI_OS_NAME" == "osx" ]]; then make all -j`sysctl -n hw.logicalcpu` ; fi
fi