You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The correct form is either install = ['--skip-subprojects', 'nanoarrow'] or install = ['--skip-subprojects=nanoarrow']. The install = ['--skip-subprojects nanoarrow'] form passes a single --skip-subprojects nanoarrow flag, which is incorrect. I don't know why this does not result in an error though.
dnicolodi
changed the title
skip-subprojects requires equal sign to parse correctly
Warn (or error?) on unhaldled options passed to meson installOct 10, 2024
meson-python allows to specify options to be passed to the different meson subcommands invoked during the build: meson setup, meson compile, meson install. However, it does not really execute meson install but performs equivalent operations. For this reason, the options that would be passed to meson install are interpreted directly by meson-python. meson-python supports the --tags and --skip-subprojects options and ignores everything else. As reported by the OP, this may cause confusion when options are misspelled or when unsupported options are specified.
Emitting an error when an unsupported option is specified may be the best thing to do. A warning should be emitted, at least.
rgommers
changed the title
Warn (or error?) on unhaldled options passed to meson install
Warn (or error?) on unhandled options passed to meson installOct 13, 2024
It appears that having:
is a no-op. To actually skip the subproject, I have to use:
Is this distinction intentional?
The text was updated successfully, but these errors were encountered: