Commit graph

33 commits

Author SHA1 Message Date
397419d8ab
chore: format code 2025-03-11 22:47:02 -07:00
d7762a5a78 add bootstraped x86_64-linux cross compiled gcc ()
Work in progress cross compiler for x86_64. I've managed to get a full x86_64 gcc using the binaries built from foundation, and am working on implementing their builds into tidepool.

### Bootstrapping steps
0) Start with i686 tools (gcc, binutils, musl, etc)
1) Build binutils targeting x86_64-linux
2) Build a minimal gcc cross compiler using the cross binutils. This minimal cross compiler does not have support for libc, so is pretty much only useful for building musl or glibc.
3) Use the minimal cross compiler to build x86_64-linux glibc or musl
4) Now that we have a cross compiler and x86_64-linux libc, we can build gcc for the target architecture!
5) Profit! We can now build anything x86_64 using our gcc compiler!

Co-authored-by: Jake Hamilton <jake.hamilton@hey.com>
Reviewed-on: 
Reviewed-by: Jake Hamilton <jake.hamilton@hey.com>
Co-authored-by: Victor Fuentes <vmfuentes64@gmail.com>
Co-committed-by: Victor Fuentes <vmfuentes64@gmail.com>
2024-09-22 02:55:02 +00:00
7d94b7f665
feat: package extend, dynamic propagation 2024-07-09 02:54:33 -07:00
3f9d287065
refactor: format 2024-07-09 01:49:44 -07:00
ea200d834e
feat: pass through package dependencies via context 2024-07-08 23:18:11 -07:00
62bc2f4eee
feat: propagating hooks and context 2024-07-08 23:07:59 -07:00
42e69f7d43 "topographic" -> "topological" in latest tidepool commit ()
Reviewed-on: 
Co-authored-by: Steve Dodd <steved424@gmail.com>
Co-committed-by: Steve Dodd <steved424@gmail.com>
2024-07-08 19:19:49 +00:00
0ad14e8795
refactor: make dag helpers easier to reason about 2024-07-07 15:10:37 -07:00
0a63667459
refactor(format): apply formatting 2024-07-07 15:03:48 -07:00
d2b053d63a
feat: export linux-headers 2024-07-07 15:03:47 -07:00
7774f65079
refactor: minor cleanup 2024-07-07 15:03:46 -07:00
fd9b85f29e
feat: apply platform to deps inside submodules 2024-07-07 15:03:45 -07:00
b315ae81f6
refactor: only support i686-linux for foundation gcc 2024-07-07 15:03:45 -07:00
193a52cbc8
fix: cross-platform deps 2024-07-07 15:03:44 -07:00
27a0e3d59f
fix: remove failing build args 2024-07-07 15:03:43 -07:00
2b5f90d4e5
refactor: make dependencies dynamically built per-package 2024-07-07 15:03:42 -07:00
008632bc8b
feat: working transient deps 2024-07-07 15:03:41 -07:00
0f602b1cb7
wip: working single dependency reference via coercion 2024-07-07 15:03:38 -07:00
8233d4aedf use correct name for topological sort ()
I am 0.8 sure this is a typo, I've never seen this being referred to as topographic sorting!

Reviewed-on: 
Reviewed-by: Jake Hamilton <jake.hamilton@hey.com>
Co-authored-by: Alex Kladov <aleksey.kladov@gmail.com>
Co-committed-by: Alex Kladov <aleksey.kladov@gmail.com>
2024-06-23 18:39:30 +00:00
a707b0f06b
refactor: format all nix code 2024-06-22 10:58:44 -07:00
3479354ec9
refactor: add formatting script 2024-06-22 10:56:18 -07:00
403420fd4b
fix: missing semicolon 2024-06-22 10:43:47 -07:00
9316874396
fix: add missing prefix for submodules, incorrect var name 2024-06-22 09:11:33 -07:00
69a8760bd3
feat: working linux-headers build 2024-06-22 09:11:32 -07:00
9850da8aa9
fix: resolve issue with extending cross package 2024-06-16 02:24:21 -07:00
0312e3c4cc
feat: working gcc build 2024-06-15 07:08:45 -07:00
6bd35bf4d5
feat: rich platform information 2024-06-15 04:18:05 -07:00
1c67c40213
feat: cross compilation package set 2024-06-15 03:58:25 -07:00
2989fdc4fe
refactor: more elegant shorthand support 2024-06-15 02:35:37 -07:00
3713635d76
feat: simple builder 2024-06-14 07:01:18 -07:00
b3f9fe574e
refactor: enable foundation, standardize exports 2024-06-14 04:55:15 -07:00
fea8c2cd9c
feat: working package export 2024-06-14 04:47:54 -07:00
cdc90a4656
refactor: potluck -> tidepool 2024-06-14 02:12:19 -07:00