mirror of
https://git.tukaani.org/xz.git
synced 2025-02-17 14:08:12 +00:00
ci: build in parallel by default
(cherry picked from commit 8709407a9ef8e7e8aec117879400e4dd3e227ada)
This commit is contained in:
parent
4381fcf00b
commit
aea54a4724
@ -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