Replies: 4 comments 49 replies
-
I thought i'd try the full 51 triples available and i got 50/51 https://github.com/userdocs/musl-cross-make/runs/4256989016?check_suite_focus=true The
But 50 latest toolchains from a github action is ok I think. https://github.com/userdocs/musl-cross-make/releases/tag/11-2021 With 46/51 crossbuilds https://github.com/userdocs/btop-crossbuilds/actions/runs/1478838385 https://github.com/userdocs/btop-crossbuilds/releases/tag/v1.1.1 |
Beta Was this translation helpful? Give feedback.
-
@userdocs Changing the "Continuous Build Linux" workflow to use a musl gcc 11 toolchain seems like a great idea, I not sure if it really matters that much if 32-bit RISC can't be built, I'm gonna assume that anyone running that platform are likely gonna be comfortable compiling btop themselves if need be :) I would like to ask @jan-guenter who setup the current workflow if he has any thoughts on the subject? |
Beta Was this translation helpful? Give feedback.
-
In general I think it's a good idea to upgrade gcc, however I have to wonder why neither Alpine nor muslcc have yet released a gcc 11 version. For the past releases there have always been some patches necessary to ensure a fully working toolchain. (see the patches directory of musl-cross-make) @zv-io, is there a special reason why muslcc has not been built with gcc 11 yet? Are you aware of any known complications using gcc 11 and musl? @userdocs, were you able to complete the gcc test suit with your toolchain builds? @userdocs, is there a reason why your github action uses docker manually instead of
Told you some time ago that you could automate the whole release process ;-) |
Beta Was this translation helpful? Give feedback.
-
There should be little or no issue in using these toolchains for your project here. But please be warned, that if you promote them to other developers for use in their projects, that's potentially a lot of untested and experimental code making its way into the wild and there may be subtle breakage. So my recommendation is use it here if you need bleeding-edge, but don't promote it elsewhere. The toolchains on musl.cc are built with very specific versions of core system utilities and libraries.
Prior to this past spring, releases were done every 1-2 months. I want to get back into that cadence.
This won't be necessary. |
Beta Was this translation helpful? Give feedback.
-
Hello, first, thank your for the project.
I was recently made aware of this project and I noticed that you deploy Linux static binaries using Alpine and docker images from muslcc/x86_64 that currently use
gcc version 10.2.1 20210227 (GCC)
docker run -it muslcc/x86_64:aarch64-linux-musl ash -c 'gcc -v'
As this is similar to some build processes that I use I thought I might try to apply my my custom musl-cross-make toolchains that are configured to use the latest available options from the parent project
These builds are created from a 100% github action based repo that currently uses triples of specific interest to me but as it's a matrix build I am sure it could be extended to use all supported triples and provide comparable toolchains options.
So i build my own toolchains using github and they are provided as releases here - https://github.com/userdocs/musl-cross-make/releases/latest
I then used them to build btop - https://github.com/userdocs/btop-crossbuilds/releases/latest
One successful, full toolchain action, using all supported triples could provide the option to deploy a musl static binary using gcc 11 and provide you more control over the build and release than those docker images.
My builds in the examples are working, based on existing and demonstrable actions so i think the idea is a achievable with out too much drama. It was not too hard for to adapt my workflow to build your app.
Beta Was this translation helpful? Give feedback.
All reactions