Merged. Thanks.

> -----Original Message-----
> From: Liu, Yongxin <[email protected]>
> Sent: Tuesday, April 4, 2023 10:56 AM
> To: Saini, Naveen Kumar <[email protected]>; Mittal, Anuj
> <[email protected]>; [email protected]
> Subject: RE: [meta-intel][PATCH] intel-cmt-cat: add recipe
> 
> > -----Original Message-----
> > From: Saini, Naveen Kumar <[email protected]>
> > Sent: Monday, April 3, 2023 16:58
> > To: Liu, Yongxin <[email protected]>; Mittal, Anuj
> > <[email protected]>; [email protected]
> > Subject: RE: [meta-intel][PATCH] intel-cmt-cat: add recipe
> >
> > > -----Original Message-----
> > > From: [email protected]
> > > <[email protected]>
> > > On Behalf Of Yongxin Liu
> > > Sent: Monday, April 3, 2023 3:06 PM
> > > To: Mittal, Anuj <[email protected]>;
> > > [email protected]
> > > Subject: [meta-intel][PATCH] intel-cmt-cat: add recipe
> > >
> > > This software package provides basic support for Intel(R) Resource
> > > Director Technology (Intel(R) RDT) including:
> > >
> > >   Cache Monitoring Technology (CMT)
> > >   Memory Bandwidth Monitoring (MBM)
> > >   Cache Allocation Technology (CAT)
> > >   Code and Data Prioritization (CDP)
> > >   Memory Bandwidth Allocation (MBA)
> > >
> > > Signed-off-by: Yongxin Liu <[email protected]>
> > > ---
> > >  .../intel-cmt-cat/intel-cmt-cat_4.5.0.bb      | 29 +++++++++++++++++++
> > >  1 file changed, 29 insertions(+)
> > >  create mode 100644 recipes-bsp/intel-cmt-cat/intel-cmt-cat_4.5.0.bb
> > >
> > > diff --git a/recipes-bsp/intel-cmt-cat/intel-cmt-cat_4.5.0.bb
> > > b/recipes- bsp/intel-cmt-cat/intel-cmt-cat_4.5.0.bb
> > > new file mode 100644
> > > index 00000000..ed4886ff
> > > --- /dev/null
> > > +++ b/recipes-bsp/intel-cmt-cat/intel-cmt-cat_4.5.0.bb
> > > @@ -0,0 +1,29 @@
> > > +SUMMARY = "intel-cmt-cat"
> > > +DESCRIPTION = "Software package which provides basic support for
> > > +Intel(R) \ Resource Director Technology (Intel(R) RDT)"
> > > +HOMEPAGE = "https://github.com/intel/intel-cmt-cat";
> > > +
> > > +LICENSE = "BSD-3-Clause"
> > > +LIC_FILES_CHKSUM =
> > > "file://LICENSE;md5=4b63c65942e1c16fd897f8cd20abebf8"
> > > +
> > > +SRC_URI = "git://github.com/intel/intel-cmt-
> > > cat;protocol=https;branch=master"
> > > +SRCREV = "ba42217699ecfdf6a335285039a44ac4140fa8c4"
> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +COMPATIBLE_HOST = '(x86_64).*-linux'
> > > +COMPATIBLE_HOST:libc-musl = "null"
> > > +
> > > +do_install() {
> > > +    oe_runmake install PREFIX=${D}${prefix} NOLDCONFIG=y }
> > > +
> > > +FILES:${PN} += "${nonarch_libdir}/libpqos*"
> > > +FILES:${PN}-doc = "/usr/man*"
> > > +
> > > +INSANE_SKIP:${PN} += "ldflags"
> > > +INSANE_SKIP:${PN} += "dev-so"
> > > +INSANE_SKIP:${PN} += "libdir"
> >
> > Why skip checking for dev-so and libdir ?
> 
> 1)
> INSANE_SKIP:${PN} += "dev-so" is used to fix the following error.
> 
> ERROR: intel-cmt-cat-4.5.0-r0 do_package_qa: QA Issue: non -dev/-
> dbg/nativesdk- package intel-cmt-cat contains symlink .so
> '/usr/lib/libpqos.so' [dev-so]
> 
> Because /usr/lib/libpqos.so is needed for application in normal package, and I
> don't want to put libpqos.so in -dev package and install -dev package every
> time.
> 
> 2)
> INSANE_SKIP:${PN} += "libdir" is used to fix the following warning.
> 
> WARNING: intel-cmt-cat-4.5.0-r0 do_package_qa: QA Issue: intel-cmt-cat:
> found library in wrong location: /usr/lib/libpqos.so.4.5.0
> 
> intel-cmt-cat hardcode the lib install path to "lib", not "lib64".
> According to https://docs.yoctoproject.org/3.2.4/ref-manual/ref-qa-
> checks.html, I think it is false positive. So skip "libdir" checking.
> 
> >
> > > +INSANE_SKIP:${PN} += "already-stripped"
> > > +
> > > +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> > I think this is also not necessary ! Fixing buildpaths warning should
> > be sufficient !
> > WARNING: intel-cmt-cat-4.5.0-r0 do_package_qa: QA Issue: File
> > /usr/bin/.debug/pqos in package intel-cmt-cat-dbg contains reference
> > to TMPDIR File /usr/bin/.debug/rdtset in package intel-cmt-cat-dbg
> > contains reference to TMPDIR File /usr/lib/.debug/libpqos.so.4.5.0 in
> > package intel-cmt-cat-dbg contains reference to TMPDIR [buildpaths]
> 
> I think the files in .debug are useless. So I removed them.
> 
> 
> Thanks,
> Yongxin
> 
> >
> > > --
> > > 2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7915): 
https://lists.yoctoproject.org/g/meta-intel/message/7915
Mute This Topic: https://lists.yoctoproject.org/mt/98030029/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to