-
Notifications
You must be signed in to change notification settings - Fork 5
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
Try to remove install_dir
usage from all meson.build files
#89
Comments
For the record, it's mesonbuild/meson#9134 that fixed it. |
It's not fixed. I tried to remove two separate instances of
One of my code comments points to mesonbuild/meson#3206, which indeed looks related. Installing files generated by a |
Ack one sec, I should replace |
Which results in a saner error at least:
EDIT: that is with meson 0.60.1 |
subdir is a kwarg for py_installation.install_sources() install_dir is a kwarg for custom_target() and without specifying a location to install to, a custom_target cannot install anywhere, since it does not know what to do. However, it is supposed to give a useful error message, not a traceback, as reported in mesonbuild/meson#9522 (and fixed by me on meson master).
|
The place where you can remove |
Great, thanks for confirming. My only uses of For the record, usages:
|
Ah okay, seems like I was confused about what functions you were using it for, in the linked ticket from the OP. |
No worries, I'm confused all the time here - nontrivial issues & design questions. |
This assumed you were using the python module functions (which may in fact be salvageable if install_sources is modified to learn how to handle generated sources. There is resistance to directly supporting |
Yes, that'd be a great solution. I tried that, and then found mesonbuild/meson#7372. |
For context see mesonbuild/meson#9478 (comment). If it works with
0.60.0
then we can safely get rid of it.The text was updated successfully, but these errors were encountered: