Skip to content

Conversation

@jungleraptor
Copy link
Contributor

@jungleraptor jungleraptor commented Apr 23, 2023

Adds a custom build of a arm-linux-musleabihf toolchain that is compatible with the corresponding rust toolchain.

The rust musl libc is based on version 1.1.24, which is incompatible with pre-built versions of this toolchain like the ones available from musl.cc

This build is based off of the following two projects:

Design notes

  • adds a makefile target to build the toolchain locally: make <target> and the resulting artifact will be in the root directory
  • adds a GH actions CI pipeline to build and release the toolchain

Copy link
Contributor

@silverjam silverjam left a comment

Choose a reason for hiding this comment

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

Would prefer if we use GitHub actions since this is a public repo-- we have access to s3 via the GitHub Actions AWS user/role that's setup in Terraform

@jungleraptor
Copy link
Contributor Author

Would prefer if we use GitHub actions since this is a public repo-- we have access to s3 via the GitHub Actions AWS user/role that's setup in Terraform

The main reason I went for jenkins is because we need to build against a compatible glib as we're using in the target CI environments (2.28).

Not impossible in GHA but it's a lot less ergonomic then how we have it set up in jenkins.

@jungleraptor jungleraptor requested a review from silverjam April 26, 2023 02:12
@jungleraptor jungleraptor changed the title add build for a rust compatible armhf-musl-gcc add build for a rust compatible musl toolchains Apr 26, 2023
@jungleraptor jungleraptor changed the title add build for a rust compatible musl toolchains add builds for rust compatible musl toolchains Apr 26, 2023
@jungleraptor jungleraptor merged commit 10fe5d8 into master Apr 26, 2023
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.

4 participants