Pipeline library: shared folder (VICTORY_LIBRARY_DIR) with a writer lock #1583
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1583"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T21:57:16Z.
Runs with different cache folders each built their own host pipeline library, so each folder paid for the same driver compiles again (about 1,300 slow pipelines, around 14 minutes here).
VICTORY_LIBRARY_DIRputs the library file itself in one shared folder. The early and slow pipeline lists stay per cache folder. Unset, nothing changes.A run takes a lock (
host-pipelines.lock) while it writes the shared library, so two runs never write the same temporary file. A save that finds the lock taken skips that save and keeps its pipelines counted as added for the next one. The save at exit waits up to 30 s for the lock. Two runs that both save keep the last one's library, since the host cannot list or merge another library's pipelines.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T08:28:18Z.
Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.