All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Jianzhong Xu <xuj@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [thud/master] [PATCH] armnn: add installation of header files
Date: Tue, 13 Aug 2019 19:13:18 -0400	[thread overview]
Message-ID: <20190813231318.GH7130@beryl> (raw)
In-Reply-To: <20190809140758.15280-1-xuj@ti.com>

On Fri, Aug 09, 2019 at 10:07:58AM -0400, Jianzhong Xu wrote:
> * Install header files that are needed to build tidl-api examples
> * Rename TESTVECS_INSTALL_DIR to ARMNN_INSTALL_DIR
> 
> Signed-off-by: Jianzhong Xu <xuj@ti.com>
> ---
>  .../recipes-support/armnn/armnn_git.bb        | 25 +++++++++++++------
>  1 file changed, 17 insertions(+), 8 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-support/armnn/armnn_git.bb b/meta-arago-extras/recipes-support/armnn/armnn_git.bb
> index 076ea3aa..7ad41d2d 100644
> --- a/meta-arago-extras/recipes-support/armnn/armnn_git.bb
> +++ b/meta-arago-extras/recipes-support/armnn/armnn_git.bb
> @@ -65,25 +65,34 @@ EXTRA_OECMAKE=" \
>      -DGENERIC_LIB_VERSION=${PV} -DGENERIC_LIB_SOVERSION=${PV_MAJOR} \
>  "
>  
> -TESTVECS_INSTALL_DIR = "${datadir}/arm/armnn"
> +ARMNN_INSTALL_DIR = "${datadir}/arm/armnn"
>  
>  do_install_append() {
>      CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
>      install -d ${D}${bindir}
>      find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
>      cp $CP_ARGS ${WORKDIR}/build/UnitTests  ${D}${bindir}
> -    install -d ${D}${TESTVECS_INSTALL_DIR}/models
> -    cp ${WORKDIR}/tfmodel/mobilenet_v1_1.0_224_frozen.pb  ${D}${TESTVECS_INSTALL_DIR}/models
> -    cp ${WORKDIR}/git/tests/TfMobileNet-Armnn/labels.txt  ${D}${TESTVECS_INSTALL_DIR}/models
> -    install -d ${D}${TESTVECS_INSTALL_DIR}/testvecs
> -    cp ${WORKDIR}/tidl-api/examples/classification/clips/*.mp4  ${D}${TESTVECS_INSTALL_DIR}/testvecs
> -    cp ${WORKDIR}/tidl-api/examples/classification/images/*.jpg  ${D}${TESTVECS_INSTALL_DIR}/testvecs
> +    install -d ${D}${ARMNN_INSTALL_DIR}/models
> +    cp ${WORKDIR}/tfmodel/mobilenet_v1_1.0_224_frozen.pb  ${D}${ARMNN_INSTALL_DIR}/models
> +    cp ${WORKDIR}/git/tests/TfMobileNet-Armnn/labels.txt  ${D}${ARMNN_INSTALL_DIR}/models
> +    install -d ${D}${ARMNN_INSTALL_DIR}/testvecs
> +    cp ${WORKDIR}/tidl-api/examples/classification/clips/*.mp4  ${D}${ARMNN_INSTALL_DIR}/testvecs
> +    cp ${WORKDIR}/tidl-api/examples/classification/images/*.jpg  ${D}${ARMNN_INSTALL_DIR}/testvecs
> +    cp -r ${WORKDIR}/git/include ${D}${ARMNN_INSTALL_DIR}
> +    install -d ${D}${ARMNN_INSTALL_DIR}/src/armnn
> +    cp ${WORKDIR}/git/src/armnn/*.hpp ${D}${ARMNN_INSTALL_DIR}/src/armnn
> +    install -d ${D}${ARMNN_INSTALL_DIR}/src/armnnUtils
> +    cp ${WORKDIR}/git/src/armnnUtils/{CsvReader.hpp,HeapProfiling.hpp,Logging.hpp,TensorIOUtils.hpp} ${D}${ARMNN_INSTALL_DIR}/src/armnnUtils
> +    install -d ${D}${ARMNN_INSTALL_DIR}/src/backends/backendsCommon
> +    cp ${WORKDIR}/git/src/backends/backendsCommon/BackendRegistry.hpp ${D}${ARMNN_INSTALL_DIR}/src/backends/backendsCommon
> +    install -d ${D}${ARMNN_INSTALL_DIR}/tests
> +    cp ${WORKDIR}/git/tests/{InferenceModel.hpp,InferenceTest.hpp,InferenceTest.inl} ${D}${ARMNN_INSTALL_DIR}/tests

CP_ARGS is not being used for any of the cp commands.


>      chrpath -d ${D}${bindir}/*
>  }
>  
>  CXXFLAGS += "-fopenmp"
>  LIBS += "-larmpl_lp64_mp"
>  
> -FILES_${PN} += "${TESTVECS_INSTALL_DIR}"
> +FILES_${PN} += "${ARMNN_INSTALL_DIR}"
>  FILES_${PN}-dev += "{libdir}/cmake/*"
>  INSANE_SKIP_${PN}-dev = "dev-elf"
> -- 
> 2.17.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2019-08-13 23:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 14:07 [thud/master] [PATCH] armnn: add installation of header files Jianzhong Xu
2019-08-13 23:13 ` Denys Dmytriyenko [this message]
2019-08-19 14:34   ` Xu, Jianzhong
2019-08-19 19:02     ` Denys Dmytriyenko
2019-08-22 17:43       ` Xu, Jianzhong
2019-08-22 17:51         ` [EXTERNAL] " Jacob Stiffler

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=20190813231318.GH7130@beryl \
    --to=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=xuj@ti.com \
    /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.