Repository navigation
CI: no Homebrew in the macOS libcvc builds (publish-cvcpkg, ci-recipe) - #1054
Merged
Merged
Conversation
Homebrew is not used at all. The publish job's macOS libcvc build used it in two ways: - it configured and built with the runner image's cmake and ninja, which on macOS are Homebrew's (cvcpkg's tools were installed only for the late ari steps); - on macOS Intel it ran `brew unlink jpeg-turbo` to keep Homebrew's 3.2 turbojpeg.h from shadowing the deps prefix's 3.1.0 (diagnostic run 41007705020). Now: - cvcpkg's cmake, ninja and pkg-config go first on PATH before the macOS configure (./.github/actions/cvcpkg-build-tools), and the ari steps use them too. The late tools step is Windows-only. - The macOS configure passes CMAKE_IGNORE_PREFIX_PATH=/usr/local;/opt/homebrew, so no find_* call can resolve a Homebrew package. The prefix's include dir outranks clang's built-in /usr/local/include, so with Homebrew's pkg-config and CMake searches gone, nothing can put a Homebrew header ahead of it. - A step after the build fails on anything that still came from a Homebrew prefix: a header in ninja's deps log, or a library a staged dylib loads (otool -L). It also prints which cmake, ninja, pkg-config and bash ran.
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
#1050 made the same two fixes this branch carried for the macOS recipe lane (b5597c7, dfd8d0e, 7791c2e), and it is on master now. The merge takes master's side of each, so this branch no longer changes CI: - .github/workflows/ci-recipe.yml is master's: the packaged cvcpkg 2.5.12 from cvcpkg.org's install.sh / install.ps1. The cvcpkg build-tools step (no Homebrew cmake) and the --fallback-to-source move to install-deps go to #1054, the PR that takes Homebrew out of CI. - src/cvc/tests/ipc_socket_path.h and the five IPC tests are master's.
The recipe lanes took cmake and ninja from the runner image, which on macOS is Homebrew's. They now run ./.github/actions/cvcpkg-build-tools after installing cvcpkg, as the package and release jobs do, so cvcpkg's cmake, ninja and pkg-config come first on PATH for the recipe's build script and the job fails if one resolves anywhere else. cvcpkg 2.5's `build` has no --fallback-to-source (it is an install and install-deps flag; `build --no-deps` has no deps to build), so the workflow_dispatch input now goes to install-deps. This was on #1049 until #1050 fixed the rest of the macOS recipe lane on master.
transfix
added a commit
that referenced
this pull request
Nov 8, 2026
…1049) WD0 and WD1 of ARIADNE_WORLDS.md: every room's world, and its look, now comes from a world document. - WD1: arisrv runs cvc://worlds/default.ari (the 20 m room), or cvc://worlds/large.ari with --scene large. Both live in the new src/cvc/ariadne/worlds/, installed beside components/. A --doc whose document has a scene: with nodes or lights is the world instead; --scene with such a --doc exits 2. - The relay publishes the world as one revision (conference::write_room_world): every field and the soft removals first, scene.rev once and last. conference::room_world_from_scene turns a document's scene into what the room's wire holds: background, chrome, shadows, every light (rigs included), and each top-level plane, box, sphere or mesh-by-URI node with its fit:, transform and plain material. What it leaves out is warned about at start-up. Every body is published as a static (server-dynamic entities are WD3's); physics: waits for the headless world runtime (L0, section 14). - The look is the world's (Q1). The three_point rig and its shadows move from conference_roster.ari into the world document. The wire gains the rig's tuning knobs (stage, key, fill, back, warmth, environment, ambient, wash, and #1047's sun) under scene.env.lights.<id>, and scene.env.shadows.interval. - default_world() and large_world() are C++ twins of the two documents, seeded when the world file can't be found; StockWorldsMatchTheirTwins pins each pair to the same leaves. - ServerDocument::read() keeps the parsed scene, so the world is published before the document's init: runs. - WD0: --set comes after the world and the room's policies, so it overrides them, but before a server document's init:, so ariadne.limits.* still bound init:. - Tests: RoomSceneTest.RigKnobsRoundTrip, RoomWorldIsOneRevision, RoomWorldFromSceneCarriesWhatTheWireHolds, StockWorldsMatchTheirTwins; ServerDocumentTest checks read() keeps the scene; ctests arisrv_world_from_doc, arisrv_world_doc_and_scene, arisrv_set_after_world. - No CI change: #1050 fixed the macOS recipe lane on master, and the merge of master takes its side. The recipe lanes' Homebrew-free build tools are #1054's.
transfix
added a commit
that referenced
this pull request
Nov 9, 2026
encode() named its temp file from std::hash<std::thread::id> of the calling thread alone. ctest runs each case in its own process, several at once under -j, and on macOS the main thread's pthread_t lives in the dyld shared cache at the same address in every process for a boot, so every test process picked the same file. Concurrent cases wrote, read and removed each other's file and decoding saw "png: no image data" (MediaDecode.* on #1054's macOS Release recipe job). Name the file from the process id plus a per-process atomic call counter, with the CVC_GETPID() macro the hdf5/utility/volume_io tests already use. The file is still closed before the remove for Windows.
This was referenced Nov 9, 2026
transfix
added a commit
to cy-pca/cvcpkg
that referenced
this pull request
Nov 9, 2026
…rm (#589) Cutting a release ended at the recipes/cvcpkg bump. The releases since 2.5.2 then populated the package for linux, freebsd and windows x86_64 only: macOS (arm64, x86_64) and linux/arm64 have no builders and only build through macos-build.yml / linux-arm-build.yml, which nobody dispatched, so the registry still serves cvcpkg 2.5.1+cvc.3 there. A pinned install.sh on those platforms (libcvc's CI pins 2.5.12) falls back to the GitHub release's binary, and GitHub Releases' 504s have failed libcvc's macOS jobs (transfix/libcvc#1054, #1090). Step 7 gives the two dispatches that cover every platform the installers serve, and a loop that checks each platform's lookup. macos-recipe-check and linux-arm-recipe-check built and packed cvcpkg 2.5.12 on macos-latest, macos-15-intel and ubuntu-22.04-arm from master (runs 42667712224, 42667723009, 42667730689).
transfix
added a commit
that referenced
this pull request
Nov 9, 2026
macOS jobs install the cvcpkg CLI from the cvcpkg-v2.5.12 GitHub release, because the registry's newest macOS (and linux/arm64) cvcpkg package is 2.5.1+cvc.3. GitHub Releases answers 504 for minutes at a time, and the installers do not retry, so #1090 lost recipe / macos-latest / Release and package-macos / libcvc-release-grpc-static to one download, and #1054 lost jobs the same way. The action now downloads install.sh / install.ps1 to a file and runs it up to five times, waiting 20, 40, 60 and 90 s between attempts (3.5 minutes). On Windows the script runs as a child pwsh, since install.ps1 ends a failure with `exit 1`, which under `irm | iex` ends the step instead of the attempt. The description now says which platforms the registry covers at 2.5.12.
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.
Homebrew is banned: no
brew, and no tools, headers or libraries from/usr/localor/opt/homebrew. This takes it out of the two places libcvc's workflows still used it:publish-cvcpkg.yml's macOS libcvc build andci-recipe.yml's recipe lanes.ci.yml'spackage-macosandrelease.ymlalready build with cvcpkg's tools.What changed in the
buildjob./.github/actions/cvcpkg-build-toolsputs cvcpkg's cmake, ninja and pkg-config first on PATH before the macOS configure, and fails if one resolves anywhere else. The ari and ari-media steps use them too, so the late tools step now runs on Windows only.brew unlink jpeg-turbo. The step that unlinked Homebrew's jpeg-turbo on macOS Intel is gone, replaced by two guards:-DCMAKE_IGNORE_PREFIX_PATH=/usr/local;/opt/homebrew, so nofind_*call can resolve a Homebrew package./usr/local/include. Homebrew's 3.2turbojpeg.hcould only win when/usr/localitself reached the compile line, through Homebrew's pkg-config or CMake's default/usr/localsearch, and both are gone now.Check the build used nothing from Homebrew [macOS]):otool -L), comes from a Homebrew prefix.What changed in
ci-recipe.yml./.github/actions/cvcpkg-build-tools, so the recipe's build script gets cvcpkg's cmake, ninja and pkg-config instead of the runner image's (Homebrew's on macOS). This was on worlds: the relay seeds each room from a world document (WD0, WD1) #1049 until ci-recipe: install the packaged cvcpkg 2.5.12, not the stale libcvc-deps repo #1050 fixed the rest of that lane on master.buildhas no--fallback-to-source(it belongs toinstallandinstall-deps), so theworkflow_dispatchinput now goes toinstall-deps.Verifying
A
workflow_dispatchdry run (dry_run=true: build and pack, no publish, no artifact uploads) on this branch. What to look for:_tj3InitVersionundefined.ci-recipe.yml: the PR's own recipe lanes run the new step.Dry run 42451044846 (on 26bb5e6, before the
ci-recipe.ymlcommit):_tj3InitVersion.no header or library from /usr/local or /opt/homebrew; cmake, ninja and pkg-config from_temp/cvcpkg-tools/bin; bash is/bin/bash (3.2.57(1)-release).Not changed
shell: bashran the system/bin/bash3.2 in the dry run, not Homebrew's bash 5, so no pin is needed.actions/checkoutruns the runner image's git, which on macOS is/opt/homebrew/bin/git. It only checks out the source and doesn't take part in the build.