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

Stop building our own libgc #285

Closed
straight-shoota opened this issue Jan 10, 2024 · 1 comment · Fixed by #300 or #301
Closed

Stop building our own libgc #285

straight-shoota opened this issue Jan 10, 2024 · 1 comment · Fixed by #300 or #301

Comments

@straight-shoota
Copy link
Member

Originally, we built and distributed our own version of libgc because Crystal required some patches.
Those patches are long gone (#141) and we're now simply building the upstream version of libgc.

This shouldn't be our responsibility. At this point, I think we can safely drop this dependency. Distribution packages need to make sure to install the libgc package, as they already do with other dependencies.

@straight-shoota
Copy link
Member Author

Some older but still commonly used distributions (such as Ubuntu 22.04, Debian 11) have quite dated versions of libgc (see https://repology.org/project/boehm-gc/versions).
On these distributions, we cannot simply use the system package because it lacks support for some features that Crystal needs.
So I guess we'll have to continue distributing a custom build of libgc.

We may consider removing it from redistributed packages (such as on OBS) when an up-to-date package is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant