Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the node:18-bullseye image for Linux x64 builds #1349

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

m4heshd
Copy link
Contributor

@m4heshd m4heshd commented Mar 17, 2025

This fixes #1348 by building the artifacts on a base Linux image with glibc 2.31.

I still don't like this because the build script has become a mess trying to keep backward compatibility alive. It's pretty difficult to maintain now. But there's no alternative I guess. 🤷🏻‍♂️

Here's a test artifact built using this container for reference. It's for Node v22. I suggest testing this.

better-sqlite3-v11.9.0-node-v127-linux-x64.tar.gz

Side note:

Now that native arm Linux runners are available, we can switch to them for much faster testing and building. I almost crammed that update into this same PR but decided not to since there are still some limitations to the native arm runners. We can keep that for a future conversation.

This fixes WiseLibs#1348 by building the artifacts on a base Linux image with glibc 2.31.
Copy link
Member

@mceachen mceachen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

(we'll need to remember to re-add the setuptools step when bullseye support is dropped)

@mceachen mceachen merged commit 4b6a3b1 into WiseLibs:master Mar 17, 2025
22 checks passed
ArGeoph pushed a commit to ArGeoph/better-sqlite3 that referenced this pull request Mar 21, 2025
This fixes WiseLibs#1348 by building the artifacts on a base Linux image with glibc 2.31.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Install error: 'GLIBC_2.33' not found
2 participants