Repository navigation
Conversation
libcvc-cuda's build.sh and build.ps1 run libcvc's scripts with CVC_ENABLE_CUDA=ON, and the
publish workflow's CUDA jobs install libcvc's closure, so the GPU build links what the CPU build
links. Its own depends: list, which `cvcpkg pack` bakes into the bundle's required_deps, was a hand
copy that had drifted again. The dry-run CUDA configure (run 43150296417) enables libcurl,
yaml-cpp, json-schema-validator, FTXUI, tvision (ncursesw), Jolt, Qhull, Opus and PocketFFT, and
the recipe declared none of them, so `cvcpkg install libcvc-cuda` gives a libcvc.so that links
libraries the flat prefix does not have. That is how assimp broke it before.
- depends: now has libcvc's entries, with libcvc's platform scopes:
- build: tvision, clipper2, cdt and shewchuk-predicates join pegtl;
- runtime: added pocketfft, libopus, yaml-cpp, nlohmann-json, json-schema-validator, ftxui,
ncurses, joltphysics, qhull, curl, openmp and mingw-w64-runtime; fftw3 is gone, as it is
from libcvc since PocketFFT replaced it.
googletest is the one libcvc build dep left out: it only builds the test suite, and
libcvc-cuda's scripts leave tests off.
- .github/scripts/recipe-deps-parity.py compares the (kind, name) dependencies both recipes
declare on each platform in libcvc-cuda's build matrix (linux, windows), plus host_tools.
ci.yml's recipe-version job runs it as a new step, so no required check is added. On master's
recipes it fails with 15 differences on Linux and 16 on Windows; on these it passes with 46
and 47 dependencies.
transfix
enabled auto-merge (squash)
November 13, 2026 01:51
transfix
disabled auto-merge
November 13, 2026 22:24
Owner
Author
|
Landed in #1211 (squash 7714a53). #1211 was cut from this branch, so its squash carries this PR's commit 1ac35b5:
At 7714a53 the script passes: libcvc-cuda vs libcvc 46/46 on Linux and 47/47 on Windows, and the other four pairs match. The merge conflict GitHub reports here is master re-adding the same lines in that wider form, so resolving it would leave this PR empty. Closing. |
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.
libcvc-cuda's recipe now declares libcvc's dependencies, and CI fails if the two lists drift apart again.
Why
libcvc-cuda's
build.shandbuild.ps1run libcvc's scripts withCVC_ENABLE_CUDA=ON(#1153), and the publish workflow's CUDA jobs install libcvc's closure. So the GPU build links what the CPU build links. But libcvc-cuda's owndepends:list is whatcvcpkg packbakes into the bundle'srequired_deps. It was a hand copy, and it had drifted again.The configure log of dry run 43150296417 (Linux CUDA job) enables all of these, and the recipe declared none of them:
cvcpkg installis flat, socvcpkg install libcvc-cudagives alibcvc.solinked to libraries the prefix doesn't have. That is how assimp broke it before.What changes
cvcpkg/recipes/libcvc-cuda/recipe.yaml:depends:has libcvc's entries, with libcvc's platform scopes copied as they are. libcvc-cuda builds only linux and windows, so only those columns matter.googletest is the one libcvc build dep left out. It only builds the test suite, and libcvc-cuda's scripts leave
CVC_BUILD_TESTSoff. Each entry's reasons stay in libcvc's recipe, not copied here..github/scripts/recipe-deps-parity.py: for each platform in libcvc-cuda's build matrix, it compares the (kind, name) dependencies both recipes declare there, andhost_tools. An entry with noplatforms:counts everywhere.ci.yml: therecipe-versionjob ("recipes match CMakeLists version") runs the script as a new step, so no new required check is added. It uses the runner's PyYAML if there is one, else a venv withpyyaml. ci.yml stays CRLF.Verification
yaml.safe_load; the new step's script passesbash -n.recipes match CMakeLists versioncheck runs the new step.