Repository navigation
build: pull eigen + libigl into the libcvc recipes and assert CVC_ENABLE_LIBIGL in CI - #799
Merged
Merged
Conversation
…BLE_LIBIGL in CI #591 landed mesh_ops.h / fem.h behind CVC_ENABLE_LIBIGL, but the libcvc recipe never declared eigen or libigl, so every install-deps-based lane (PR CI, ci-recipe, publish, release/nightly) configured with the option auto-OFF: CI never compiled the libigl code and the published libcvc bundles ship the throwing stubs. The bundles now exist on cvcpkg.org for every libcvc platform (eigen 5.0.1+cvc.1 and libigl 2.6.4+cvc.2, release/shared: linux x86_64 + arm64, macos arm64 + x86_64, windows x86_64; cy-pca/cvcpkg#145, #148), and every lane fetches release deps (Windows is release-only), so declare them as runtime deps of libcvc (scoped to linux/macos/windows, like pocketfft) and libcvc-cuda. CVC_ENABLE_LIBIGL flips itself OFF when the packages are missing, which would pass green while testing nothing, so the package-linux/macos/windows test steps now fail unless MeshOps.* / Fem.* tests are registered (the same guard the cvcgl_* tests already have).
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.
Follow-up to #591. That PR merged
mesh_ops.h/fem.hbehindCVC_ENABLE_LIBIGL, but the libcvc recipe never declaredeigenorlibigl. As a result, every lane that installs dependencies from the recipe has configured with the option auto-OFF:ci-recipe, publish, and release/nightly never compiled the libigl code;mesh_ops_unavailable.Changes
eigenandlibiglbecome runtime dependencies oflibcvc(scoped to linux/macos/windows, likepocketfft) and oflibcvc-cuda. Both packages are header-only. They are compiled only into the privatecvc_iglhelper, socvcTargets.cmakeand the public headers never name them.package-linux,package-macosandpackage-windowsnow fail if noMeshOps.*/Fem.*tests are registered, which would mean libigl silently resolved OFF. This mirrors the existingcvcgl_*registration check. Thephysics-wasmlane keeps-DCVC_ENABLE_LIBIGL=OFFdeliberately and is untouched.Bundles available
All are
release/shared, from cy-pca/cvcpkg#145 and #148.Every lane fetches release dependencies (Windows is release-only), so nothing needs a debug bundle.
What to expect
CI on this PR is the first CI run that actually compiles and runs the libigl paths on Linux, macOS and Windows:
mesh_ops_test,fem_test,cvcgl_scalar_field,cvcgl_tet_surfaceand the mesh_lab/fe_lab sections ofcvcgl_ariadne_realize.