Skip to content

Commit 785ad9b

Browse files
committed
Add anchor for vendored ExternalData patch
1 parent 5147dcd commit 785ad9b

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
124126
One pragmatic deviation exists on Windows. Stock `ExternalData.cmake` copies
125127
objects 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

0 commit comments

Comments
 (0)