> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Thursday, August 22, 2019 10:22 AM
> To: Gou, Hongmei; [email protected]
> Subject: Re: [EXTERNAL] [meta-arago] [PATCH 4/7] tensorflow-lite-*: add
> other dependencies for tensorflow-lite 1.12
> 
> Why do we need to prefix all of these with "tensorflow-lite"?

As these dependencies are specific to tensorflow-lite to get the source 
packages,
and therefore, I put them under the same folder of " tensorflow-lite" with the 
prefix.
This is also referring to the naming convention for armnn dependencies:
http://arago-project.org/git/?p=meta-arago.git;a=tree;f=meta-arago-extras/recipes-support/armnn;h=3e56a74bc783606d06fa478ea1516dd4d2375853;hb=ddb08715bf11d45886106e98ee81cbf1b3bda802

If this is not the common practice, I can create separate folders for these
dependencies under recipes-support, and remove the "tensorflow-lite" prefix.

> 
> On 8/21/2019 6:58 PM, Hongmei Gou wrote:
> > Signed-off-by: Hongmei Gou <[email protected]>
> > ---
> >   .../tensorflow-lite/tensorflow-lite-absl_git.bb  | 16 ++++++++++++++++
> >   .../tensorflow-lite-farmhash_git.bb              | 14 ++++++++++++++
> >   .../tensorflow-lite/tensorflow-lite-fft2d_1.0.bb | 14 ++++++++++++++
> >   .../tensorflow-lite-gemmlowp_git.bb              | 16 ++++++++++++++++
> >   .../tensorflow-lite-neon-2-sse_git.bb            | 14 ++++++++++++++
> >   5 files changed, 74 insertions(+)
> >   create mode 100644 meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-absl_git.bb
> >   create mode 100644 meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-farmhash_git.bb
> >   create mode 100644 meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-fft2d_1.0.bb
> >   create mode 100644 meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-gemmlowp_git.bb
> >   create mode 100644 meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-neon-2-sse_git.bb
> >
> > diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
> lite-absl_git.bb b/meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-absl_git.bb
> > new file mode 100644
> > index 00000000..8d02958a
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
> absl_git.bb
> > @@ -0,0 +1,16 @@
> > +DESCRIPTION = "Abseil C++ Common Libraries"
> > +HOMEPAGE = "https://github.com/abseil/abseil-cpp";
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=917cc5763a741e915bf7f2cc55830c17"
> > +
> > +SRC_URI = "git://github.com/abseil/abseil-cpp.git"
> > +SRCREV  = "48cd2c3f351ff188bc85684b84a91b6e6d17d896"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit cmake
> > +
> > +do_install() {
> > +    install -d ${D}${datadir}/absl
> > +    cp -r ${S}/absl ${D}${datadir}/absl
> > +}
> > diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
> lite-farmhash_git.bb b/meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-farmhash_git.bb
> > new file mode 100644
> > index 00000000..cd0bb14c
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
> farmhash_git.bb
> > @@ -0,0 +1,14 @@
> > +DESCRIPTION = "FarmHash, a family of hash functions"
> > +HOMEPAGE = "https://github.com/google/farmhash";
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM =
> "file://COPYING;md5=7dfaa79e2b070897e495fec386e3acfc"
> > +
> > +SRC_URI = "git://github.com/google/farmhash.git"
> > +SRCREV  = "816a4ae622e964763ca0862d9dbd19324a1eaf45"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +do_install() {
> > +    install -d ${D}${datadir}/farmhash
> > +    cp -r ${S}/src ${D}${datadir}/farmhash
> > +}
> > diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
> lite-fft2d_1.0.bb b/meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-fft2d_1.0.bb
> > new file mode 100644
> > index 00000000..5a01a2b2
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
> fft2d_1.0.bb
> > @@ -0,0 +1,14 @@
> > +DESCRIPTION = "General Purpose FFT (Fast Fourier/Cosine/Sine
> Transform) Package"
> > +LICENSE = "FFT-License"
> > +LIC_FILES_CHKSUM =
> "file://readme.txt;beginline=140;endline=145;md5=62461d28fdc0c056c098f3
> fb2f015799"
> > +
> > +SRC_URI = "https://mirror.bazel.build/www.kurims.kyoto-
> u.ac.jp/~ooura/fft.tgz;downloadfilename=${BP}.tgz"
> > +SRC_URI[md5sum] = "4255dd8a74949d123216b1ab91520469"
> > +SRC_URI[sha256sum] =
> "52bb637c70b971958ec79c9c8752b1df5ff0218a4db4510e60826e0cb79b5296"
> > +
> > +S = "${WORKDIR}/fft"
> > +
> > +do_install() {
> > +    install -d ${D}${datadir}/fft2d
> > +    cp -r ${S}/* ${D}${datadir}/fft2d
> > +}
> > diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
> lite-gemmlowp_git.bb b/meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-gemmlowp_git.bb
> > new file mode 100644
> > index 00000000..9ce38486
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
> gemmlowp_git.bb
> > @@ -0,0 +1,16 @@
> > +DESCRIPTION = "gemmlowp: a small self-contained low-precision GEMM
> library"
> > +HOMEPAGE = "https://github.com/google/gemmlowp";
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> > +
> > +SRC_URI = "git://github.com/google/gemmlowp.git"
> > +SRCREV  = "38ebac7b059e84692f53e5938f97a9943c120d98"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +do_install() {
> > +    install -d ${D}${datadir}/gemmlowp
> > +    cp -r ${S}/* ${D}${datadir}/gemmlowp
> > +}
> > +
> > +INSANE_SKIP_${PN} = "file-rdeps"
> > diff --git a/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-
> lite-neon-2-sse_git.bb b/meta-arago-extras/recipes-support/tensorflow-
> lite/tensorflow-lite-neon-2-sse_git.bb
> > new file mode 100644
> > index 00000000..a93bf1fd
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-
> neon-2-sse_git.bb
> > @@ -0,0 +1,14 @@
> > +DESCRIPTION = "Header file simplifying ARM->IA32 porting"
> > +HOMEPAGE = "https://github.com/intel/ARM_NEON_2_x86_SSE";
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=b4fdfcb48f273d192333c498d75fa26f"
> > +
> > +SRC_URI = "git://github.com/intel/ARM_NEON_2_x86_SSE.git"
> > +SRCREV  = "3057bb91b99bae9c7fbdf8710c032d462ca10051"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +do_install() {
> > +    install -d ${D}${datadir}/neon-2-sse
> > +    cp -r ${S}/*.h ${D}${datadir}/neon-2-sse
> > +}
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to