Repository navigation
gallery: build the browser gallery with Jolt; it had the null backend - #1414
Merged
Merged
Conversation
deploy-pages.yml never installed joltphysics, so the configure turned CVC_WITH_JOLT off and the gh-pages gallery shipped cvc::physics with the null backend: terrain_lab's crates and boat were placed but never moved. - deploy-pages.yml installs joltphysics (wasm, wasm32, static) with the other wasm32 deps. - build-wasm-demo.sh passes CVC_WITH_JOLT from CVC_WASM_JOLT (ON by default) and, like ImageMagick, fails the build when the configure did not find Jolt, instead of shipping without it. - The libcvc-examples-web recipe lists joltphysics among its build deps and asks for it (CVC_WASM_JOLT=ON). - CI's physics replay job also runs single-threaded (wasm), the flavor the gallery serves: Jolt's single-threaded job system, on the catalog's wasm bundle, replays the native trace under node.
transfix
enabled auto-merge (squash)
November 20, 2026 23:11
transfix
disabled auto-merge
November 21, 2026 03:24
The new single-threaded physics replay leg failed at the link: "em++: error: -sPROXY_TO_PTHREAD requires -pthread to work!". The test always linked with -sPROXY_TO_PTHREAD, which only the wasm-mt build it was written for has. Single-threaded there are no cvc::app workers to wait on and Jolt runs its single-threaded job system, so main stays on the main thread. The configure found Jolt and libcvc compiled; only this link failed.
… hours The replay takes about a second. The new single-threaded leg is not a required check, so a run that hung there would stall long after the required jobs had passed.
transfix
enabled auto-merge (squash)
November 21, 2026 03:26
…allery-jolt # Conflicts: # .github/workflows/deploy-pages.yml # cvcpkg/recipes/libcvc-examples-web/recipe.yaml
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.
The browser gallery on GitHub Pages has no physics engine. Its deploy never installed
joltphysics, so the configure turnedCVC_WITH_JOLToff and carried on: the deploy after #1369 logged "Jolt not found - cvc::physics has the null backend only". In terrain_lab the crates and the boat are placed but never move.Nothing was missing on the libcvc side:
joltphysics5.6.0+cvc.6 for single-threaded wasm, from before the JX1 republish, so it links with libcvc's JS exceptions.jolt_backend.cppalready runs Jolt's single-threaded job system when built without pthreads.Changes
deploy-pages.ymlinstallsjoltphysics(wasm, wasm32, static) in the loop with eigen, libigl and sdl3. A failed install fails the step, as it does for those.examples/web/build-wasm-demo.sh:CVC_WITH_JOLTfrom a newCVC_WASM_JOLT(ON by default) and saves the configure output toconfigure.log.libcvc-examples-webrecipe listsjoltphysicsamong its build deps, and itsbuild-wasm.shsetsCVC_WASM_JOLT=ON. Both columns have a bundle (wasm and wasm-mt). The package is next published at the next release, as each release's cvc.1, socvc_revisionstays 1.physics-wasm) is now a matrix overwasm-mtandwasm.wasmleg builds the single-threaded libcvc that the gallery uses, on the catalog's Jolt.wasm-mtleg keeps its name, "physics replay (wasm-mt, node)". Each leg has its own concurrency group, so neither cancels the other.Checks
bash -n, and the YAML files parse. Every changed file keeps its CRLF line endings.ci.ymlchanged.After merge