lnd/scripts
Olaoluwa Osuntokun dfee57023c build: clear Go cache between platform builds in release script
In this commit, we add a call to "go clean -cache" after each platform
build in the release script to prevent the Go build cache from accumulating
unbounded disk space during the sequential 15-platform build process.

When building for multiple platforms in sequence with "go build -v", Go
creates intermediate build artifacts and caches compiled packages for each
target platform. While this caching improves build performance within a
single platform build, it causes the cache to grow substantially when
building for many platforms sequentially. With 15 different platform/
architecture combinations, each with their own cached artifacts, this
accumulation was contributing to the disk space exhaustion.

By clearing the build cache after each platform completes, we prevent this
unbounded growth while still allowing each individual platform build to
benefit from caching during its own compilation. The module cache is
preserved (we only clear the build cache), so dependencies don't need to be
re-downloaded between platforms.
2025-10-20 22:39:47 +01:00
..
bw-compatibility-test scripts/bw-compat: use status server to determine if node is ready 2025-04-15 11:49:07 +02:00
keys scripts: add gpg key for ViktorT-11 2025-09-26 12:16:22 +02:00
check-commit.sh build: check compilation of each commit 2020-12-08 16:19:26 -08:00
check-each-commit.sh build: check compilation of each commit 2020-12-08 16:19:26 -08:00
check-go-version-dockerfile.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-go-version-yaml.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-pgp-expiry.sh scripts: add pgp keys expire check 2025-08-14 15:35:55 -03:00
check-release-notes.sh scripts/check-release-notes.sh: fix bash expression 2023-07-13 12:51:40 -04:00
check-rest-annotations.sh make+scripts: fix rpc-check command 2021-07-27 12:59:54 +02:00
check-sample-lnd-conf.sh scripts: dont check new config value. 2024-11-06 18:52:07 +01:00
fuzz.sh make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
fuzzy-match-release-branch.sh scripts: add cherry-pick verification tool with fuzzy matching 2025-07-29 08:51:51 +02:00
gen_man_pages.sh scripts+dev.Dockerfile: address dockerfile build issue 2024-03-18 13:47:39 +02:00
gen_sqlc_docker.sh scripts: add sql slices workaround to sqlc gen script 2025-07-22 17:14:55 +02:00
install_bitcoind.sh github+scripts: bump itests to bitcoind v28, allow testing with RCs 2024-10-14 16:10:18 +02:00
itest_parallel.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
itest_part.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
release.sh build: clear Go cache between platform builds in release script 2025-10-20 22:39:47 +01:00
tidy_modules.sh github+Makefile: add new action make tidy-module-check 2023-09-06 02:48:13 +08:00
unit-test-flake-hunter.sh Makefile+scripts: add unit test flake hunter 2025-02-25 21:10:40 +08:00
unit_test_modules.sh Makefile+action: add make unit-module to test submodules 2023-09-06 02:47:55 +08:00
verify-install.sh scripts: add gpg key for ViktorT-11 2025-09-26 12:16:22 +02:00