Skip to content
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

Meson build #35

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Meson build #35

wants to merge 2 commits into from

Conversation

minijackson
Copy link

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
Copy link

Build pvxs 1.0.844 failed (commit 6834b5a4ac by @minijackson)

tools/meson.build Show resolved Hide resolved
src/meson.build Outdated Show resolved Hide resolved
WIP because it uses ci-script and epics-base from pending PRs
@AppVeyorBot
Copy link

Build pvxs 1.0.999 failed (commit 4cbc0953cd by @minijackson)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants