tangramdotdev / packages

A collection of community maintained Tangram packages.
https://www.tangram.dev
MIT License
8 stars 2 forks source link

refactor(std/sdk): smaller sdk env #11

Closed deciduously closed 7 months ago

deciduously commented 7 months ago

This PR limits the env returned by std.sdk() to contain only the std.utils set of tools and the requested compiler toolchain. Previously, we also bundled all dependencies required to bootstrap the toolchain itself. This change keeps those dependencies internally scoped to std, pushing the responsibility for providing these tools, for example m4 or perl, out to "real", post-std packages.

This change included adding the bzip2, patch, make, and xz packages to the std.utils.env() to provide a complete base set, and adding a new perl package for general use outside of std. These changes have the added benefit of simplifying the build graph when bootstrapping GCC.

Additional changes rolled in: