mirror of https://git.tukaani.org/xz.git
ci: build in parallel by default
This commit is contained in:
parent
65bf7e0a1c
commit
8709407a9e
|
@ -48,6 +48,8 @@ DEST_DIR="$SRC_DIR/../xz_build"
|
|||
PHASE="all"
|
||||
ARTIFACTS_DIR_NAME="output"
|
||||
|
||||
[[ -z ${CPU_COUNT} ]] && { CPU_COUNT=$(nproc 2>/dev/null || sysctl -n hw.ncpu); }
|
||||
[[ -z ${MAKEFLAGS} ]] && export MAKEFLAGS="-j${CPU_COUNT} -l${CPU_COUNT}"
|
||||
[[ -z ${CFLAGS} ]] && export CFLAGS="-O2"
|
||||
|
||||
###################
|
||||
|
|
Loading…
Reference in New Issue