File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,13 +121,20 @@ This is the exact consumer model we want:
121121- normal local files materialized into build trees via symlinks, hardlinks, or copies
122122- no requirement for consumers to know which remote backend served the blob
123123
124+ ### Vendored ` ExternalData ` patch
125+
124126One pragmatic deviation exists on Windows. Stock ` ExternalData.cmake ` copies
125127objects into ` ExternalData_BINARY_ROOT ` , which reintroduces a full build-local
126- copy before the final build tree. This repository therefore vendors a
127- small ` ExternalData ` patch by default that materializes directly from the
128- shared object store into the final build tree and prefers ` hardlink ` , then
129- ` symlink ` , then ` copy ` on Windows. Consumers can still fall back to the host
130- CMake module with ` -DNAM_USE_VENDORED_EXTERNALDATA=OFF ` .
128+ copy before the final build tree.
129+
130+ This repository therefore vendors a small ` ExternalData ` patch by default that
131+ materializes directly from the shared object store into the final build tree
132+ and prefers ` hardlink ` , then ` symlink ` , then ` copy ` on Windows.
133+
134+ The patch is kept isolated and general-purpose on purpose so it can be
135+ proposed upstream to Kitware as a normal ` ExternalData ` improvement. Consumers
136+ can still fall back to the host CMake module with
137+ ` -DNAM_USE_VENDORED_EXTERNALDATA=OFF ` .
131138
132139## Backends
133140
You can’t perform that action at this time.
0 commit comments