Return-Path: Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by arago-project.org (Postfix) with ESMTPS id A1623520E2 for ; Thu, 22 Aug 2019 14:23:20 +0000 (UTC) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7MEMK3J080900 for ; Thu, 22 Aug 2019 09:22:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1566483740; bh=lKLfwDFf32Uk2rwfvzxICDH0eYcdNpprg4DFWuG28L8=; h=Subject:To:References:From:Date:In-Reply-To; b=hmFxAkXpHmBjfCQoabQpYb8SO/7GQzzA+lwGstU9u+dSAbBzFh7rZdTZN+IQz/RYI UihT+6gIuxzR9LKdj8xHY2b3x9nc+GtmopysNVhvrXo2zrFzfR5+1oQ7wfxoMgg3Iu DTkujUvioBAhijBP/k2v0v0l0C2cTM36SNuhn43k= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7MEMKY9032070 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 22 Aug 2019 09:22:20 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 22 Aug 2019 09:22:20 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 22 Aug 2019 09:22:20 -0500 Received: from [158.218.113.191] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7MEMJhZ044845; Thu, 22 Aug 2019 09:22:20 -0500 To: Hongmei Gou , References: <20190821225807.22947-1-a0271529@ti.com> <20190821225807.22947-5-a0271529@ti.com> From: Jacob Stiffler Message-ID: <7ced5a8f-b9a8-8b01-7fae-5aba1917ea1d@ti.com> Date: Thu, 22 Aug 2019 10:22:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190821225807.22947-5-a0271529@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: Re: [EXTERNAL] [PATCH 4/7] tensorflow-lite-*: add other dependencies for tensorflow-lite 1.12 X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2019 14:23:21 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Why do we need to prefix all of these with "tensorflow-lite"? On 8/21/2019 6:58 PM, Hongmei Gou wrote: > Signed-off-by: Hongmei Gou > --- > .../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=62461d28fdc0c056c098f3fb2f015799" > + > +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 > +}