show / openpose /scripts /CI /run_make.sh
camenduru's picture
thanks to show ❤
3bbb319
#!/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