witty-crayon-22786
10/26/2022, 5:25 PMEnvironmentNames
are consumed that will likely need to be present in 2.15.x at this point, but that we could maybe fix in 2.16.x.witty-crayon-22786
10/26/2022, 5:26 PMEnvironmentName
in more places.witty-crayon-22786
10/26/2022, 5:27 PMEnvironmentName
question you had above… this wouldn’t do anything about rule graph errors: sigh, sorry. but it might help to explain which @unions
should be able to consume an EnvironmentName
, and which shouldn’t.witty-crayon-22786
10/26/2022, 5:27 PMancient-vegetable-10556
10/26/2022, 5:28 PMbitter-ability-32190
10/26/2022, 5:28 PMancient-vegetable-10556
10/26/2022, 5:32 PMwitty-crayon-22786
10/26/2022, 5:33 PMremote
or docker
environment) to call back to the BUILD file parsing rules (which would switch back to a local environment to run)curved-television-6568
10/26/2022, 5:34 PMStu: My only concern with that exact syntax is thatThis had me thinking if it would be possible/desirable to have platform specific BUILD files (or “sections” within i build file) so you define the whole target per platform (possibly with a common version and only the platform specific overrides in another…). maybe crazy idea..looks like it can be used in other positionsper_platform
witty-crayon-22786
10/26/2022, 5:34 PMcurved-television-6568
10/26/2022, 5:36 PM@local_rule
@runtime_rule
etc…witty-crayon-22786
10/26/2022, 5:37 PMThis had me thinking if it would be possible/desirable to have platform specific BUILD files (or “sections” within i build file) so you define the whole target per platform (possibly with a common version and only the platform specific overrides in another…). maybe crazy idea.possibly… but as it stands, that would mean different build graphs / dependencies per platform, which pinning the graph to a single platform prevents currently… somewhat/mostly intentionally.
bitter-ability-32190
10/26/2022, 5:39 PMwitty-crayon-22786
10/26/2022, 5:40 PMgraph
@rules
compute are still manual, and are unlikely to be the fully accurate final dependencies of running a processwitty-crayon-22786
10/26/2022, 5:41 PMwhich pinning the graph to a single platform prevents currently… somewhat/mostly intentionally.…oh my… this isn’t actually true. you could still have different dependencies on linux vs macOS because the
__local__
environment changes. that’s … annoying.witty-crayon-22786
10/26/2022, 5:43 PMwitty-crayon-22786
10/26/2022, 5:54 PMenvironments
!bitter-ability-32190
10/26/2022, 5:54 PM