mirror of
https://git.tukaani.org/xz.git
synced 2025-03-31 04:40:56 +00:00
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…
x
Reference in New Issue
Block a user