Repository navigation
feat(cvcpkg): add in-tree libcvc recipe (recipe-first, deprecates cvc-requirements) - #116
Merged
Merged
Conversation
Per the cvcpkg roadmap (Phase 15/20), cvc-requirements.yaml is being
deprecated in favor of the recipe-first workflow, where a project carries its
own cvcpkg recipe in its source tree. This adds recipes/libcvc/ so developers
can build libcvc from the working tree and publish it to the cvcpkg server:
cvcpkg build libcvc --recipes-dir recipes --prefix /tmp/libcvc
- recipe.yaml declares libcvc's full third-party closure as runtime deps,
including the ImageMagick delegates (jpeg/png/webp/freetype) and libxml2
that the imagemagick recipe under-declares — so the installed prefix is
self-contained on every platform (no reliance on apt/system libs).
- build.sh / build.ps1 drive libcvc's CMake build via the shared _common
helper, overriding to C++20 and shipping the library only (tests + CUDA
off; CGAL mesher + SDF on).
Validated with `cvcpkg validate`. NOTE: libxml2 has no recipe yet in the
cvcpkg catalog; it is added in a companion libcvc-deps change.
This was referenced Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
recipes/libcvc/— libcvc's own cvcpkg recipe, carried in-tree per the cvcpkg roadmap Phase 15/20 recipe-first workflow (which deprecatescvc-requirements.yaml). A developer can build the working tree and publish it to the cvcpkg server:Details
recipe.yamldeclares libcvc's full third-party closure as runtime deps. It lists the ImageMagick delegates (libjpeg-turbo,libpng,libwebp,freetype) andlibxml2explicitly, because theimagemagickrecipe under-declares them (onlyzlib+tiff). Without this the installed prefix is incomplete and only loads where a matching system library happens to exist — which is why macOS CI has failed to load@rpath/libjpeg.62.dylib/libxml2.build.sh/build.ps1drive libcvc's CMake build through cvcpkg's shared_commonhelper, overriding to C++20 and shipping the library only (tests + CUDA off; CGAL mesher + SDF on).cvcpkg validate(schema + dependency graph).Dependency
libxml2had no recipe in the catalog; added in transfix/libcvc-deps (companion PR). This PR'sdependsis complete once that lands.Follow-ups (not in this PR)
cvc-requirements.yaml+ apt path.cvc-requirements.yamlonce the recipe path is the sole source.