| 1 |
# vcpkg overlay ports |
| 2 |
|
| 3 |
These ports override the versions from the registry baseline for vcpkg |
| 4 |
manifest builds. They are registered in the repository's |
| 5 |
`vcpkg-configuration.json`, so they apply to both CI and local builds. |
| 6 |
|
| 7 |
## METIS and GKlib |
| 8 |
|
| 9 |
The newer METIS/GKlib pair in the pinned vcpkg baseline crashes in |
| 10 |
`METIS_PartGraphKway` on Windows. The older versions used here are known to |
| 11 |
work on Windows, but selecting them with `overrides` in `vcpkg.json` is not |
| 12 |
sufficient: the old METIS port enables `-march=native`, which can produce |
| 13 |
AVX-512 instructions when a package is built on one machine and then cause an |
| 14 |
illegal-instruction failure when the binary cache restores it on another. |
| 15 |
|
| 16 |
The overlay keeps the known-good METIS/GKlib source revisions and patches |
| 17 |
their build scripts to use the compiler flags supplied by the vcpkg triplet. |
| 18 |
This makes the packages portable while preserving the Windows behavior. |
| 19 |
|
| 20 |
vcpkg overlay ports replace a complete registry port; they cannot add a patch |
| 21 |
to an existing port. Consequently, the port manifests, portfiles, and upstream |
| 22 |
vcpkg patches are copied here as a unit. The `overrides` entries would be |
| 23 |
redundant because overlay ports take precedence during version resolution. |
| 24 |
|
| 25 |
Remove these overlays after a newer METIS/GKlib pair passes the Windows graph |
| 26 |
cut and scene clustering tests and produces portable binaries on Linux. |