Add Cloud Agent development environment for Weft - #60
Draft
jmossymoss wants to merge 1 commit into
Draft
Conversation
Add .cursor/environment.json and an idempotent install script that installs the OpenCASCADE/GLFW/OpenGL toolchain (mirroring the Linux CI dependency set) and produces a Release build. Pins gcc/g++ because the base image's default c++ alternative is clang, whose driver cannot find libstdc++. Co-authored-by: jmossymoss <jmossymoss@users.noreply.github.com>
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.
Summary
Sets up a Cloud Agent development environment for Weft so future agents boot with a ready-to-use Release build of the headless core, CLI, and interactive app.
.cursor/environment.json— names the environment and pointsinstallat the setup script..cursor/install.sh— idempotent, non-interactive setup that installs the OpenCASCADE / GLFW / OpenGL toolchain (mirroring the Linux CI dependency set in.github/workflows/ci.yml) and produces a Release build with Ninja.Notes
c++/ccalternatives point to clang, whose driver looks for a libstdc++ dev tree that is not installed, causingcannot find -lstdc++. The install script pinsgcc/g++(which ship a workinglibstdc++-13-devand match CI) to avoid this.start/terminalsphase is needed: Weft is a build + CLI/GUI tool with no long-running services.Validation (on this VM, Ubuntu 24.04 x86_64)
weft,weft_app, tests)ctest --test-dir buildtools/corpus_gate.sh --no-golden(CI mode)fixture→inspect→mesh --validate)weft_app --fixture boss --screenshot