Merge pull request #8087 from SomberNight/20221204_build_nproc_2
CI: AppImage build is failing with `Container errored with 'OOMKilled'`
This commit is contained in:
@@ -258,7 +258,7 @@ task:
|
|||||||
container:
|
container:
|
||||||
dockerfile: contrib/build-linux/appimage/Dockerfile
|
dockerfile: contrib/build-linux/appimage/Dockerfile
|
||||||
cpu: 2
|
cpu: 2
|
||||||
memory: 1G
|
memory: 2G
|
||||||
pip_cache:
|
pip_cache:
|
||||||
folder: contrib/build-linux/appimage/.cache/pip_cache
|
folder: contrib/build-linux/appimage/.cache/pip_cache
|
||||||
fingerprint_script:
|
fingerprint_script:
|
||||||
|
|||||||
@@ -130,6 +130,7 @@ fi
|
|||||||
|
|
||||||
export GCC_STRIP_BINARIES="${GCC_STRIP_BINARIES:-0}"
|
export GCC_STRIP_BINARIES="${GCC_STRIP_BINARIES:-0}"
|
||||||
export CPU_COUNT="$(nproc 2> /dev/null || sysctl -n hw.ncpu)"
|
export CPU_COUNT="$(nproc 2> /dev/null || sysctl -n hw.ncpu)"
|
||||||
|
info "Found $CPU_COUNT CPUs, which we might use for building."
|
||||||
|
|
||||||
|
|
||||||
function break_legacy_easy_install() {
|
function break_legacy_easy_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user