package/libnvme: bump to version 1.14
PATCH 1/1 package/libnvme: bump to version 1.14
Add local patch to avoid build failure on examples folder that we don't need. That build failure is due to missing bits/pthreadtypes.h on musl and since we don't need examples at all let's disable its building by passing -Dexamples=false.
For release note, see:
https://github.com/linux-nvme/libnvme/releases/tag/v1.14
--- .../0001-Make-examples-build-selectable.patch | 46 +++++++++++++++++++ package/libnvme/libnvme.hash | 2 +- package/libnvme/libnvme.mk | 3 +- 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 package/libnvme/0001-Make-examples-build-selectable.patch
package/libnvme/0001-Make-examples-build-selectable.patch new file +46 -0
@@ -0,0 +1,46 @@ +From 6c0b9ad7822d9e9c74b787914cb766d27a358258 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti <[email protected]> +Date: Tue, 20 May 2025 22:34:16 +0200 +Subject: [PATCH] Make examples build selectable + +Sometimes we don't need to build examples and increase some dependency we +don't have(i.e. bits/pthreadtypes.h in musl) so let's add examples option +true by default. + +Upstream: +Signed-off-by: Giulio Benetti <[email protected]> +--- + meson.build | 4 +++- + meson_options.txt | 1 + + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 279245ac..4d819178 100644 +--- a/meson.build ++++ b/meson.build +@@ -282,7 +282,9 @@ subdir('libnvme') + if get_option('tests') + subdir('test') + endif +-subdir('examples') ++if get_option('examples') ++ subdir('examples') ++endif + subdir('doc') + + ################################################################################ +diff --git a/meson_options.txt b/meson_options.txt +index 051b4ae5..48a93dae 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST + + option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation') + option('docs-build', type : 'boolean', value : false, description : 'build documentation') ++option('examples', type : 'boolean', value : true, description : 'build examples') + option('tests', type : 'boolean', value : true, description : 'build tests') + + option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings') +-- +2.39.5 +
package/libnvme/libnvme.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated sha256 checksums -sha256 f083c21f525644a2bcca6d367d96fab813de880cba9f1746a850f3a8692a5980 libnvme-1.13.tar.gz +sha256 a7230d6d4959f26cf0c0ef6c9bb479bd94a8c0ec738bf6e164d66c3dc6397e66 libnvme-1.14.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
package/libnvme/libnvme.mk +2 -1
@@ -4,13 +4,14 @@ # ################################################################################ -LIBNVME_VERSION = 1.13 +LIBNVME_VERSION = 1.14 LIBNVME_SITE = $(call github,linux-nvme,libnvme,v$(LIBNVME_VERSION)) LIBNVME_LICENSE = LGPL-2.1 LIBNVME_LICENSE_FILES = COPYING LIBNVME_INSTALL_STAGING = YES LIBNVME_CONF_OPTS += \ + -Dexamples=false \ -Dtests=false ifeq ($(BR2_PACKAGE_PYTHON3),y)
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedQuoted 9 lines · Giulio Benetti
Add local patch to avoid build failure on examples folder that we don't need. That build failure is due to missing
bits/pthreadtypes.hon musl and since we don't need examples at all let's disable its building by passing -Dexamples=false.For release note, see:
https://github.com/linux-nvme/libnvme/releases/tag/v1.14Signed-off-by Giulio Benetti <[email protected]>
Applied to next, thanks.
For info, I added the link to the "Upstream:" tag in the patch which was missing for some reason. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/c2fdcebc6ee6b589665f9903b997b887bc0327d7
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 12 lines
Il giorno 21 mag 2025, alle ore 20:03, Julien Olivain <[email protected]> ha scritto:
Quoted 7 lines · Giulio Benetti
Add local patch to avoid build failure on examples folder that we don't need. That build failure is due to missing
bits/pthreadtypes.hon musl and since we don't need examples at all let's disable its building by passing -Dexamples=false.
For release note, see:
https://github.com/linux-nvme/libnvme/releases/tag/v1.14Signed-off-by Giulio Benetti <[email protected]>
Quoted 6 lines
Applied to next, thanks.
For info, I added the link to the "Upstream:" tag in the patch which was missing for some reason. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/c2fdcebc6ee6b589665f9903b997b887bc0327d7
Thank you Julien, I’ve missed it.
Best regards
Giulio
Quoted 3 lines
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot