diff options
| author | Sergei Zimmerman <xokdvium@proton.me> | 2025-04-14 22:44:15 +0000 |
|---|---|---|
| committer | Sergei Zimmerman <xokdvium@proton.me> | 2025-04-18 19:53:43 +0000 |
| commit | 6b917b1564620ea7358693adc5d66fb97c354aba (patch) | |
| tree | ac47157489a0ef5ea4cccea83b20539232a7ca69 /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos | |
| parent | 7ab6179a39aaf019cf37d8f8ef199233f7af0da1 (diff) | |
edgetx: 2.7.2 -> 2.11.0-rc3, expand build for all targets
Previously the companion was built only for a single default target.
This is very unexpected. Upstream build system is a huge pain, so
our build will also look very hacky. For reference [1] is how upstream
builds their repo. I've tried to make the derivation not very cringeworthy,
but there's a lot of complexity piled on.
Some specific problems to keep an eye out for:
- All targets have to be enumerated by hand. I've put it into a separate
file to improve readability.
- libclang shenanigans. Upstream uses python bindings for `libclang` to
generate code at compile time. To make it find C/C++ standard library
headers we have to patch the scripts and read nix-support/{libc,libcxx}-cflags
to extract the necessary compiler flags that cc-wrapper usually handles for us.
[1]: https://github.com/EdgeTX/edgetx/blob/v2.11.0-rc3/tools/build-companion.sh
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions
