-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: use finalize
method
#25319
meson: use finalize
method
#25319
Conversation
--------- Co-authored-by: PerseoGI <[email protected]>
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 3 (
|
* First steps for finalize() support in Meson --------- Co-authored-by: PerseoGI <[email protected]> * Modify wrapper in finalize to support old versions cleanly * Discard changes to recipes/jwt-cpp/all/test_package/traits/defaults.h * Discard changes to recipes/jwt-cpp/all/test_package/traits/traits.h * Cealnup --------- Co-authored-by: PerseoGI <[email protected]>
Summary
Changes to recipe: meson/[*]
Motivation
This allows local mesons to create bytecode in the cache, without compromising its integrity, by transparently having the dependencies use a copy of the package folder in which the
PYTHONDONTWRITEBYTECODE
var has been disabled for Conan>=2.7. For older versions, thefinalize()
method has no effect and the old package folder is usedDetails
See here for
finalize()
docs, and read this blog post for examples on its usage