Repository navigation
Conversation
The publish workflow configured libcvc with its own inline cmake line instead of running cvcpkg/recipes/libcvc/build.sh (build.ps1 on Windows), and the two drifted apart twice, both times into a published bundle: +cvc.1 without CVC_USING_XMLRPC (VolumeRover 2.x broke), and every libcvc through 3.7.5+cvc.2 without the gRPC and WebSocket transports. The build job now runs the recipe's script, the one cvcpkg's builders and ci-recipe.yml run, so the flags live in one place. What the inline configure set that the scripts lacked moved into them: - CVC_ENABLE_MESHER and CVC_ENABLE_SDF, ON (their defaults), written down with the rest of the SDK's feature set; - on macOS, CMAKE_IGNORE_PREFIX_PATH for both Homebrew prefixes. DISABLE_CGAL and CVC_BUILD_VOLROVER3 were dropped: the first is ignored and the second no longer exists. The workflow installed only the libcvc component; the scripts run a full install, and `cvcpkg pack --from-prefix` takes everything staged. With gRPC on, arisrv (default ON) would then put bin/arisrv in the SDK bundle, the file the arisrv package installs, so the scripts now set CVC_BUILD_ARISRV=OFF beside the CLI and ari. build.sh also asks sysctl for the job count on macOS, which has no nproc, instead of falling back to 4. The checks that the .ari loader, both terminal backends and both conference transports are configured move into the build step, after the script: a stub still fails build-libcvc, so neither the pack nor the family steps that build ari, arisrv and the rest against stage/ run. The pack step now prints the bundle's file list, to compare a run's bundle with what a tag published. The libcvc-cuda jobs keep their inline configure for now; their comments now point at the scripts.
transfix
marked this pull request as ready for review
November 11, 2026 00:32
transfix
enabled auto-merge (squash)
November 11, 2026 20:53
transfix
disabled auto-merge
November 12, 2026 08:42
transfix
enabled auto-merge (squash)
November 12, 2026 10:02
#1159 (O7c) kept the last source sea_surface found in a thread_local, so the velocity a fluid field reads after a cell's height at the same point and time did not invert the sideways move again. A thread_local that keeps state between calls is a static cache, which libcvc's no-singletons rule forbids (VOLROVER-LIBRARY-PORTS-ROADMAP.md 1.3, tools/singleton_scan). #1159's release-grpc job, where the scan runs, was cancelled, so the scan never judged it; the next PR that merges master would fail that lane on it. The memo now belongs to the caller: - sea_surface::source_memo, and height() / velocity() overloads that take one. The plain reads share nothing. - fluid_surface::height_with / velocity_with and a surface_memo the caller owns; the defaults ignore it. ocean_surface passes it to the sea. - field_set::apply keeps one memo per cell, for the cell's height and its velocity at the same clipped centre. The memo is keyed on the point, the time and the digest as before, so every value is unchanged.
transfix
disabled auto-merge
November 12, 2026 23:16
transfix
enabled auto-merge (squash)
November 12, 2026 23:16
transfix
added a commit
that referenced
this pull request
Nov 13, 2026
…scripts (#1153) publish-cvcpkg.yml configured libcvc with its own inline cmake line instead of running cvcpkg/recipes/libcvc/build.sh (build.ps1 on Windows), and the two drifted apart twice, both times into a published bundle: +cvc.1 without CVC_USING_XMLRPC (VolumeRover 2.x broke), and every libcvc through 3.7.5+cvc.2 without the gRPC and WebSocket transports. The build job now runs the recipe's script, the one cvcpkg's builders and ci-recipe.yml run, so the flags live in one place. - The scripts gain what the inline configure had: CVC_ENABLE_MESHER/SDF=ON and, on macOS, CMAKE_IGNORE_PREFIX_PATH for both Homebrew prefixes. They also set CVC_BUILD_ARISRV=OFF: `cvcpkg pack --from-prefix` packs everything staged, and a full install with gRPC on would otherwise put bin/arisrv in the SDK bundle. On macOS, build.sh takes its job count from sysctl. - One step, build-libcvc, runs the script. The checks that the .ari loader, both terminal backends and both conference transports are configured run inside it, after the script, so a stub still stops the pack and the family steps. - The pack step prints the bundle's file list. Dry run 42902542211's bundles match the published 3.7.13+cvc.2 on linux x86_64, macos arm64 and windows x86_64 release: none missing, plus the same 12 new headers and components from master, and no arisrv. libcvc-cuda (#1153): the two CUDA jobs build with cvcpkg/recipes/libcvc-cuda/build.sh and build.ps1, which now run libcvc's scripts with CVC_ENABLE_CUDA=ON instead of keeping drifted copies (gRPC off, no WebSocket or XMLRPC, no CVC_BUILD_ARISRV=OFF). After the build they fail if CUDA did not enable (libcvc otherwise falls back to CPU-only) or if device code targets a single GPU architecture. - Linux CUDA: one step runs the script inside the nvidia/cuda:12.9.1-devel-ubuntu22.04 container, greps the five feature lines and lists the bundle. - Windows CUDA: moves from the Visual Studio generator to Ninja. ninja comes from the catalog next to cmake, ilammy/msvc-dev-cmd sets up VS 2022 (VS2026's cl ICEs on libcvc and nvcc 12 refuses it), CVC_JOBS=4 replaces CVC_MSVC_MP=4, and -T cuda= is gone. Dry run 43150296417 (at 259714b) passed both CUDA jobs: nvcc 12.9.86, GPU architectures 50;60;70;75;80;90;100;120, and bundles matching the published 3.7.13+cvc.2 plus the same 13 new files from master on Linux and Windows. This squash also carries #1136, whose branch #1153 was cut from; #1136's own head was blocked by master's writable-data scan failure (#1193).
auto-merge was automatically disabled
November 13, 2026 00:35
Pull request was closed
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.
publish-cvcpkg.ymlconfigured libcvc with its own inlinecmakeline instead of running the recipe'scvcpkg/recipes/libcvc/build.sh(build.ps1on Windows). The two drifted apart twice, and both times the drift shipped:CVC_USING_XMLRPC, which broke VolumeRover 2.x;The build job now runs the recipe's script, the same one cvcpkg's builders and
ci-recipe.ymlrun, so the configure flags live in one place.Changes
build.sh/build.ps1pick up what the inline configure had and they lacked:CVC_ENABLE_MESHER=ONandCVC_ENABLE_SDF=ON. Both are already the defaults; they are now written down with the rest of the SDK's feature set.CMAKE_IGNORE_PREFIX_PATH=/usr/local;/opt/homebrew, so nothing comes from Homebrew (the 3.7.1 turbojpeg link failure).CVC_BUILD_ARISRV=OFF, beside the CLI andari. The workflow installed only thelibcvccomponent, but the scripts run a full install, andcvcpkg pack --from-prefixpacks everything staged. With gRPC on,arisrv(default ON) would otherwise putbin/arisrvin the SDK bundle, the same file thearisrvpackage installs. The same applies to the recipe path today.nproc, sobuild.shnow askssysctlfor the job count instead of falling back to 4.DISABLE_CGALandCVC_BUILD_VOLROVER3were dropped: the first is ignored and the second no longer exists.publish-cvcpkg.yml,buildjob:Build & install libcvc (the recipe's script)(idbuild-libcvc), replaces the two configure steps, the separate configure assertions and the build step. It runsbuild.sh, orbuild.ps1on Windows, which builds with cl and Ninja as the ari step already does..ariloader, both terminal backends and both conference transports are enabled now run inside that step, after the script. A stub still failsbuild-libcvc, so neither the pack nor the steps that build ari, arisrv and the rest againststage/run. The check now comes after the build instead of before it.build/and the stage is stillstage/.Not changed: the
libcvc-cudajobs keep their inline configure (self-hosted runners; Windows uses the VS generator with-T cuda=). Their comments now point at the scripts.cvcpkg/recipes/libcvc-cuda/build.shis a separate copy that has already drifted from libcvc's. Both are follow-ups.release.ymlalso inlines its configure. It builds the GitHub Release tarballs with CUDA, tests and the CLI, a different product from the cvcpkg SDK bundle, so it is not converted here.Verification
The dry run on this branch, https://github.com/transfix/libcvc/actions/runs/42902542211 (
dry_run=true, nothing published), concluded successfully.Its printed bundle file lists match the published
libcvc-3.7.13+cvc.2bundles on all three release rows:conference/relay_session.h,conference/room_calls.h,core/file_handler_registry.h,core/param_{cli,dsl,table}.h,nav/world_grid.h,ocean/shore.h,state_exec/value_cbor.h,volume/contour_tree_params.h, and theworld_physics.ari/world_source.aricomponents.bin/arisrvon any row.bin/cvc.dlland the MSVC runtime DLLs.The baselines were taken with
cvcpkg download libcvc==3.7.13+cvc.2and listed with Python'starfile/zipfile, the same way the new pack step lists them.linux/arm64 rows: both failed in the dry run, but not because of this change.
cvcpkg install-depsfound no linux/arm64 bundles forcdt,clipper2andshewchuk-predicates, which #1112 made build deps. Joe approved publishing them, and cy-pca/cvcpkg populate-server run 42932376477 did. All three now download for linux/arm64.Locally: the workflow YAML parses,
bash -n build.shpasses, and PowerShell's parser finds no errors inbuild.ps1.