Hide getconf errors

This commit is contained in:
Frank Denis 2018-03-07 10:09:56 +01:00
parent e1618774a8
commit 816cef5de4
6 changed files with 6 additions and 6 deletions

View File

@ -84,7 +84,7 @@ if [ "$NDK_PLATFORM" != "$NDK_PLATFORM_COMPAT" ]; then
fi fi
NPROCESSORS=$(getconf _NPROCESSORS_ONLN) NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3} PROCESSORS=${NPROCESSORS:-3}
make clean && \ make clean && \

View File

@ -45,7 +45,7 @@ fi
--prefix="$SIMULATOR32_PREFIX" || exit 1 --prefix="$SIMULATOR32_PREFIX" || exit 1
NPROCESSORS=$(getconf _NPROCESSORS_ONLN) NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3} PROCESSORS=${NPROCESSORS:-3}
make -j${PROCESSORS} install || exit 1 make -j${PROCESSORS} install || exit 1

View File

@ -31,7 +31,7 @@ fi
--prefix="$PREFIX" || exit 1 --prefix="$PREFIX" || exit 1
NPROCESSORS=$(getconf _NPROCESSORS_ONLN) NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3} PROCESSORS=${NPROCESSORS:-3}
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1

View File

@ -23,7 +23,7 @@ fi
--disable-ssp --without-pthreads \ --disable-ssp --without-pthreads \
--prefix="$PREFIX" || exit 1 --prefix="$PREFIX" || exit 1
NPROCESSORS=$(getconf _NPROCESSORS_ONLN) NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3} PROCESSORS=${NPROCESSORS:-3}
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1

View File

@ -23,7 +23,7 @@ fi
--prefix="$PREFIX" || exit 1 --prefix="$PREFIX" || exit 1
NPROCESSORS=$(getconf _NPROCESSORS_ONLN) NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3} PROCESSORS=${NPROCESSORS:-3}
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1

View File

@ -21,7 +21,7 @@ fi
--prefix="$PREFIX" || exit 1 --prefix="$PREFIX" || exit 1
NPROCESSORS=$(getconf _NPROCESSORS_ONLN) NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
PROCESSORS=${NPROCESSORS:-3} PROCESSORS=${NPROCESSORS:-3}
make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1