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

Provide an hermetic toolchain #10

Open
Kernald opened this issue Nov 3, 2022 · 1 comment
Open

Provide an hermetic toolchain #10

Kernald opened this issue Nov 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Kernald
Copy link

Kernald commented Nov 3, 2022

First of all, thanks for those rules! My pico should arrive today, I was planning on writing something similar :-)

At the moment, these rules are depending on the platform's arm-none-eabi toolchain. This requires any host machine that will eventually build anything on the repo (even if they're not targeting pico) to have such a toolchain. It would be great having such a toolchain downloaded on demand rather than relying on the host's, e.g. like https://github.com/grailbio/bazel-toolchain is doing for more common architectures!

@dfr
Copy link
Owner

dfr commented Nov 4, 2022

Clearly adding a hermetic toolchain would help for ensure repeatable builds. Unfortunately, I don't know of a single source for a gcc arm-none-eabi + newlib which covers all the platforms (FreeBSD, Linux, MacOS, Windows).

I have looked at grailbio/bazel-toolchain in the past but this covers just the toolchain whereas the arm-none-eabi packages also have the necessary newlib headers and libs to support pico-sdk.

@dfr dfr added the enhancement New feature or request label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants