The ARM Computer Vision and Machine Learning library is a set of functions
optimised for both ARM CPUs and GPUs using SIMD technologies.

Signed-off-by: Qin Su <[email protected]>
---
 .../arm-compute-library/arm-compute-library.bb     | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library.bb

diff --git 
a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library.bb 
b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library.bb
new file mode 100644
index 0000000..b26ab8b
--- /dev/null
+++ 
b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "The ARM Computer Vision and Machine Learning library is a set 
of functions optimised for both ARM CPUs and GPUs."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c93841b20cd522af621cabaea3aef8"
+
+SRC_URI = " \
+    git://github.com/ARM-software/ComputeLibrary.git \
+"
+
+SRC_URI[md5sum] = "d84471fbefd077bac76ea188f633a640"
+SRC_URI[sha256sum] = 
"b92ab52a0e3253e5f5f67b12bd5e8ca4bfb49a3f88ec823c858063aebb1f3aae"
+
+SRCREV = "e2542c9f35ca427286822cd0c9296f49914f78b0"
+
+S = "${WORKDIR}/git"
+
+do_compile_prepend() {
+    unset CC CXX
+}
+do_install_prepend() {
+    unset CC CXX
+}
+
+inherit scons
+
+EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC" benchmark_tests=1 
validation_tests=0 neon=1 openmp=1 opencl=0"
+
+LIBS += "-larmpl_lp64_mp"
+
+do_install() {
+    #which install
+
+    install -d ${D}/usr/lib
+    cp -rf ${S}/build/*.so ${D}/usr/lib
+    install -d ${D}${datadir}/${PN}
+    cp -rf ${S}/. ${D}${datadir}/${PN}
+}
+
+INSANE_SKIP_${PN}-dev = "dev-elf"
+
+PACKAGES =+ "${PN}-source"
+FILES_${PN}-source = "${datadir}/${PN}"
+
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to