libibverbs: provide virtual/libibverbs
PATCH 1/3 libibverbs: provide virtual/libibverbs
dpdk-dev-libibverbs recipe provides the same library as what libibverbs provides. To avoid building these two recipes at the same time at one single build, we use the technique of 'virtual/libibverbs'.
Make libibverbs provide 'virtual/libibverbs' so that other recipes could use 'virtual/libibverbs' as their dependencies. In this way, potential conflicts are avoided.
--- recipes-extended/libibverbs/libibverbs_1.1.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-extended/libibverbs/libibverbs_1.1.7.bb +2 -1
@@ -26,4 +26,5 @@ do_install_append() { rm -f ${D}${libdir}/libibverbs.la } -RCONFLICTS_${PN} = "dpdk-dev-libibverbs" +PROVIDES = "virtual/libibverbs" +RPROVIDES_${PN} = "virtual/libibverbs"
Signature · 1 line
2.11.0
PATCH 2/3 glusterfs: use virtual/libibverbs
Use 'virtual/libibverbs' instead of hardcoding libibverbs. This is to avoid potential conflict between libibverbs in this layer and dpdk-dev-libibverbs in meta-dpdk layer.
--- recipes-extended/glusterfs/glusterfs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/glusterfs/glusterfs.inc +1 -1
@@ -48,7 +48,7 @@ PACKAGECONFIG ??= "georeplication libibverbs" PACKAGECONFIG[bd-xlator] = "--enable-bd-xlator,--disable-bd-xlator,lvm2," PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," PACKAGECONFIG[georeplication] = "--enable-georeplication,--disable-georeplication,,rsync" -PACKAGECONFIG[libibverbs] = "--enable-ibverbs,--disable-ibverbs,libibverbs librdmacm," +PACKAGECONFIG[libibverbs] = "--enable-ibverbs,--disable-ibverbs,virtual/libibverbs librdmacm," PACKAGECONFIG[ocf] = "--with-ocf,--without-ocf,," PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind,"
Signature · 1 line
2.11.0
PATCH 3/3 librdmacm: use virtual/libibverbs
In reply to Chen QiUse 'virtual/libibverbs' instead of hardcoding libibverbs. This is to avoid potential conflicts between libibverbs in this layer and dpdk-dev-libibverbs in meta-dpdk layer.
--- recipes-extended/librdmacm/librdmacm_1.0.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/librdmacm/librdmacm_1.0.17.bb +1 -1
@@ -12,7 +12,7 @@ SECTION = "libs/devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=39cc3044d68741f9005da73e9b92db95" -DEPENDS = "libibverbs" +DEPENDS = "virtual/libibverbs" # Repo is at http://git.openfabrics.org/git?p=~shefty/librdmacm.git SRC_URI = "http://www.openfabrics.org/downloads/rdmacm/${BPN}-${PV}.tar.gz \
Signature · 1 line
2.11.0
merged.
Bruce
Quoted 32 lines · Chen Qi
dpdk-dev-libibverbs recipe provides the same library as what libibverbs provides. To avoid building these two recipes at the same time at one single build, we use the technique of 'virtual/libibverbs'.
Make libibverbs provide 'virtual/libibverbs' so that other recipes could use 'virtual/libibverbs' as their dependencies. In this way, potential conflicts are avoided.
Signed-off-by Chen Qi <[email protected]>--- recipes-extended/libibverbs/libibverbs_1.1.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)recipes-extended/libibverbs/libibverbs_1.1.7.bb +2
-2@@ -26,4 +26,5 @@ do_install_append() { rm -f ${D}${libdir}/libibverbs.la } -RCONFLICTS_${PN} = "dpdk-dev-libibverbs" +PROVIDES = "virtual/libibverbs" +RPROVIDES_${PN} = "virtual/libibverbs" --2.11.0
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"