All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongmei Gou <a0271529@ti.com>
To: <meta-arago@arago-project.org>
Cc: Hongmei Gou <a0271529@ti.com>
Subject: [PATCH 4/7] tensorflow-lite-*: add other dependencies for tensorflow-lite 1.12
Date: Wed, 21 Aug 2019 18:58:04 -0400	[thread overview]
Message-ID: <20190821225807.22947-5-a0271529@ti.com> (raw)
In-Reply-To: <20190821225807.22947-1-a0271529@ti.com>

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 .../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
+}
-- 
2.17.1



  parent reply	other threads:[~2019-08-21 22:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21 22:58 [PATCH 0/7] Add tensorflow-lite Hongmei Gou
2019-08-21 22:58 ` [PATCH 1/7] tensorflow-lite: add version 1.12 Hongmei Gou
2019-08-21 22:58 ` [PATCH 2/7] flatbuffers: add version 1.10.0 needed by tensorflow-lite Hongmei Gou
2019-08-21 22:58 ` [PATCH 3/7] tensorflow-lite-libeigen: add the version for commit fd6845384b86 Hongmei Gou
2019-08-21 22:58 ` Hongmei Gou [this message]
2019-08-22 14:22   ` [EXTERNAL] [PATCH 4/7] tensorflow-lite-*: add other dependencies for tensorflow-lite 1.12 Jacob Stiffler
2019-08-22 14:36     ` Gou, Hongmei
2019-08-21 22:58 ` [PATCH 5/7] tensorflow-lite: define dependencies via DEPENDS Hongmei Gou
2019-08-21 22:58 ` [PATCH 6/7] tensorflow-lite: install minimal and benchmark_model examples, and all .a files Hongmei Gou
2019-08-21 22:58 ` [PATCH 7/7] tensorflow-lite: add label_image example and install the files to run the example Hongmei Gou

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=20190821225807.22947-5-a0271529@ti.com \
    --to=a0271529@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.