Skip to content

Draft: Make the binding-generation optional

Peter Hutterer requested to merge whot/libei:wip/optional-bindings into main

Generating the bindings requires a bunch of python modules and generates code that is likely mostly static. So we can instead make the bindings optional and where disabled fall back on git-added generated bindings. For building from tarballs this reduces the set of python dependencies.


I'm filing this one merely as a backup, not planning to work on this in the near future. It's about 80% complete.

  • actually check in the generated files in src/ei-proto.h etc.
  • do the same check for the python test suite in test/meson.build
  • add a gitlab CI stage to verify this builds as expected
  • add a gitlab CI stage to verify the checked-in bindings match the generated bindings so we cannot forget to update those.

Merge request reports

Loading