-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
[REQUEST] Update build of MIPS targets #1173
Comments
IMO we should move away from minisatip-build-image, it only makes things more complicated right now. I need to figure out how to get Coverity Scan working first, then I'll have time to look at this. |
Hi @Jalle19 , If you accept to compile all targets using the ZIG CC compiler (based on clang), then we can work on it. At time releases for MIPS, ARM and X86-64 are not a problem. The problem is the AXE target. Any idea to support it using the |
@lars18th can you make a pull request with your new workflow, but remove |
Hi @Jalle19
The resquested PR is #1177 . I hope you want to merge it (as a reference) and then update the
Regards. |
I don't really have an opinion either way
Yeah, I'll see what I can do about this one. We need to stop using the base image that minisatip-build-image uses because it's not possible to build it from scratch anymore, the only working version is the image that's currently published to Docker Hub. |
Hi @Jalle19 , The lines |
@catalinii what is the purposw of your libdvbcsa patch? |
Easy! Support for ICAM and similar ECM manipulations. |
Okay |
Should I try to fix minisatip-build-image? |
@catalinii I think it would be best to move away from it completely, it's clearer if everything needed for CI is available in this repository. |
I am not opposed to it, but we would have to build libdvbcsa, netceiver and openssl for all targets somehow: https://github.com/catalinii/minisatip-build-image/blob/master/build_libraries.sh this will make the binaries build much slower |
Then axe building… |
I'll have to think about it some more |
Hi @catalinii and @Jalle19 ,
I've created a new (manual) workflow to create MIPS builds. You can check it:
https://github.com/lars18th/minisatip/blob/master/.github/workflows/binaries-manual-mips.yml
Some comments with the objective of reusing some parts to update the current master
binaries.yml
workflow of the project:-Wno-error=date-time
is necessary to compile with recent compilers. The current use of the__DATE__
and__TIME__
macros breaks any reproducible compilation. And new compilers refuse to compile (by default) non-reproducible binaries. So, I suggest to target this issue in the future. But in the meantime it will be useful to set this flag. You agree?catalinii/minisatip-build-image
. But a recent (5 days ago) master version of zig has updated support for MIPS targets. Therefore, using the master release you can compile for MIPS GNU and MUSL targets without troubles. But the best point is that you can use the external Actiongoto-bus-stop/setup-zig@v2
to setup the ZIG CC compiler. And it has cache support. So I suggest to change the container to move this ancient compiler to/opt/catalinii/zig
and remove it from the PATH. Please, check my dirty workaround commandmv /opt/zig /opt/zig.disabled
in my workflow to overcome this compiler. My suggestion is to not remove the compiler, but not add it to the PATH. So you can still use it if you want it.-target mipsel-linux-gnueabihf.2.30
then you will support Linux 4.x kernels and OpenATV 6.x devices. Because these releases arestatic
then it has sense to support ancient devices. For more optimized versions, a cross-compiler for the specific target using dynamic linking will be preferable. But for these releases I recommend in this way.I hope you want to update the releases.
Regards.
The text was updated successfully, but these errors were encountered: