Skip to content

libcvc recipe: Clipper2, CDT and Shewchuk's predicates on macOS too - #1165

Merged
transfix merged 1 commit into
masterfrom
tfx/permissive-libs-macos
Nov 13, 2026
Merged

transfix merged 1 commit into
masterfrom
tfx/permissive-libs-macos

Conversation

@transfix

Copy link
Copy Markdown
Owner

Clipper2, CDT and Shewchuk's predicates now build on macOS too. Until now, libcvc's recipe listed these three build deps only for platforms that had bundles, and macOS had none. So on macOS:

  • CVC_WITH_CLIPPER2, CVC_WITH_CDT and CVC_WITH_SHEWCHUK turned themselves off;
  • permissive_libs_test skipped those sections.

Their macOS bundles are now published for arm64 and x86_64 (cy-pca/cvcpkg populate-server run 43166992603, on Joe's OK). This PR adds macos to the three deps' platforms: lists in cvcpkg/recipes/libcvc/recipe.yaml. The options default ON and switch off only when the package is missing, so the scope change is all macOS needs.

Package macOS arm64 macOS x86_64
clipper2 2.0.1+cvc.1 published published
cdt 2.0.1+cvc.1 published published
shewchuk-predicates 1996.05.18+cvc.1 published published
nanoflann 2.0.1+cvc.1 published published

qhull already had both macOS bundles and was already scoped to macOS. nanoflann's macOS bundles were published in the same run. Replacing the vendored src/cvc/third_party/nanoflann with the package is left for a later PR.

Verification

  • Each bundle above was downloaded with cvcpkg download and its file list checked. Each macOS bundle (arm64 and x86_64) holds the same files as the package's linux/x86_64 bundle: 23 for clipper2, 20 for cdt, 9 for shewchuk-predicates and 10 for nanoflann. Clipper2's static archives hold arm64 objects in the arm64 bundle and x86_64 objects in the x86_64 one. The other three are header-only.
  • This PR's macOS CI lanes are the end-to-end check: install-deps resolves the three packages, the configure prints Clipper2 … ENABLED, CDT … ENABLED and Shewchuk's predicates … ENABLED, and permissive_libs_test runs every section.

The three build deps were scoped to the platforms their bundles were
published for, which did not include macOS, so CVC_WITH_CLIPPER2, CVC_WITH_CDT
and CVC_WITH_SHEWCHUK turned themselves off there and permissive_libs_test
skipped those sections. Their macOS bundles (arm64 and x86_64) are published
now, so the scopes include macos and every section runs there as well.
@transfix
transfix enabled auto-merge (squash) November 12, 2026 08:22
@transfix
transfix disabled auto-merge November 12, 2026 08:42
@transfix
transfix enabled auto-merge (squash) November 12, 2026 10:03
@transfix
transfix merged commit d62b54e into master Nov 13, 2026
31 of 33 checks passed
@transfix
transfix deleted the tfx/permissive-libs-macos branch November 13, 2026 00:41
transfix added a commit that referenced this pull request Nov 13, 2026
package-linux / libcvc-release-grpc failed only in tools/singleton_scan, on
cvc::ocean::sea_surface::source's thread_local. The run tested a merge with master b745ea6,
from before #1181 (29ff406) took that thread_local out, and a rerun would test the same
merge. Master since then: #1156, #1153, #1166, #1181, #1165. No conflicts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant