armnn: add installation of header files
PATCH 1/1 armnn: add installation of header files
* Install header files that are needed to build tidl-api examples
* Rename TESTVECS_INSTALL_DIR to ARMNN_INSTALL_DIR
--- .../recipes-support/armnn/armnn_git.bb | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)
meta-arago-extras/recipes-support/armnn/armnn_git.bb +17 -8
@@ -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"
Signature · 1 line
2.17.1
Quoted 35 lines · Jianzhong Xu
* Install header files that are needed to build tidl-api examples
* RenameTESTVECS_INSTALL_DIRtoARMNN_INSTALL_DIRSigned-off-by Jianzhong Xu <[email protected]>--- .../recipes-support/armnn/armnn_git.bb | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)meta-arago-extras/recipes-support/armnn/armnn_git.bb +6
-7@@ -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
meta-arago-extras/recipes-support/armnn/armnn_git.bb EXTRA_OECMAKE=" \ · line 89
Quoted 10 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +10
-0+ 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.
Quoted 17 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +1
-1chrpath -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"Signature · 6 lines
2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 47 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, August 13, 2019 7:13 PM
To: Xu, Jianzhong
Cc: [email protected]
Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header filesQuoted 39 lines · Jianzhong Xu
* Install header files that are needed to build tidl-api examples
* RenameTESTVECS_INSTALL_DIRtoARMNN_INSTALL_DIRSigned-off-by Jianzhong Xu <[email protected]>--- .../recipes-support/armnn/armnn_git.bb | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)meta-arago-extras/recipes-support/armnn/armnn_git.bb +10
-7@@ -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
Quoted 8 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb EXTRA_OECMAKE=" \ · line 89
Quoted 6 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +6
-0+ 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_ARGSis 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}Quoted 18 lines
Quoted 18 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +1
-1chrpath -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"Signature · 6 lines
2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 56 lines · Jianzhong
Quoted 47 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, August 13, 2019 7:13 PM
To: Xu, Jianzhong
Cc: [email protected]
Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header filesQuoted 39 lines · Jianzhong Xu
* Install header files that are needed to build tidl-api examples
* RenameTESTVECS_INSTALL_DIRtoARMNN_INSTALL_DIRSigned-off-by Jianzhong Xu <[email protected]>--- .../recipes-support/armnn/armnn_git.bb | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)meta-arago-extras/recipes-support/armnn/armnn_git.bb +10
-7@@ -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/armnnQuoted 8 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb EXTRA_OECMAKE=" \ · line 89
Quoted 6 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +6
-0+ 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_ARGSis not being used for any of the cp commands.
Quoted 3 lines
CP_ARGSis 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?
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +1
-1chrpath -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"Signature · 6 lines
2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 55 lines · Denys Dmytriyenko
Quoted 54 lines · Jianzhong
Quoted 54 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, August 13, 2019 7:13 PM
To: Xu, Jianzhong
Cc: [email protected]
Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header filesQuoted 35 lines · Jianzhong Xu
* Install header files that are needed to build tidl-api examples
* RenameTESTVECS_INSTALL_DIRtoARMNN_INSTALL_DIRSigned-off-by Jianzhong Xu <[email protected]>--- .../recipes-support/armnn/armnn_git.bb | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-)meta-arago-extras/recipes-support/armnn/armnn_git.bb +6
-7@@ -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}/testvecsmeta-arago-extras/recipes-support/armnn/armnn_git.bb EXTRA_OECMAKE=" \ · line 89
Quoted 10 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +10
-0+ 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_ARGSis not being used for any of the cp commands.
Quoted 4 lines
Quoted 3 lines
CP_ARGSis 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.
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
meta-arago-extras/recipes-support/armnn/armnn_git.bb +1
-1chrpath -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"Signature · 6 lines
2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 71 lines · Jianzhong
Quoted 69 lines · Denys Dmytriyenko
Quoted 68 lines · Jianzhong
Quoted 68 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, August 13, 2019 7:13 PM
To: Xu, Jianzhong
Cc: [email protected]
Subject: Re: [meta-arago] [thud/master] [PATCH] armnn: add installation of header filesQuoted 51 lines · Jianzhong Xu
* Install header files that are needed to build tidl-api examples
* RenameTESTVECS_INSTALL_DIRtoARMNN_INSTALL_DIRSigned-off-by Jianzhong Xu <[email protected]>---
.../recipes-support/armnn/armnn_git.bb | 25
+++++++++++++------1 file changed, 17 insertions(+), 8 deletions(-)meta-arago-extras/recipes-support/armnn/armnn_git.bb +0
-1@@ -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/armnnUtilsQuoted 8 lines
+ 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_ARGSis not being used for any of the cp commands.
Quoted 6 lines
Quoted 5 lines
Quoted 4 lines
CP_ARGSis 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"
Quoted 20 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
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"Signature · 1 line
2.17.1Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago