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: Fix libnvme subproject dependency for distro builds #279

Merged

Conversation

martin-belanger
Copy link
Collaborator

@martin-belanger martin-belanger commented Nov 4, 2022

Distros typically invoke meson with --wrap-mode=nodownload. E.g.

$ meson --wrap-mode=nodownload -Dman=true -Dhtml=true .build

This prevents downloading subprojects (in this case libnvme) which is required to run the unit test code.

This patch sets subproject()'s "required" flag to "false", which will allow the above meson command to run w/o errors.

Signed-off-by: Martin Belanger martin.belanger@dell.com

Distros typically invoke meson with --wrap-mode=nodownload. E.g.

$ meson --wrap-mode=nodownload -Dman=true -Dhtml=true .build

This prevents downloading subprojects (in this case libnvme) which
is required to run the unit test code.

This patch sets subproject()'s "required" flag to "false", which
will allow the above meson command to run w/o errors.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
@martin-belanger martin-belanger merged commit 102f3fc into linux-nvme:main Nov 4, 2022
@martin-belanger martin-belanger deleted the subproject-required-false branch November 15, 2022 13:52
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.

None yet

1 participant