This is the build folder and share libraries created with baseline ARM package. E.g. for arm-compute-library: ..../oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/arm-compute-library/18.05-r0/git$ ls -ltr build/ total 14024 -rw-r--r-- 1 x0123456 crrrryyy 6546120 Sep 24 10:05 libarm_compute_core-static.a -rw-r--r-- 1 x0123456 crrrryyy 1811472 Sep 24 10:09 libarm_compute-static.a -rwxr-xr-x 1 x0123456 crrrryyy 4058208 Sep 24 10:09 libarm_compute_core.so drwxr-xr-x 5 x0123456 crrrryyy 4096 Sep 24 10:10 src -rwxr-xr-x 1 x0123456 crrrryyy 755212 Sep 24 10:10 libarm_compute.so -rw-r--r-- 1 x0123456 crrrryyy 824470 Sep 24 10:10 libarm_compute_graph-static.a -rwxr-xr-x 1 x0123456 crrrryyy 334928 Sep 24 10:11 libarm_compute_graph.so drwxr-xr-x 2 x0123456 crrrryyy 4096 Sep 24 10:11 utils drwxr-xr-x 2 x0123456 crrrryyy 4096 Sep 24 10:12 examples drwxr-xr-x 4 x0123456 crrrryyy 4096 Sep 24 10:14 tests
So preserving original flags. -----Original Message----- From: Dmytriyenko, Denys Sent: Monday, September 24, 2018 1:43 PM To: Senicic, Djordje Cc: [email protected] Subject: Re: [meta-arago] [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem 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: [email protected]; 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 <[email protected]> > > --- > > .../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 > > [email protected] > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
