From: Denys Dmytriyenko <denys@ti.com>
To: "Senicic, Djordje" <d-senicic1@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
Date: Mon, 24 Sep 2018 13:43:28 -0400 [thread overview]
Message-ID: <20180924174328.GD18600@beryl> (raw)
In-Reply-To: <a02db7c71f094780b1480871e87b6f49@ti.com>
On Mon, Sep 24, 2018 at 01:02:30PM -0400, Senicic, Djordje wrote:
> I was recreating flags the way they are set in image folder.
Not sure I follow. Do they need to be executable? Normally *.so in Linux are
not.
> *.so are actual shared libraries.
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Monday, September 24, 2018 12:29 PM
> To: Senicic, Djordje
> Cc: meta-arago@arago-project.org; Senicic, Djordje
> Subject: Re: [meta-arago] [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
>
> On Mon, Sep 24, 2018 at 12:05:50PM -0400, Djordje Senicic wrote:
> > Signed-off-by: Djordje Senicic <x0157990@ti.com>
> > ---
> > .../arm-compute-library/arm-compute-library_git.bb | 14 ++++++++++++--
> > 1 file changed, 12 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
> > index d9fa8b0..8a65ade 100644
> > --- a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
> > +++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
> > @@ -29,20 +29,30 @@ LIBS += "-larmpl_lp64_mp"
> > do_install() {
> > CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
> >
> > - install -d ${D}${libdir}
> > + install -m 0755 -d ${D}${libdir}
> > for lib in ${S}/build/*.so
> > do
> > - install -m 0644 $lib ${D}${libdir}
> > + install -m 0755 $lib ${D}${libdir}
>
> Why do you make libraries executable?
> BTW, are those *.so actual libraries or symlinks?
>
>
> > done
> >
> > + # Install 'example' and benchmark executables
> > + install -d ${D}${bindir}
> > + find ${S}/build/examples/ -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
> > + cp $CP_ARGS ${S}/build/tests/arm_compute_benchmark ${D}${bindir}
> > +
> > # Install built source package as expected by ARMNN
> > install -d ${D}${datadir}/${BPN}
> > cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN}
> > }
> >
> > +SOLIBS = ".so"
> > +FILES_SOLIBSDEV = ""
> > +INSANE_SKIP_${PN} = "ldflags"
> > INSANE_SKIP_${PN}-dev = "dev-elf ldflags"
> >
> > PACKAGES =+ "${PN}-source"
> > +FILES_${PN} += "${bindir}/*"
> > +FILES_${PN} += "${libdir}/*.so"
> > FILES_${PN}-source = "${datadir}/${BPN}"
> > INSANE_SKIP_${PN}-source = "ldflags libdir staticdev"
> > INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> > --
> > 1.9.1
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2018-09-24 17:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-24 16:05 [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem Djordje Senicic
2018-09-24 16:05 ` [rocko][PATCH 2/3] armnn: " Djordje Senicic
2018-09-24 16:05 ` [rocko][PATCH 3/3] packagegroups-arago-tisdk-addons: Add armnn and arm-compute-library packages to target filesystem and dev package Djordje Senicic
2018-09-24 16:29 ` [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem Denys Dmytriyenko
2018-09-24 17:02 ` Senicic, Djordje
2018-09-24 17:43 ` Denys Dmytriyenko [this message]
2018-09-24 18:26 ` Senicic, Djordje
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180924174328.GD18600@beryl \
--to=denys@ti.com \
--cc=d-senicic1@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.