Skip to content

Build PPX binary in Debian 11 container to improve Vercel compatibility#580

Merged
zth merged 3 commits into
zth:masterfrom
green-labs:ppx-runtime
Oct 10, 2025
Merged

Build PPX binary in Debian 11 container to improve Vercel compatibility#580
zth merged 3 commits into
zth:masterfrom
green-labs:ppx-runtime

Conversation

@namenu

@namenu namenu commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

Fix Vercel builds by reducing glibc requirement

Problem

PPX binary built on ubuntu-24.04 requires glibc 2.39, but Vercel (Amazon Linux 2023) only has glibc 2.34.

Solution

Build in Debian 11 container (glibc 2.31) instead of ubuntu-latest for broader compatibility.

Changes

  • Use debian:bullseye container for Linux PPX builds
  • Install system dependencies before opam setup
  • Update cache prefix to v2-bullseye

Supports Amazon Linux 2023, Ubuntu 20.04+, Debian 11+, RHEL 9+.

@namenu namenu changed the title Build PPX binary in Debian 11 container to improve compatibility Build PPX binary in Debian 11 container to improve Vercel compatibility Oct 9, 2025
@zth

zth commented Oct 9, 2025

Copy link
Copy Markdown
Owner

@namenu awesome! Care to add a changelog as well? I can release this right away.

@namenu

namenu commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

@zth sure. I've added this to the top of the CHANGELOG under the 'master' section since I'm not sure which version number this will be released as.

@zth
zth merged commit c7bffd6 into zth:master Oct 10, 2025
@zth

zth commented Oct 10, 2025

Copy link
Copy Markdown
Owner

@namenu will be out in 3.5.1 shortly.

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