* [thud/master] [PATCH] armnn: add installation of header files
@ 2019-08-09 14:07 Jianzhong Xu
2019-08-13 23:13 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Jianzhong Xu @ 2019-08-09 14:07 UTC (permalink / raw)
To: meta-arago
* 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
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [thud/master] [PATCH] armnn: add installation of header files
2019-08-09 14:07 [thud/master] [PATCH] armnn: add installation of header files Jianzhong Xu
@ 2019-08-13 23:13 ` Denys Dmytriyenko
2019-08-19 14:34 ` Xu, Jianzhong
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2019-08-13 23:13 UTC (permalink / raw)
To: Jianzhong Xu; +Cc: meta-arago
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [thud/master] [PATCH] armnn: add installation of header files
2019-08-13 23:13 ` Denys Dmytriyenko
@ 2019-08-19 14:34 ` Xu, Jianzhong
2019-08-19 19:02 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Xu, Jianzhong @ 2019-08-19 14:34 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago
>-----Original Message-----
>From: Dmytriyenko, Denys
>Sent: Tuesday, August 13, 2019 7:13 PM
>To: Xu, Jianzhong
>Cc: meta-arago@arago-project.org
>Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header files
>
>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.
CP_ARGS is used in following commands:
find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
cp $CP_ARGS ${WORKDIR}/build/UnitTests ${D}${bindir}
>
>> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [thud/master] [PATCH] armnn: add installation of header files
2019-08-19 14:34 ` Xu, Jianzhong
@ 2019-08-19 19:02 ` Denys Dmytriyenko
2019-08-22 17:43 ` Xu, Jianzhong
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2019-08-19 19:02 UTC (permalink / raw)
To: Xu, Jianzhong; +Cc: meta-arago
On Mon, Aug 19, 2019 at 10:34:34AM -0400, Xu, Jianzhong wrote:
> >-----Original Message-----
> >From: Dmytriyenko, Denys
> >Sent: Tuesday, August 13, 2019 7:13 PM
> >To: Xu, Jianzhong
> >Cc: meta-arago@arago-project.org
> >Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header files
> >
> >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.
>
> CP_ARGS is used in following commands:
> find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
> cp $CP_ARGS ${WORKDIR}/build/UnitTests ${D}${bindir}
What about others?
> >> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [thud/master] [PATCH] armnn: add installation of header files
2019-08-19 19:02 ` Denys Dmytriyenko
@ 2019-08-22 17:43 ` Xu, Jianzhong
2019-08-22 17:51 ` [EXTERNAL] " Jacob Stiffler
0 siblings, 1 reply; 6+ messages in thread
From: Xu, Jianzhong @ 2019-08-22 17:43 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-arago
On 8/19/2019 3:02 PM, Denys Dmytriyenko wrote:
> On Mon, Aug 19, 2019 at 10:34:34AM -0400, Xu, Jianzhong wrote:
>>> -----Original Message-----
>>> From: Dmytriyenko, Denys
>>> Sent: Tuesday, August 13, 2019 7:13 PM
>>> To: Xu, Jianzhong
>>> Cc: meta-arago@arago-project.org
>>> Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header files
>>>
>>> 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.
>> CP_ARGS is used in following commands:
>> find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
>> cp $CP_ARGS ${WORKDIR}/build/UnitTests ${D}${bindir}
> What about others?
Other cp commands do not need CP_ARGS.
>
>>>> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [EXTERNAL] Re: [thud/master] [PATCH] armnn: add installation of header files
2019-08-22 17:43 ` Xu, Jianzhong
@ 2019-08-22 17:51 ` Jacob Stiffler
0 siblings, 0 replies; 6+ messages in thread
From: Jacob Stiffler @ 2019-08-22 17:51 UTC (permalink / raw)
To: Xu, Jianzhong, Denys Dmytriyenko; +Cc: meta-arago
On 8/22/2019 1:43 PM, Xu, Jianzhong wrote:
>
> On 8/19/2019 3:02 PM, Denys Dmytriyenko wrote:
>> On Mon, Aug 19, 2019 at 10:34:34AM -0400, Xu, Jianzhong wrote:
>>>> -----Original Message-----
>>>> From: Dmytriyenko, Denys
>>>> Sent: Tuesday, August 13, 2019 7:13 PM
>>>> To: Xu, Jianzhong
>>>> Cc: meta-arago@arago-project.org
>>>> Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add
>>>> installation of header files
>>>>
>>>> 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.
>>> CP_ARGS is used in following commands:
>>> find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable
>>> -exec cp $CP_ARGS {} ${D}${bindir} \;
>>> cp $CP_ARGS ${WORKDIR}/build/UnitTests ${D}${bindir}
>> What about others?
> Other cp commands do not need CP_ARGS.
Everywhere "cp -r" is used needs to be replaced with "cp $CP_ARGS"
>>
>>>>> 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
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-08-22 17:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 14:07 [thud/master] [PATCH] armnn: add installation of header files Jianzhong Xu
2019-08-13 23:13 ` Denys Dmytriyenko
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
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.