Merge pull request #56 from dman776/build_updates

build: correct nproc command
This commit is contained in:
dman776 2020-12-17 16:01:39 -06:00 committed by GitHub
commit 0913db7b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ jobs:
name: Update Config.mk
command: |
export MY_WORKING_DIRECTORY=`pwd`
export MY_PROCS=`nprocs`
export MY_PROCS=`nproc`
echo "Procs: ${MY_PROCS}"
sed -i "s/NoCall/${CIRCLE_BUILD_NUM}/g" ${MY_WORKING_DIRECTORY}/config.mk
sed -i "s/MAKE_ARGS=-j3/MAKE_ARGS=-j${MY_PROCS}/g" ${MY_WORKING_DIRECTORY}/config.mk