From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by arago-project.org (Postfix) with ESMTPS id D3E5A52A95 for ; Thu, 13 Sep 2018 18:23:50 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8DINfan104065 for ; Thu, 13 Sep 2018 13:23:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536863021; bh=TZKa/WGhN8n0WVpvMgzCB3ndBrWehdxeFhBUVh4GlP0=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=iRgm/uyWGj4BGIrv0EP3z4oGQhBKGc0PCKVlNk3haPQs9FSfXRq4uTXM1t/1EVYek HLe/idvUFspSpi96LxWLwwjD/AY3eJQq4epYpld4S1r2bh4imHElvSRPPl+9SFgvSU zhYqwAOSILIQVrp9qEYuWr6OK49trhk2I4YhorAM= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8DINfTH011216 for ; Thu, 13 Sep 2018 13:23:41 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 13 Sep 2018 13:23:41 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 13 Sep 2018 13:23:40 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8DINfgH022511; Thu, 13 Sep 2018 13:23:41 -0500 Date: Thu, 13 Sep 2018 14:22:15 -0400 From: Denys Dmytriyenko To: Jacob Stiffler Message-ID: <20180913182215.GD12296@beryl> References: <1536861387-7418-1-git-send-email-j-stiffler@ti.com> <1536861387-7418-3-git-send-email-j-stiffler@ti.com> <20180913181239.GB12296@beryl> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-arago@arago-project.org Subject: Re: [rocko/master][PATCH v6 2/5] arm-compute-library: Machine Learning library for ARM. 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, 13 Sep 2018 18:23:54 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Thu, Sep 13, 2018 at 02:21:25PM -0400, Jacob Stiffler wrote: > > > On 9/13/2018 2:12 PM, Denys Dmytriyenko wrote: > >On Thu, Sep 13, 2018 at 01:56:24PM -0400, Jacob Stiffler wrote: > >>From: Qin Su > >> > >>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 > >>Signed-off-by: Jacob Stiffler > >>--- > >>Changes from previous versions: > >>* Add "_git" suffix to recipe name. > >>* Add version. > >>* Add branch option for SRC_URI. > >>* For installation, use install by looping over libraries. > >>* Remove unnecessary checksums for SRC_URI. > >>* Set armv7a as COMPATIBLE_MACHINE as this is hardcoded in > >> EXTRA_OESCONS. > >^^^ Thanks a lot for all the fixes! > > > >BTW, is this recipe available in any other layer? > > I did a quick search and could not find anything existing, but I did find a > request for one on the github [1]. > > [1] https://github.com/ARM-software/ComputeLibrary/issues/512 Ok, thanks. Let's add it here and then try to upstream it to meta-oe. > >> .../arm-compute-library/arm-compute-library_git.bb | 44 ++++++++++++++++++++++ > >> 1 file changed, 44 insertions(+) > >> create mode 100644 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb > >> > >>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 > >>new file mode 100644 > >>index 0000000..23e31cd > >>--- /dev/null > >>+++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb > >>@@ -0,0 +1,44 @@ > >>+DESCRIPTION = "The ARM Computer Vision and Machine Learning library is a set of functions optimised for both ARM CPUs and GPUs." Please provide short SUMMARY as well, maybe just first 8 words. Again, longer DESCRIPTION is optional, but shorter SUMMARY is required. > >>+LICENSE = "MIT" > >>+LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c93841b20cd522af621cabaea3aef8" > >>+ > >>+COMPATIBLE_MACHINE = "armv7a" > >>+ > >>+SRC_URI = " \ > >>+ git://github.com/ARM-software/ComputeLibrary.git;branch=${BRANCH} \ > >>+" > >>+ > >>+PV = "18.05" > >>+ > >>+BRANCH = "master" > >>+SRCREV = "e2542c9f35ca427286822cd0c9296f49914f78b0" > >>+ > >>+S = "${WORKDIR}/git" > >>+ > >>+do_compile_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() { > >>+ CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > >>+ > >>+ install -d ${D}${libdir} > >>+ for lib in ${S}/build/*.so > >>+ do > >>+ install -m 0644 $lib ${D}${libdir} > >>+ done > >>+ > >>+ install -d ${D}${datadir}/${PN} > >>+ cp $CP_ARGS ${S}/. ${D}${datadir}/${PN} > >>+} > >>+ > >>+INSANE_SKIP_${PN}-dev = "dev-elf" > >>+ > >>+PACKAGES =+ "${PN}-source" > >>+FILES_${PN}-source = "${datadir}/${PN}" > >>-- > >>2.7.4 > >> > >>_______________________________________________ > >>meta-arago mailing list > >>meta-arago@arago-project.org > >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago >