Skip to content

with get: WITH_GET_CMAKE_<PACKAGE> carries CMake variables into a source build; the macOS release UAT draws the raylib spiral on rlsw, no GPU (#1375) - #1902

Merged
ehartford merged 2 commits into
spec-sealed-matchingfrom
next-rlsw
Sep 29, 2026
Merged

ehartford merged 2 commits into
spec-sealed-matchingfrom
next-rlsw

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Closes #1375. Eric's ruling (2026-09-29): drawing a spiral must not require a GPU; raylib's rlsw.h software rasterizer is the route. The docs/spec/toolchain/package-management.md paragraph ("Build variables for a source build") was blessed by Eric 2026-09-29.

  • with get honors WITH_GET_CMAKE_<PACKAGE> (src/compiler/ConanClient.w): NAME=VALUE;… cache variables appended after the recipe's own; a set variable forces the source build; a malformed entry is an error. Test: test/internals/conan_cmake_env_test.w.
  • nightly-release.yml macOS UAT steps set WITH_GET_CMAKE_RAYLIB=PLATFORM=RGFW;OPENGL_VERSION=Software;USE_EXTERNAL_GLFW=OFF (raylib 6.0's GLFW backend has no software path; RGFW blits the rlsw framebuffer into a Cocoa window). UAT program and scenario untouched.
  • Found on the way: with get --from-source c.raylib: CMake cannot find glfw3 (the Conan glfw binary ships no glfw3Config.cmake) #1900 (from-source Conan recipes fail find_package because Conan binaries ship no <pkg>Config.cmake).

Gate rc=0 on the branch. Headless verification of rlsw's output against the fixture's bright-sample check is running on eric-5090 (Xvfb); the hosted darwin leg confirms the Cocoa blit on the next nightly. Draft until the stack battery is green.

@ehartford
ehartford changed the base branch from spec-simd-vectors to spec-sealed-matching September 29, 2026 06:13
@ehartford
ehartford added this pull request to stack #1898 September 29, 2026 06:13
Eric Hartford added 2 commits September 29, 2026 14:40
…ackage's source build (#1375)

`WITH_GET_CMAKE_<PACKAGE>` (the name uppercased, `-` as `_`) holds
`NAME=VALUE` entries separated by `;`; `with get` appends them as `-D`
cache variables after the recipe's own, so they win, and builds that
package from source, since a Conan Center binary cannot honor a build
variable. An entry that is not `NAME=VALUE` is an error, never ignored.

A host provision, like LIBGL_ALWAYS_SOFTWARE: the GPU-less hosted macOS
runner draws the raylib spiral through rlsw, raylib's software rasterizer,
with WITH_GET_CMAKE_RAYLIB=PLATFORM=RGFW;OPENGL_VERSION=Software;USE_EXTERNAL_GLFW=OFF.
…rasterizer (#1375)

The hosted macOS runner has a WindowServer but no GPU: NSGL finds no
pixel format for the OpenGL 3.3 context raylib's GLFW backend wants, so
release-raylib-spiral-uat failed before drawing. Drawing a spiral does not
require a GPU (Eric, 2026-09-29): the macOS UAT steps set
WITH_GET_CMAKE_RAYLIB=PLATFORM=RGFW;OPENGL_VERSION=Software;USE_EXTERNAL_GLFW=OFF,
and `with get c.raylib` builds raylib 6.0 from source on its RGFW window
backend with rlsw (src/external/rlsw.h), drawing into a real window. The
UAT program and scenario are untouched. The runbook says so.
@ehartford
ehartford marked this pull request as ready for review September 29, 2026 18:57
@ehartford
ehartford merged commit 543c120 into main Sep 29, 2026
@ehartford
ehartford deleted the next-rlsw branch September 29, 2026 19:03
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.

darwin nightly leg: raylib spiral UAT cannot open a window on the hosted macOS runner (NSGL: no suitable pixel format)

1 participant