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

fix(mk): remove deprecated helper-targets and adjust config-slim #340

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

safl
Copy link
Member

@safl safl commented Sep 5, 2023

The mk-config-helper-targets for various features were previously somewhat convenient as examples of disabling features requiring third-party libraries which were always fetched via meson-subprojects. Also, as a means to disable when a dependency did not function properly in a given environment.

Now that the build instead links with the dependencies when available on the system. Then, third-party dependencies simply disabled when not available. Thus, those targets are no longer needed.

The exception to this is SPDK, thus, the 'config-slim' serves as an example of disabling the SPDK subproject, and disabling other dependencies even when they are found on the system.

@safl safl added the bug Something isn't working label Sep 5, 2023
@safl safl added this to the v0.7.2 milestone Sep 5, 2023
Makefile Show resolved Hide resolved
Makefile Outdated

define config-slim-help
# Configure Meson to compile xNVMe without: SPDK, liburing, and libvfn
# Configure Meson to compile xNVMe without any third-part libraries
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

third-party

karlowich
karlowich previously approved these changes Sep 6, 2023
The mk-config-helper-targets for various features were previously
convenient as examples of disabling features requiring third-party
subproject-provided libraries.

However, now that the build links with the dependencies available on the
system. Then, third-party dependencies are simply disabled when not
available. Thus, those targets are no longer needed.

The exception to this is SPDK. Thus, the 'config-slim' is an example of
turning off the SPDK subproject. It also shows how to turn off a
third-party library, even though it is readily available on the system.

Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com>
@safl safl merged commit 837e186 into xnvme:next Sep 6, 2023
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

3 participants