You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build graph cache ignores env inputs such as SDK_OUTPUT_PREFIX: a target's declared output comes from the previous run's environment #1925
error: action target 'sdk-windows-libc' did not produce declared output: C:/src/win-own-sdk/out/sdk/windows-x86_64-msvc/install/llvm-22.1.6-windows-x86_64-msvc/libc/windows/x86_64-w64-mingw32/lib/crt2.o
— the default output prefix, although sdk_windows_libc_target reads SDK_OUTPUT_PREFIX through ctx.env_input (build.w sdk_output_prefix_arg). Deleting out/.build-state/build-graph.cache* and rerunning the same command built into out/sdk-gnu/... as asked. So the cached graph was reused although an environment input of build(ctx) changed.
Expected: a variable read with ctx.env_input during graph construction is part of the graph cache key (or invalidates it).
Workaround used: remove out/.build-state/build-graph.cache* before switching SDK_* variables.
Activity
build: the evaluated-graph cache is keyed on the environment build(ct…
build: the evaluated-graph cache is keyed on the environment build(ct…
An absolute install destination beneath the project root is contained…
An absolute install destination beneath the project root is contained…
Runtime/Windows/fs: remove_tree trailing-slash link (#1951); VecRange…