Commit Graph

70 Commits

Author SHA1 Message Date
Lance Vick c61a119e3c
improved profiling, and profile self 2023-10-09 17:03:44 -07:00
Lance Vick f0d39c33bc
add basic profiling support 2023-10-09 14:55:37 -07:00
Lance Vick 832b9640c5
add space variable 2023-10-03 12:10:22 -07:00
Lance Vick 550178ad98
fix build order for dist 2023-10-03 10:52:51 -07:00
Lance Vick 86e5600952
ensure default is run before any toolchain commands in dist, to allow user to optionally restore toolchain.tgz cache 2023-09-27 19:22:08 -07:00
Lance Vick f4a93830c5
use hash of cache directory as toolchain tag 2023-09-27 17:22:01 -07:00
Lance Vick bba9553c2f
save/restore toolchain image as tgz for up to 3x disk savings 2023-09-27 14:49:17 -07:00
Lance Vick 7d2bc3d6f8
drop undocumented/unused PRESERVE_CACHE 2023-09-24 22:47:26 -07:00
Lance Vick 206148838d
create out if it does not exist 2023-09-24 05:17:39 -07:00
Lance Vick 52811cee5f
fix TOOLCHAIN_REPRODUCE match 2023-09-21 16:00:21 -07:00
Lance Vick 985107c4d2
fix dist dir name 2023-09-21 15:50:23 -07:00
Lance Vick d8ce33f628
namespace toolchain commands, add dist caching and git-restore-mtime support 2023-09-21 10:55:57 -07:00
Lance Vick ec9175bf45
always regen release.env unless REPRODUCE=true 2023-09-18 17:38:31 -07:00
Lance Vick a5ab6f8dcd
allow each project to choose if cache is reused 2023-09-09 01:01:36 -07:00
Lance Vick f966d23708
allow re-use of old unchanged dist artifacts 2023-09-09 00:56:31 -07:00
Lance Vick b9894265d0
build toolchain on demand, require clean tree for dist 2023-09-08 18:35:33 -07:00
Lance Vick 23fc267a9d
fix default paths 2023-09-03 03:29:28 -07:00
Lance Vick 9ddcbe18e5
more default vars 2023-09-03 02:46:55 -07:00
Lance Vick d3f66385c2
make Packages.bz2 an order-only to allow deletion 2023-08-07 14:33:01 -07:00
Lance Vick 2560e543a1
support path prefix 2023-07-20 18:24:42 -07:00
Lance Vick 352783aa65
regen Packages.gz when apt hashes change 2023-06-30 12:55:08 -07:00
Lance Vick 09c3a79d8c
add git archive function 2023-06-22 02:50:56 -07:00
Lance Vick 88527fc427
new KEY_DIR under fetch 2023-06-21 18:28:27 -07:00
Lance Vick cb72be053f
remove cache/make.env recursion insanity. It breaks too many things 2023-06-18 15:04:53 -07:00
Lance Vick 78376e2094
include BIN_DIR in environment files 2023-06-18 03:22:17 -07:00
Lance Vick e75a319f87
fix packages-update after autobuild 2023-06-18 02:41:10 -07:00
Lance Vick 489fcbabf3
make dependecy and doc fixes 2023-06-16 12:58:05 -07:00
Lance Vick c55daf1cdf
Packages.gz -> Packages.bz2 2023-06-16 12:11:11 -07:00
Lance Vick 5bbf26be78
cache debian artifacts in fetch directory 2023-06-15 23:23:10 -07:00
Lance Vick 388334ef6a
be explicit about env vars copied into containers 2023-06-15 12:42:16 -07:00
Lance Vick 42f1d5850c
fetch file support 2023-06-09 16:08:03 -07:00
Lance Vick a8c0099576
separate generated env files between container and make uses 2023-06-08 05:37:19 -07:00
Lance Vick 3f14cf21ba
Merge branch 'master' of https://codeberg.org/distrust/toolchain 2023-06-01 18:05:46 -07:00
Lance Vick ee915227d5
separate toolchain.env and global.env. Allow env vars in global.env 2023-06-01 18:04:41 -07:00
Lance Vick e2f68de8da
drop manifest.txt support favoring diff and git-sig 2023-05-04 12:10:38 -07:00
Lance Vick 20d90c684b
Merge branch 'rno/normarch' of https://codeberg.org/rno/toolchain into rno-rno/normarch 2023-05-03 13:17:42 -07:00
Arnaud Brousseau 2aac13f095
Normalize HOST_ARCH 2023-05-03 15:14:27 -05:00
Lance Vick 2027f56e1a
use variable for /home/build everywhere 2023-05-02 16:02:33 -07:00
Lance Vick ddf6568244
Merge branch 'master' of codeberg.org:distrust/toolchain 2023-05-02 14:58:10 -07:00
Lance Vick a4086420ca
allow override for toolchain docker volume and workdir for niche environments 2023-05-02 14:55:45 -07:00
Lance Vick 70c9e403ac
add git-lfs to required binary checks 2023-05-01 14:10:33 -07:00
Lance Vick 4eff8b258b
optional PRESERVE_CACHE argument 2023-04-27 13:54:27 -07:00
Lance Vick dafafd5d6c
make only toolchain-shell interactive, only delete dirs if they exist 2023-04-27 13:40:31 -07:00
Lance Vick 26ad161faf
Inform user when reproduce works 2023-04-04 14:52:04 -07:00
Lance Vick 8027bcc0b5
suppress toolchain state missing errors 2023-04-04 14:41:02 -07:00
Lance Vick 7445dc5da8
remove read only cache files 2023-04-04 14:36:28 -07:00
Lance Vick bcea9f50b8
attest -> reproduce 2023-04-04 14:16:53 -07:00
Lance Vick d5fcfe2886
Host os/arch vars 2023-04-04 09:42:46 -07:00
Lance Vick 47e883a348
fix pgp key fetching 2023-03-16 20:11:53 -07:00
Lance Vick d6189f0f28
drop USER and use host-env for all toolchain invocations 2023-03-07 18:09:52 -08:00