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

Update zig libraries and remove vendored copies from this repo #2769

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

pomi601
Copy link
Contributor

@pomi601 pomi601 commented Feb 28, 2025

This pull request removed the vendored zig libraries used as part of the zig build system to build rcloud, and replaces them with updated versions that make use of the zig package manager. This reduces a maintenance burden for library maintainers and reduces the size of this repository.

The zig package manager is included with the zig compiler, but it currently has a bug which causes it to fail if it is run behind an http proxy.

This pull request also updates R package dependencies to address a compile error with libcurl and the RCurl package.

Tested on MacOS:
$ nix develop
$ zig build
Fixes a build failure in curl version 5.2.3. Confirmed to build on Mac
OS under `nix develop`.
update flake, which updates zig version to 0.14.0-dev.3091+42e48b83b
and confirm that zig build completes successfully.
Previously, we used r-build-zig-0.5.0-no-deps in order to work around
the zig build system bug that did not support http/https proxies. With
the library restructuring taking place in r-build-zig's other
dependencies, and with the upcoming 0.14.0 release which may require
further library updates, it's easier to unvendor these dependencies
for the time being.
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.

1 participant