SomberNight
3422bee585
build: use `$CIRRUS_CPU` to determine cpu count on CI
...
related https://github.com/cirruslabs/cirrus-ci-docs/issues/1115
3 years ago
SomberNight
feb75ec9e6
CI: AppImage build is failing with "Container errored with 'OOMKilled'"
...
"AppImage build" on the CI is failing with "Container errored with 'OOMKilled'" since 65ae281180
https://cirrus-ci.com/task/6506466559918080
https://cirrus-ci.com/task/6518283422662656
Apparently, when running in a Cirrus CI container, `nproc` returns the number of host CPUs,
instead of the number of cpus available to the container.
Opened upstream issue:
https://github.com/cirruslabs/cirrus-ci-docs/issues/1115
3 years ago
SomberNight
65ae281180
build: don't hardcode num worker threads "make -j4"
3 years ago
SomberNight
b5900eae98
contrib: reformat most shell scripts
...
Mostly just indentations.
For consistency, to conform to .editorconfig.
3 years ago
ThomasV
a99e0d9e17
build tools: set ZERO_AR_DATE to have deterministic timestamps on macOS
5 years ago
SomberNight
19f806ddf4
build: don't allow setuptools to sneakily install build-time deps
...
see https://pip.pypa.io/en/stable/reference/pip_install/#controlling-setup-requires
> Setuptools offers the setup_requires setup() keyword for specifying
> dependencies that need to be present in order for the setup.py
> script to run. Internally, Setuptools uses easy_install to
> fulfill these dependencies.
> pip has no way to control how these dependencies are located.
> None of the package index options have an effect.
With these changes, we will now instead hard fail if this were to happen.
related: https://github.com/spesmilo/electrum/issues/5859#issuecomment-743621898
5 years ago
SomberNight
21e46fb147
contrib: add instructions re cross-compiling libsecp to Linux x86
...
related: #6669
(note that instructions assume this commit as otherwise AUTOCONF_FLAGS is overwritten!)
based on https://stackoverflow.com/a/17748092
5 years ago
SomberNight
5b84e714f2
build: workaround for 'realpath' missing on macOS
6 years ago
SomberNight
4cec098d2d
build: create a standalone build script for libsecp256k1
...
heavily based on Electron-Cash/Electron-Cash@eda015908e9d6ea9a0adfbda9db55b929c0926ba
6 years ago
Axel Gembe
84ca7ef306
Build: Set a fixed umask before starting Docker
...
Umask seems to leak into Docker containers and causes the build to
not be reproducible accross different umasks.
-----
taken from Electron-Cash/Electron-Cash@984967b4080095354dac5d1e652563f331103f5f
6 years ago
SomberNight
47b07f19b9
build: factor out some utilities to build_tools_util.sh
7 years ago