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

Burton, Ross ross.burton at intel.com
Tue Apr 30 02:22:48 PDT 2019


Urgh, yes.  I was hoping to avoid having to add ptest at first.

Ross

On Tue, 30 Apr 2019 at 09:01, Mittal, Anuj <anuj.mittal at intel.com> wrote:
>
> Since ptest images now include zlib-ptest explicitly, should we also
> enable ptest in this one and add RPROVIDES to zlib-ptest so builds
> don't fail?
>
> Thanks,
>
> Anuj
>
> On Mon, 2019-04-29 at 13:19 +0100, Ross Burton wrote:
> > This fork of zlib has a number of IA-specific improvements and is
> > noticably faster when running on Intel hardware.
> >
> > Signed-off-by: Ross Burton <ross.burton at intel.com>
> > ---
> >  recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb | 30
> > ++++++++++++++++++++++++
> >  1 file changed, 30 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..1548f3b5
> > --- /dev/null
> > +++ b/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb
> > @@ -0,0 +1,30 @@
> > +SUMMARY = "Zlib Compression Library (Intel-tuned)"
> > +DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data
> > compression \
> > +library which is used by many different programs."
> > +HOMEPAGE = "http://zlib.net/"
> > +SECTION = "libs"
> > +LICENSE = "Zlib"
> > +LIC_FILES_CHKSUM =
> > "file://zlib.h;beginline=6;endline=23;md5=5377232268e952e9ef63bc555f7
> > aa6c0"
> > +
> > +PROVIDES = "zlib"
> > +
> > +SRC_URI = "git://github.com/jtkukunas/zlib.git;protocol=git"
> > +SRCREV = "a43a247bfa16ec5368747b5b64f11ea5ca033010"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +CFLAGS += "-D_REENTRANT"
> > +
> > +do_configure() {
> > +     LDCONFIG=true ./configure --prefix=${prefix} --shared --
> > libdir=${libdir} --uname=GNU
> > +}
> > +
> > +do_compile() {
> > +     oe_runmake shared
> > +}
> > +
> > +do_install() {
> > +     oe_runmake DESTDIR=${D} install
> > +}
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.11.0
> >
>


More information about the meta-intel mailing list