mdavidsaver / pvxs

PVA protocol client/server library and utilities.
https://mdavidsaver.github.io/pvxs/
Other
19 stars 25 forks source link

Meson build #35

Open minijackson opened 1 year ago

minijackson commented 1 year ago

As discussed with @mdavidsaver during the 2023 Codeathon.

Currently uses sources from epics-base/epics-base#358 and epics-base/ci-scripts#77, so keeping this PR as draft until they are merged.

This is kind of a long-shot PR, in that it allows building PVXS without going through epics-base Makefile framework. This would allow easier integration into other build / packaging systems (building Python wheels, CI, Debian packaging, etc.).

For examples, I have tested cross-compilation with Nix, and it works without any special care.

Right now, this needs an already compiled epics-base, and uses the pkg-config file that epics-base produces.

By default, the output follows the same hierarchy as epics-base (bin/linux-x86_64), but it can be configured not to, by specifying -Depics_install_hierarchy=false to the meson invocation.

AppVeyorBot commented 1 year ago

:x: Build pvxs 1.0.844 failed (commit https://github.com/mdavidsaver/pvxs/commit/6834b5a4ac by @minijackson)

AppVeyorBot commented 2 months ago

:x: Build pvxs 1.0.999 failed (commit https://github.com/mdavidsaver/pvxs/commit/4cbc0953cd by @minijackson)