Build toolchain for cross compile locally #14
Replies: 3 comments
-
|
No. Just doing that is not going to replicate what this workflow does as it modifies the build per target triple using these matrix settings. https://github.com/userdocs/qbt-musl-cross-make/blob/main/triples.json The real question here is why would you want to do this? The toolchains are already published as releases. |
Beta Was this translation helpful? Give feedback.
-
|
This is more of an interest than any need to do it manually. Just to understand how it works. |
Beta Was this translation helpful? Give feedback.
-
|
It's based on this https://github.com/richfelker/musl-cross-make and that's how it works. This version is just modified to use more recent dependencies and changes specific to working as a github workflow. You could use it locally if you made manual changes to the line https://github.com/userdocs/qbt-musl-cross-make/blob/main/config.mak#L44 and set the triple config. That's not the purpose of this project though. It's not targeted to be built locally or manually. It publishes the releases I need. These are other sources based on the upstream project, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
This is great job! Especially GitHub workflow with checking new release. Thanks for sharing this repo!
Am I right that I can build toolchain for required architecture locally just using e.g.
alpine:edgedocker container?All is needed it's just execute:
make install TARGET=aarch64-linux-musl -j$(nproc)Beta Was this translation helpful? Give feedback.
All reactions