[meta-intel] [PATCH v2 1/2] zlib-intel: add zlib fork with IA-specific optimisations

Mittal, Anuj anuj.mittal at intel.com
Thu May 2 00:43:29 PDT 2019


Hi Ross

This is failing while building world and lsb because of the RDEPENDS in
packagegroups I think:

ERROR: Multiple .bb files are due to be built which each provide zlib:
  /yocto-autobuilder/yocto-worker/intel-corei7-64-lsb/build/meta-
intel/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
  /yocto-autobuilder/yocto-worker/intel-corei7-64-
lsb/build/meta/recipes-core/zlib/zlib_1.2.11.bb

On Wed, 2019-05-01 at 13:13 +0100, Ross Burton wrote:
> This fork of zlib has a number of IA-specific improvements and is
> noticably faster when running on Intel hardware.
> 
> As this is a relatively minor fork of zlib, include the oe-core
> recipe
> and override where appropriate.  This ensures that we still generate
> the ptest package for example.
> 
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb | 15
> +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
> 
> diff --git a/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
> b/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
> new file mode 100644
> index 00000000..6c0cbec5
> --- /dev/null
> +++ b/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
> @@ -0,0 +1,15 @@
> +require recipes-core/zlib/zlib_1.2.11.bb
> +
> +FILESEXTRAPATHS_append = ":${COREBASE}/meta/recipes-core/zlib/zlib"
> +
> +SUMMARY = "Zlib Compression Library (Intel-tuned)"
> +
> +PROVIDES = "zlib"
> +
> +SRC_URI_remove = "${SOURCEFORGE_MIRROR}/libpng/${BPN}/${PV}/${BPN}-
> ${PV}.tar.xz"
> +SRC_URI_prepend = "git://github.com/jtkukunas/zlib.git;protocol=git
> "
> +
> +SRCREV = "a43a247bfa16ec5368747b5b64f11ea5ca033010"
> +S = "${WORKDIR}/git"
> +
> +RPROVIDES_${PN}-ptest += "zlib-ptest"
> -- 
> 2.11.0
> 



More information about the meta-intel mailing list