SomberNight
4a0a3bb38a
contrib: shell scripts: add quotes around more variables
2025-09-02 17:33:06 +00:00
ghost43
77eb3ff01e
Merge pull request #10148 from accumulator/android_16kb_page_alignment
...
android: 16kb alignment updates
2025-09-01 16:12:24 +00:00
Sander van Grieken
87d82f38c5
android: 16kb alignment updates
...
p4a ref: electrum_20240930_android_16kb_page_alignment
Dockerfile: obtain 16kb aligned NDK r23 from google CI (dl-ndk-ci.sh)
barcode, zxing-cpp: add 16kb align patch
build_tools_util.sh: add function to apply a patch
2025-08-28 09:24:40 +02:00
SomberNight
d9480fe339
contrib: add "set -e" to bash scripts where missing
2025-08-25 12:22:37 +00:00
f321x
10b75ebed7
android: build BarcodeScannerView from src
...
Adds a script `make_barcode_scanner.sh` which builds the
`BarcodeScannerView` library and its dependencies, `zxing-cpp` and
`CameraView` from source. Builds `zxing-cpp` architecture dependent
reducing the final apk size.
2025-06-30 17:20:01 +02:00
SomberNight
3422bee585
build: use $CIRRUS_CPU to determine cpu count on CI
...
related https://github.com/cirruslabs/cirrus-ci-docs/issues/1115
2023-01-02 12:25:53 +00:00
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
2022-12-04 00:11:29 +00:00
SomberNight
65ae281180
build: don't hardcode num worker threads "make -j4"
2022-12-03 22:50:18 +00:00
SomberNight
b5900eae98
contrib: reformat most shell scripts
...
Mostly just indentations.
For consistency, to conform to .editorconfig.
2022-09-27 14:55:22 +00:00
ThomasV
a99e0d9e17
build tools: set ZERO_AR_DATE to have deterministic timestamps on macOS
2021-06-23 15:46:45 +02:00
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
2020-12-12 02:52:38 +01:00
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
2020-10-21 03:27:42 +02:00
SomberNight
5b84e714f2
build: workaround for 'realpath' missing on macOS
2020-02-11 16:48:28 +01:00
SomberNight
4cec098d2d
build: create a standalone build script for libsecp256k1
...
heavily based on Electron-Cash/Electron-Cash@eda015908e
2020-02-11 16:48:24 +01:00
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@984967b408
2019-07-23 21:24:32 +02:00
SomberNight
47b07f19b9
build: factor out some utilities to build_tools_util.sh
2019-02-03 23:44:34 +01:00