Commit Graph

9 Commits

Author SHA1 Message Date
Andrew Kelley 638d87c54a maker: update more Run step logic 2026-04-28 22:15:09 -07:00
Andrew Kelley 9929f420a9 maker: port Run step logic up to spawnChildAndCollect 2026-04-27 20:58:30 -07:00
Andrew Kelley 2032713ed4 maker: implement TopLevel step 2026-04-27 13:05:32 -07:00
Andrew Kelley 6244f48b1e maker: implement InstallArtifact and InstallFile 2026-04-27 13:05:32 -07:00
Andrew Kelley d97ec7d894 maker: finish migrating compile step make logic 2026-04-27 13:05:31 -07:00
Andrew Kelley 1081519099 maker: progress towards lowering Compile Step CLI args
next thing to do is figure out how LazyPath is supposed to work now.
something like this:
* each Step that provides LazyPath objects has a setLazyPath and
  getLazyPath function which takes a tagged union identifying which one
  to access
* steps that fulfill LazyPath objects can freely call setLazyPath
  without obtaining a lock because the dependency graph prevents
  simultaneous access.
* similarly, steps that access LazyPath results can freely call
  getLazyPath without obtaining a lock, because after modification,
  there may be simultaneous reads from dependencies but they will all be
  read-only
* a fulfilled LazyPath object is a read-only std.Build.Cache.Path.
2026-04-27 13:05:07 -07:00
Andrew Kelley 019e80313e Maker.Step.Compile: progress towards lowering zig args 2026-04-27 13:05:07 -07:00
Andrew Kelley 70e89f5f46 massage Step code into compiling 2026-04-27 13:05:05 -07:00
Andrew Kelley 54dd5a92a4 build maker: rename files to match type 2026-04-27 13:04:32 -07:00