All of lore.kernel.org
 help / color / mirror / Atom feed
* [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
@ 2018-09-24 16:05 Djordje Senicic
  2018-09-24 16:05 ` [rocko][PATCH 2/3] armnn: " Djordje Senicic
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Djordje Senicic @ 2018-09-24 16:05 UTC (permalink / raw)
  To: meta-arago; +Cc: d-senicic1, Djordje Senicic

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}
     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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [rocko][PATCH 2/3] armnn: Add executables to the filesystem
  2018-09-24 16:05 [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem Djordje Senicic
@ 2018-09-24 16:05 ` 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
  2 siblings, 0 replies; 7+ messages in thread
From: Djordje Senicic @ 2018-09-24 16:05 UTC (permalink / raw)
  To: meta-arago; +Cc: d-senicic1, Djordje Senicic

Signed-off-by: Djordje Senicic <x0157990@ti.com>
---
 meta-arago-extras/recipes-support/armnn/armnn_git.bb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/meta-arago-extras/recipes-support/armnn/armnn_git.bb b/meta-arago-extras/recipes-support/armnn/armnn_git.bb
index 3bd4c82..726a9da 100644
--- a/meta-arago-extras/recipes-support/armnn/armnn_git.bb
+++ b/meta-arago-extras/recipes-support/armnn/armnn_git.bb
@@ -27,6 +27,8 @@ DEPENDS = " \
     armnn-tensorflow \
 "
 
+RDEPENDS_${PN} = " arm-compute-library protobuf boost "
+
 EXTRA_OECMAKE=" \
     -DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF \
     -DARMCOMPUTE_ROOT=${STAGING_DIR_HOST}${datadir}/arm-compute-library \
@@ -39,8 +41,20 @@ EXTRA_OECMAKE=" \
     -DTHIRD_PARTY_INCLUDE_DIRS=${STAGING_DIR_HOST}${includedir} \
 "
 
+do_install_append() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+    install -d ${D}${bindir}
+    find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
+    cp $CP_ARGS ${WORKDIR}/build/UnitTests  ${D}${bindir}
+    chrpath -d ${D}${bindir}/*
+}
+
 CXXFLAGS += "-fopenmp"
 LIBS += "-larmpl_lp64_mp"
 
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "{bindir}/*"
+FILES_${PN} += "{libdir}/*"
 FILES_${PN}-dev += "{libdir}/cmake/*"
 INSANE_SKIP_${PN}-dev = "dev-elf"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [rocko][PATCH 3/3] packagegroups-arago-tisdk-addons: Add armnn and arm-compute-library packages to target filesystem and dev package
  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 ` Djordje Senicic
  2018-09-24 16:29 ` [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem Denys Dmytriyenko
  2 siblings, 0 replies; 7+ messages in thread
From: Djordje Senicic @ 2018-09-24 16:05 UTC (permalink / raw)
  To: meta-arago; +Cc: d-senicic1, Djordje Senicic

Signed-off-by: Djordje Senicic <x0157990@ti.com>
---
 .../packagegroup-arago-tisdk-addons-sdk-target.bb         | 15 ++++++++++++---
 .../packagegroups/packagegroup-arago-tisdk-addons.bb      | 14 ++++++++++++--
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
index dc33381..4ff30cd 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
@@ -150,9 +150,18 @@ EXTRA_LIBS_append_k2e = " libulm-staticdev \
 "
 
 EXTRA_PACKAGES = ""
-EXTRA_PACKAGES_append_ti33x = " voxelsdk-dev"
-EXTRA_PACKAGES_append_ti43x = " voxelsdk-dev"
-EXTRA_PACKAGES_append_omap-a15 = " voxelsdk-dev"
+EXTRA_PACKAGES_append_ti33x = " voxelsdk-dev \
+                                arm-compute-library-dev \
+                                armnn-dev \
+"
+EXTRA_PACKAGES_append_ti43x = " voxelsdk-dev \
+                                arm-compute-library-dev \
+                                armnn-dev \
+"
+EXTRA_PACKAGES_append_omap-a15 = " voxelsdk-dev \
+                                arm-compute-library-dev \
+                                armnn-dev \
+"
 
 IPCDEV = " \
 	ti-ipc-dev \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index b0a9a50..5c77d8b 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -142,11 +142,21 @@ EXTRA_PACKAGES_omapl138 = " \
     protobuf \
 "
 
-EXTRA_PACKAGES_append_ti33x = " voxelsdk"
-EXTRA_PACKAGES_append_ti43x = " voxelsdk"
+EXTRA_PACKAGES_append_ti33x = " voxelsdk \
+                                arm-compute-library \
+                                armnn \
+"
+
+EXTRA_PACKAGES_append_ti43x = " voxelsdk \
+                                arm-compute-library \
+                                armnn \
+"
+
 EXTRA_PACKAGES_append_omap-a15 = " voxelsdk \
                                    big-data-ipc-demo-linux \
                                    big-data-ipc-demo-linux-firmware \
+                                   arm-compute-library \
+                                   armnn \
 "
 
 EXTRA_PACKAGES_append_omap-a15 = " ti-ipc-examples-linux"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
  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 ` Denys Dmytriyenko
  2018-09-24 17:02   ` Senicic, Djordje
  2 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-09-24 16:29 UTC (permalink / raw)
  To: Djordje Senicic; +Cc: meta-arago, d-senicic1

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
  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
  0 siblings, 1 reply; 7+ messages in thread
From: Senicic, Djordje @ 2018-09-24 17:02 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

I was recreating flags the way they are set in image folder.
*.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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
  2018-09-24 17:02   ` Senicic, Djordje
@ 2018-09-24 17:43     ` Denys Dmytriyenko
  2018-09-24 18:26       ` Senicic, Djordje
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-09-24 17:43 UTC (permalink / raw)
  To: Senicic, Djordje; +Cc: meta-arago@arago-project.org

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
  2018-09-24 17:43     ` Denys Dmytriyenko
@ 2018-09-24 18:26       ` Senicic, Djordje
  0 siblings, 0 replies; 7+ messages in thread
From: Senicic, Djordje @ 2018-09-24 18:26 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

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: meta-arago@arago-project.org
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: 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-24 18:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2018-09-24 18:26       ` Senicic, Djordje

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.