perf(web): reuse incremental build and status caches
This commit is contained in:
@@ -20,8 +20,10 @@ if test -d /dev/shm && test -w /dev/shm; then
|
||||
export EM_CACHE="${EM_CACHE:-$WEB_RAM_CACHE_ROOT/emcache}"
|
||||
export TMPDIR="${TMPDIR:-$WEB_RAM_CACHE_ROOT/tmp}"
|
||||
fi
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL="${CMAKE_BUILD_PARALLEL_LEVEL:-8}"
|
||||
export NINJAFLAGS="${NINJAFLAGS:--j8}"
|
||||
WEB_BUILD_JOBS="${WEB_BUILD_JOBS:-$(WEB_BUILD_MEMORY_GIB_PER_JOB=4 WEB_BUILD_JOBS_CAP=16 bash "$ROOT_DIR/tools/web/compute-build-jobs.sh")}"
|
||||
export WEB_BUILD_JOBS
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL="${CMAKE_BUILD_PARALLEL_LEVEL:-$WEB_BUILD_JOBS}"
|
||||
export NINJAFLAGS="${NINJAFLAGS:--j$WEB_BUILD_JOBS}"
|
||||
|
||||
mkdir -p "$CONTROL_DIR"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user