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

build: add --local-flint to set rpath in dev build #135

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

oscarbenjamin
Copy link
Collaborator

This implements mesonbuild/meson#13046 (comment).

On Linux the current meson build needs LD_LIBRARY_PATH to be set when using a local build of flint. This adds a project option to install the rpaths and also customises spin's build command so that you can do:

spin build --local-flint=.local/lib/pkgconfig

@oscarbenjamin
Copy link
Collaborator Author

I've removed the custom spin command. To set the rpaths you can use:

spin build -- -Dpkg_config_path=$(pwd)/.local/lib/pkgconfig -Dadd_flint_rpath=true

@oscarbenjamin oscarbenjamin merged commit 625646a into flintlib:master Jun 13, 2024
30 checks passed
@oscarbenjamin oscarbenjamin deleted the pr_flint_rpath branch June 13, 2024 17:17
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.

1 participant