Skip to content

raylib: bundle mesa, test fixup - #101

Open
greatgitsby wants to merge 23 commits into
commaai:masterfrom
greatgitsby:raylib-headless-bundle-mesa
Open

raylib: bundle mesa, test fixup#101
greatgitsby wants to merge 23 commits into
commaai:masterfrom
greatgitsby:raylib-headless-bundle-mesa

Conversation

@greatgitsby

@greatgitsby greatgitsby commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

commaai/openpilot#38695

wheel size (x86_64): 2 MB → 20 MB

  • +18 MB: llvmpipe. libgallium is 45 MB stripped, ~15 MB compressed; that's static LLVM (native target only, MinSizeRel, gc-sections). softpipe was 8 MB total but ~10x slower: openpilot's UI report didn't finish in 6 min vs 57s with llvmpipe (44s on master with the runner's system mesa). distro llvm-static would be 30 MB.
  • +0.5 MB: libEGL, libGLESv2, libdrm.

also fixes test_wheels_in_image.sh swallowing smoketest failures (cmd && echo OK doesn't trip set -e).

mesa 26.2.1 / llvm 22.1.8 vs 25.3.6 / 21.1.8: same speed on openpilot's UI report (20s + 38s, 3 runs each).

CI build job with #103's ccache: linux-x86_64 52m08s cold → 8m15s warm; macos 7m14s → 4m12s; linux-arm64 40m41s → 6m11s.

@therepanic

Copy link
Copy Markdown

fixed in #99

@greatgitsby
greatgitsby marked this pull request as ready for review August 23, 2026 18:54
@greatgitsby
greatgitsby marked this pull request as draft August 24, 2026 15:42
@greatgitsby
greatgitsby marked this pull request as ready for review August 24, 2026 15:52
@greatgitsby
greatgitsby marked this pull request as draft August 24, 2026 17:05
… softpipe was ~10x slower than the system mesa CI used before
…ja so cached build/llvm survives uv's rotating build env
…t rewrote mtimes after a cache restore and rebuilt llvm every CI run
@greatgitsby
greatgitsby force-pushed the raylib-headless-bundle-mesa branch from 32ca990 to 5f08554 Compare August 24, 2026 21:17
@greatgitsby
greatgitsby marked this pull request as ready for review August 24, 2026 23:01
@greatgitsby greatgitsby changed the title raylib: bundle mesa so the headless wheel has no system GL deps raylib: bundle mesa Aug 25, 2026
@greatgitsby greatgitsby changed the title raylib: bundle mesa raylib: bundle mesa, test fixup Aug 25, 2026
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.

2 participants