* [PATCH v3] tidl-api: update to version 01.00.00.02 @ 2018-07-10 19:12 Yuan Zhao 2018-07-10 19:26 ` [EXTERNAL] " Jacob Stiffler 0 siblings, 1 reply; 5+ messages in thread From: Yuan Zhao @ 2018-07-10 19:12 UTC (permalink / raw) To: meta-arago Signed-off-by: Yuan Zhao <yuanzhao@ti.com> --- .../conf/distro/include/arago-source-ipk.inc | 3 ++ meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc | 4 +- .../recipes-ti/tidl-api/tidl-api_git.bb | 54 ++++++++++++++++++++++ .../recipes-ti/tidl-api/tidl-examples_git.bb | 32 +++++++------ 4 files changed, 78 insertions(+), 15 deletions(-) create mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc index 5e3de4ef..876c1258 100644 --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc @@ -329,6 +329,9 @@ SRCIPK_INSTALL_DIR_pn-opencl-examples = "example-applications/${PN}-${PV}" CREATE_SRCIPK_pn-openmpacc-examples = "1" SRCIPK_INSTALL_DIR_pn-openmpacc-examples = "example-applications/${PN}-${PV}" +CREATE_SRCIPK_pn-tidl-examples = "1" +SRCIPK_INSTALL_DIR_pn-tidl-examples = "example-applications/${PN}-${PV}" + CREATE_SRCIPK_pn-qt-opencv-opencl-opengl-multithreaded = "1" SRCIPK_INSTALL_DIR_pn-qt-opencv-opencl-opengl-multithreaded = "example-applications/${PN}-${PV}" diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc index d266611c..d2b570d1 100644 --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc @@ -1,4 +1,4 @@ -PV = "1.0.0.0" +PV = "1.0.0.2" INC_PR = "r0" LIC_FILES_CHKSUM = "file://tidl_api_manifest.html;md5=ae816cc40db02fe06193212437ad00e8" @@ -8,4 +8,4 @@ GIT_PROTOCOL = "git" BRANCH = "master" SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "d6326ad29c9ed4b79ebf3e0f588f247ed2cf3d2e" +SRCREV = "8bad8d86fd89fd8c482aa10ab89f3049337a9ca2" diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb new file mode 100644 index 00000000..9c41ef11 --- /dev/null +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb @@ -0,0 +1,54 @@ +SUMMARY = "TIDL API" +DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details." +HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" +LICENSE = "BSD" + +include tidl-api.inc +require recipes-ti/includes/ti-paths.inc + +PR = "${INC_PR}.0" + +COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEPENDS = "opencv \ + opencl \ + opencl-monitor \ + ti-cgt6x-native \ + clocl-native \ +" + +RDEPENDS_${PN} += "opencl-runtime \ + opencv \ +" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = " -C ${S}/tidl_api \ + TARGET_ROOTDIR=${STAGING_DIR_HOST} \ + TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ +" + +do_compile() { + oe_runmake +} + +CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" + +do_install() { + install -d ${D}${TIDL_INSTALL_DIR} + install -d ${D}${TIDL_INSTALL_DIR}/tidl_api + install -d ${D}${TIDL_INSTALL_DIR}/viewer + cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/ + cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/ + install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/ +} + +FILES_${PN} += "\ + ${TIDL_INSTALL_DIR} \ +" + + +INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb index be9bb65f..47b7ac40 100644 --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb @@ -1,5 +1,5 @@ -SUMMARY = "TIDL API and examples" -DESCRIPTION = "TIDL API and examples of API usage. Refer TIDL API User's Guide for details." +SUMMARY = "TIDL API examples" +DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details." HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" LICENSE = "BSD" @@ -11,9 +11,16 @@ PR = "${INC_PR}.0" COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "opencv opencl opencl-monitor ti-cgt6x-native clocl-native" +DEPENDS = "opencv \ + clocl-native \ + ti-cgt6x-native \ + tidl-api \ +" -RDEPENDS_${PN} += " opencl-runtime opencv" +RDEPENDS_${PN} += "tidl-api \ + opencl-runtime \ + opencv \ +" S = "${WORKDIR}/git" @@ -28,20 +35,19 @@ do_compile() { CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" + do_install() { - install -d ${D}${datadir}/ti/tidl-api - install -d ${D}${datadir}/ti/tidl-api/examples - install -d ${D}${datadir}/ti/tidl-api/tidl_api - install -d ${D}${datadir}/ti/tidl-api/viewer - cp ${CP_ARGS} ${S}/examples/* ${D}${datadir}/ti/tidl-api/examples/ - cp ${CP_ARGS} ${S}/tidl_api/* ${D}${datadir}/ti/tidl-api/tidl_api/ - cp ${CP_ARGS} ${S}/viewer/* ${D}${datadir}/ti/tidl-api/viewer/ - install ${S}/readme.md ${D}${datadir}/ti/tidl-api/ + install -d ${D}${TIDL_INSTALL_DIR} + install -d ${D}${TIDL_INSTALL_DIR}/examples + cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/ } FILES_${PN} += "\ - ${datadir}/ti/tidl-api \ + ${TIDL_INSTALL_DIR} \ " INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" + +SRCIPK_SRC_DIR = "${S}/examples" -- 2.14.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [EXTERNAL] [PATCH v3] tidl-api: update to version 01.00.00.02 2018-07-10 19:12 [PATCH v3] tidl-api: update to version 01.00.00.02 Yuan Zhao @ 2018-07-10 19:26 ` Jacob Stiffler 2018-07-10 19:39 ` Zhao, Yuan 0 siblings, 1 reply; 5+ messages in thread From: Jacob Stiffler @ 2018-07-10 19:26 UTC (permalink / raw) To: Yuan Zhao, meta-arago On 7/10/2018 3:12 PM, Yuan Zhao wrote: > Signed-off-by: Yuan Zhao <yuanzhao@ti.com> > --- > .../conf/distro/include/arago-source-ipk.inc | 3 ++ > meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc | 4 +- > .../recipes-ti/tidl-api/tidl-api_git.bb | 54 ++++++++++++++++++++++ > .../recipes-ti/tidl-api/tidl-examples_git.bb | 32 +++++++------ > 4 files changed, 78 insertions(+), 15 deletions(-) > create mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > > diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > index 5e3de4ef..876c1258 100644 > --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > @@ -329,6 +329,9 @@ SRCIPK_INSTALL_DIR_pn-opencl-examples = "example-applications/${PN}-${PV}" > CREATE_SRCIPK_pn-openmpacc-examples = "1" > SRCIPK_INSTALL_DIR_pn-openmpacc-examples = "example-applications/${PN}-${PV}" > > +CREATE_SRCIPK_pn-tidl-examples = "1" > +SRCIPK_INSTALL_DIR_pn-tidl-examples = "example-applications/${PN}-${PV}" > + > CREATE_SRCIPK_pn-qt-opencv-opencl-opengl-multithreaded = "1" > SRCIPK_INSTALL_DIR_pn-qt-opencv-opencl-opengl-multithreaded = "example-applications/${PN}-${PV}" > > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > index d266611c..d2b570d1 100644 > --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > @@ -1,4 +1,4 @@ > -PV = "1.0.0.0" > +PV = "1.0.0.2" > INC_PR = "r0" > > LIC_FILES_CHKSUM = "file://tidl_api_manifest.html;md5=ae816cc40db02fe06193212437ad00e8" > @@ -8,4 +8,4 @@ GIT_PROTOCOL = "git" > BRANCH = "master" > > SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" > -SRCREV = "d6326ad29c9ed4b79ebf3e0f588f247ed2cf3d2e" > +SRCREV = "8bad8d86fd89fd8c482aa10ab89f3049337a9ca2" > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > new file mode 100644 > index 00000000..9c41ef11 > --- /dev/null > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > @@ -0,0 +1,54 @@ > +SUMMARY = "TIDL API" > +DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details." > +HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" > +LICENSE = "BSD" > + > +include tidl-api.inc > +require recipes-ti/includes/ti-paths.inc > + > +PR = "${INC_PR}.0" > + > +COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +DEPENDS = "opencv \ > + opencl \ > + opencl-monitor \ > + ti-cgt6x-native \ > + clocl-native \ > +" > + > +RDEPENDS_${PN} += "opencl-runtime \ > + opencv \ > +" > + > +S = "${WORKDIR}/git" > + > +EXTRA_OEMAKE = " -C ${S}/tidl_api \ > + TARGET_ROOTDIR=${STAGING_DIR_HOST} \ > + TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ > +" > + > +do_compile() { > + oe_runmake > +} > + > +CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > + > +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" > + > +do_install() { > + install -d ${D}${TIDL_INSTALL_DIR} > + install -d ${D}${TIDL_INSTALL_DIR}/tidl_api > + install -d ${D}${TIDL_INSTALL_DIR}/viewer > + cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/ > + cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/ > + install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/ > +} > + > +FILES_${PN} += "\ > + ${TIDL_INSTALL_DIR} \ > +" > + > + > +INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > index be9bb65f..47b7ac40 100644 > --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > @@ -1,5 +1,5 @@ > -SUMMARY = "TIDL API and examples" > -DESCRIPTION = "TIDL API and examples of API usage. Refer TIDL API User's Guide for details." > +SUMMARY = "TIDL API examples" > +DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details." > HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" > LICENSE = "BSD" > > @@ -11,9 +11,16 @@ PR = "${INC_PR}.0" > COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" > PACKAGE_ARCH = "${MACHINE_ARCH}" > > -DEPENDS = "opencv opencl opencl-monitor ti-cgt6x-native clocl-native" > +DEPENDS = "opencv \ > + clocl-native \ > + ti-cgt6x-native \ > + tidl-api \ > +" > > -RDEPENDS_${PN} += " opencl-runtime opencv" > +RDEPENDS_${PN} += "tidl-api \ > + opencl-runtime \ > + opencv \ > +" > > S = "${WORKDIR}/git" > > @@ -28,20 +35,19 @@ do_compile() { > > CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > > +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" > + > do_install() { > - install -d ${D}${datadir}/ti/tidl-api > - install -d ${D}${datadir}/ti/tidl-api/examples > - install -d ${D}${datadir}/ti/tidl-api/tidl_api > - install -d ${D}${datadir}/ti/tidl-api/viewer > - cp ${CP_ARGS} ${S}/examples/* ${D}${datadir}/ti/tidl-api/examples/ > - cp ${CP_ARGS} ${S}/tidl_api/* ${D}${datadir}/ti/tidl-api/tidl_api/ > - cp ${CP_ARGS} ${S}/viewer/* ${D}${datadir}/ti/tidl-api/viewer/ > - install ${S}/readme.md ${D}${datadir}/ti/tidl-api/ > + install -d ${D}${TIDL_INSTALL_DIR} > + install -d ${D}${TIDL_INSTALL_DIR}/examples > + cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/ > } > > FILES_${PN} += "\ > - ${datadir}/ti/tidl-api \ > + ${TIDL_INSTALL_DIR} \ > " > > > INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" > + > +SRCIPK_SRC_DIR = "${S}/examples" This SRCIPK_SRC_DIR should also go into the arago-source-ipk.inc ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXTERNAL] [PATCH v3] tidl-api: update to version 01.00.00.02 2018-07-10 19:26 ` [EXTERNAL] " Jacob Stiffler @ 2018-07-10 19:39 ` Zhao, Yuan 2018-07-10 19:43 ` Jacob Stiffler 0 siblings, 1 reply; 5+ messages in thread From: Zhao, Yuan @ 2018-07-10 19:39 UTC (permalink / raw) To: Stiffler, Jacob, meta-arago@arago-project.org > +SRCIPK_SRC_DIR = "${S}/examples" Okay, how do I reference this directory in arago-source-ipk.inc? ${S} is not available, right? What about ${WORKDIR}? - Yuan -----Original Message----- From: Stiffler, Jacob Sent: Tuesday, July 10, 2018 2:27 PM To: Zhao, Yuan; meta-arago@arago-project.org Subject: Re: [EXTERNAL] [meta-arago] [PATCH v3] tidl-api: update to version 01.00.00.02 On 7/10/2018 3:12 PM, Yuan Zhao wrote: > Signed-off-by: Yuan Zhao <yuanzhao@ti.com> > --- > .../conf/distro/include/arago-source-ipk.inc | 3 ++ > meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc | 4 +- > .../recipes-ti/tidl-api/tidl-api_git.bb | 54 ++++++++++++++++++++++ > .../recipes-ti/tidl-api/tidl-examples_git.bb | 32 +++++++------ > 4 files changed, 78 insertions(+), 15 deletions(-) > create mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > > diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > index 5e3de4ef..876c1258 100644 > --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > @@ -329,6 +329,9 @@ SRCIPK_INSTALL_DIR_pn-opencl-examples = "example-applications/${PN}-${PV}" > CREATE_SRCIPK_pn-openmpacc-examples = "1" > SRCIPK_INSTALL_DIR_pn-openmpacc-examples = "example-applications/${PN}-${PV}" > > +CREATE_SRCIPK_pn-tidl-examples = "1" > +SRCIPK_INSTALL_DIR_pn-tidl-examples = "example-applications/${PN}-${PV}" > + > CREATE_SRCIPK_pn-qt-opencv-opencl-opengl-multithreaded = "1" > SRCIPK_INSTALL_DIR_pn-qt-opencv-opencl-opengl-multithreaded = "example-applications/${PN}-${PV}" > > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > index d266611c..d2b570d1 100644 > --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > @@ -1,4 +1,4 @@ > -PV = "1.0.0.0" > +PV = "1.0.0.2" > INC_PR = "r0" > > LIC_FILES_CHKSUM = "file://tidl_api_manifest.html;md5=ae816cc40db02fe06193212437ad00e8" > @@ -8,4 +8,4 @@ GIT_PROTOCOL = "git" > BRANCH = "master" > > SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" > -SRCREV = "d6326ad29c9ed4b79ebf3e0f588f247ed2cf3d2e" > +SRCREV = "8bad8d86fd89fd8c482aa10ab89f3049337a9ca2" > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > new file mode 100644 > index 00000000..9c41ef11 > --- /dev/null > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > @@ -0,0 +1,54 @@ > +SUMMARY = "TIDL API" > +DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details." > +HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" > +LICENSE = "BSD" > + > +include tidl-api.inc > +require recipes-ti/includes/ti-paths.inc > + > +PR = "${INC_PR}.0" > + > +COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +DEPENDS = "opencv \ > + opencl \ > + opencl-monitor \ > + ti-cgt6x-native \ > + clocl-native \ > +" > + > +RDEPENDS_${PN} += "opencl-runtime \ > + opencv \ > +" > + > +S = "${WORKDIR}/git" > + > +EXTRA_OEMAKE = " -C ${S}/tidl_api \ > + TARGET_ROOTDIR=${STAGING_DIR_HOST} \ > + TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ > +" > + > +do_compile() { > + oe_runmake > +} > + > +CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > + > +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" > + > +do_install() { > + install -d ${D}${TIDL_INSTALL_DIR} > + install -d ${D}${TIDL_INSTALL_DIR}/tidl_api > + install -d ${D}${TIDL_INSTALL_DIR}/viewer > + cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/ > + cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/ > + install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/ > +} > + > +FILES_${PN} += "\ > + ${TIDL_INSTALL_DIR} \ > +" > + > + > +INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > index be9bb65f..47b7ac40 100644 > --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > @@ -1,5 +1,5 @@ > -SUMMARY = "TIDL API and examples" > -DESCRIPTION = "TIDL API and examples of API usage. Refer TIDL API User's Guide for details." > +SUMMARY = "TIDL API examples" > +DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details." > HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" > LICENSE = "BSD" > > @@ -11,9 +11,16 @@ PR = "${INC_PR}.0" > COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" > PACKAGE_ARCH = "${MACHINE_ARCH}" > > -DEPENDS = "opencv opencl opencl-monitor ti-cgt6x-native clocl-native" > +DEPENDS = "opencv \ > + clocl-native \ > + ti-cgt6x-native \ > + tidl-api \ > +" > > -RDEPENDS_${PN} += " opencl-runtime opencv" > +RDEPENDS_${PN} += "tidl-api \ > + opencl-runtime \ > + opencv \ > +" > > S = "${WORKDIR}/git" > > @@ -28,20 +35,19 @@ do_compile() { > > CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > > +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" > + > do_install() { > - install -d ${D}${datadir}/ti/tidl-api > - install -d ${D}${datadir}/ti/tidl-api/examples > - install -d ${D}${datadir}/ti/tidl-api/tidl_api > - install -d ${D}${datadir}/ti/tidl-api/viewer > - cp ${CP_ARGS} ${S}/examples/* ${D}${datadir}/ti/tidl-api/examples/ > - cp ${CP_ARGS} ${S}/tidl_api/* ${D}${datadir}/ti/tidl-api/tidl_api/ > - cp ${CP_ARGS} ${S}/viewer/* ${D}${datadir}/ti/tidl-api/viewer/ > - install ${S}/readme.md ${D}${datadir}/ti/tidl-api/ > + install -d ${D}${TIDL_INSTALL_DIR} > + install -d ${D}${TIDL_INSTALL_DIR}/examples > + cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/ > } > > FILES_${PN} += "\ > - ${datadir}/ti/tidl-api \ > + ${TIDL_INSTALL_DIR} \ > " > > > INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" > + > +SRCIPK_SRC_DIR = "${S}/examples" This SRCIPK_SRC_DIR should also go into the arago-source-ipk.inc ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXTERNAL] [PATCH v3] tidl-api: update to version 01.00.00.02 2018-07-10 19:39 ` Zhao, Yuan @ 2018-07-10 19:43 ` Jacob Stiffler 2018-07-10 20:19 ` Denys Dmytriyenko 0 siblings, 1 reply; 5+ messages in thread From: Jacob Stiffler @ 2018-07-10 19:43 UTC (permalink / raw) To: Zhao, Yuan, meta-arago@arago-project.org On 7/10/2018 3:39 PM, Zhao, Yuan wrote: >> +SRCIPK_SRC_DIR = "${S}/examples" > Okay, how do I reference this directory in arago-source-ipk.inc? ${S} is not available, right? What about ${WORKDIR}? These variables have, I guess you would call it, late expansion. So it is safe to use "${S}" just how "${PN} and "${PV}" are used in the other variables. In the common include file, you will only need to make sure you include the "_pn-tidl-examples" suffix similar to the other configuration. > - Yuan > > -----Original Message----- > From: Stiffler, Jacob > Sent: Tuesday, July 10, 2018 2:27 PM > To: Zhao, Yuan; meta-arago@arago-project.org > Subject: Re: [EXTERNAL] [meta-arago] [PATCH v3] tidl-api: update to version 01.00.00.02 > > > > On 7/10/2018 3:12 PM, Yuan Zhao wrote: >> Signed-off-by: Yuan Zhao <yuanzhao@ti.com> >> --- >> .../conf/distro/include/arago-source-ipk.inc | 3 ++ >> meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc | 4 +- >> .../recipes-ti/tidl-api/tidl-api_git.bb | 54 ++++++++++++++++++++++ >> .../recipes-ti/tidl-api/tidl-examples_git.bb | 32 +++++++------ >> 4 files changed, 78 insertions(+), 15 deletions(-) >> create mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb >> >> diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc >> index 5e3de4ef..876c1258 100644 >> --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc >> +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc >> @@ -329,6 +329,9 @@ SRCIPK_INSTALL_DIR_pn-opencl-examples = "example-applications/${PN}-${PV}" >> CREATE_SRCIPK_pn-openmpacc-examples = "1" >> SRCIPK_INSTALL_DIR_pn-openmpacc-examples = "example-applications/${PN}-${PV}" >> >> +CREATE_SRCIPK_pn-tidl-examples = "1" >> +SRCIPK_INSTALL_DIR_pn-tidl-examples = "example-applications/${PN}-${PV}" >> + >> CREATE_SRCIPK_pn-qt-opencv-opencl-opengl-multithreaded = "1" >> SRCIPK_INSTALL_DIR_pn-qt-opencv-opencl-opengl-multithreaded = "example-applications/${PN}-${PV}" >> >> diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc >> index d266611c..d2b570d1 100644 >> --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc >> +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc >> @@ -1,4 +1,4 @@ >> -PV = "1.0.0.0" >> +PV = "1.0.0.2" >> INC_PR = "r0" >> >> LIC_FILES_CHKSUM = "file://tidl_api_manifest.html;md5=ae816cc40db02fe06193212437ad00e8" >> @@ -8,4 +8,4 @@ GIT_PROTOCOL = "git" >> BRANCH = "master" >> >> SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" >> -SRCREV = "d6326ad29c9ed4b79ebf3e0f588f247ed2cf3d2e" >> +SRCREV = "8bad8d86fd89fd8c482aa10ab89f3049337a9ca2" >> diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb >> new file mode 100644 >> index 00000000..9c41ef11 >> --- /dev/null >> +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb >> @@ -0,0 +1,54 @@ >> +SUMMARY = "TIDL API" >> +DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details." >> +HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" >> +LICENSE = "BSD" >> + >> +include tidl-api.inc >> +require recipes-ti/includes/ti-paths.inc >> + >> +PR = "${INC_PR}.0" >> + >> +COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" >> +PACKAGE_ARCH = "${MACHINE_ARCH}" >> + >> +DEPENDS = "opencv \ >> + opencl \ >> + opencl-monitor \ >> + ti-cgt6x-native \ >> + clocl-native \ >> +" >> + >> +RDEPENDS_${PN} += "opencl-runtime \ >> + opencv \ >> +" >> + >> +S = "${WORKDIR}/git" >> + >> +EXTRA_OEMAKE = " -C ${S}/tidl_api \ >> + TARGET_ROOTDIR=${STAGING_DIR_HOST} \ >> + TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ >> +" >> + >> +do_compile() { >> + oe_runmake >> +} >> + >> +CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" >> + >> +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" >> + >> +do_install() { >> + install -d ${D}${TIDL_INSTALL_DIR} >> + install -d ${D}${TIDL_INSTALL_DIR}/tidl_api >> + install -d ${D}${TIDL_INSTALL_DIR}/viewer >> + cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/ >> + cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/ >> + install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/ >> +} >> + >> +FILES_${PN} += "\ >> + ${TIDL_INSTALL_DIR} \ >> +" >> + >> + >> +INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" >> diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb >> index be9bb65f..47b7ac40 100644 >> --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb >> +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb >> @@ -1,5 +1,5 @@ >> -SUMMARY = "TIDL API and examples" >> -DESCRIPTION = "TIDL API and examples of API usage. Refer TIDL API User's Guide for details." >> +SUMMARY = "TIDL API examples" >> +DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details." >> HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" >> LICENSE = "BSD" >> >> @@ -11,9 +11,16 @@ PR = "${INC_PR}.0" >> COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" >> PACKAGE_ARCH = "${MACHINE_ARCH}" >> >> -DEPENDS = "opencv opencl opencl-monitor ti-cgt6x-native clocl-native" >> +DEPENDS = "opencv \ >> + clocl-native \ >> + ti-cgt6x-native \ >> + tidl-api \ >> +" >> >> -RDEPENDS_${PN} += " opencl-runtime opencv" >> +RDEPENDS_${PN} += "tidl-api \ >> + opencl-runtime \ >> + opencv \ >> +" >> >> S = "${WORKDIR}/git" >> >> @@ -28,20 +35,19 @@ do_compile() { >> >> CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" >> >> +TIDL_INSTALL_DIR = "${datadir}/ti/tidl" >> + >> do_install() { >> - install -d ${D}${datadir}/ti/tidl-api >> - install -d ${D}${datadir}/ti/tidl-api/examples >> - install -d ${D}${datadir}/ti/tidl-api/tidl_api >> - install -d ${D}${datadir}/ti/tidl-api/viewer >> - cp ${CP_ARGS} ${S}/examples/* ${D}${datadir}/ti/tidl-api/examples/ >> - cp ${CP_ARGS} ${S}/tidl_api/* ${D}${datadir}/ti/tidl-api/tidl_api/ >> - cp ${CP_ARGS} ${S}/viewer/* ${D}${datadir}/ti/tidl-api/viewer/ >> - install ${S}/readme.md ${D}${datadir}/ti/tidl-api/ >> + install -d ${D}${TIDL_INSTALL_DIR} >> + install -d ${D}${TIDL_INSTALL_DIR}/examples >> + cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/ >> } >> >> FILES_${PN} += "\ >> - ${datadir}/ti/tidl-api \ >> + ${TIDL_INSTALL_DIR} \ >> " >> >> >> INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" >> + >> +SRCIPK_SRC_DIR = "${S}/examples" > This SRCIPK_SRC_DIR should also go into the arago-source-ipk.inc > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXTERNAL] [PATCH v3] tidl-api: update to version 01.00.00.02 2018-07-10 19:43 ` Jacob Stiffler @ 2018-07-10 20:19 ` Denys Dmytriyenko 0 siblings, 0 replies; 5+ messages in thread From: Denys Dmytriyenko @ 2018-07-10 20:19 UTC (permalink / raw) To: Jacob Stiffler; +Cc: meta-arago@arago-project.org On Tue, Jul 10, 2018 at 03:43:18PM -0400, Jacob Stiffler wrote: > > > On 7/10/2018 3:39 PM, Zhao, Yuan wrote: > >>+SRCIPK_SRC_DIR = "${S}/examples" > >Okay, how do I reference this directory in arago-source-ipk.inc? ${S} is not available, right? What about ${WORKDIR}? > > These variables have, I guess you would call it, late expansion. So it is > safe to use "${S}" just how "${PN} and "${PV}" are used in the other > variables. > > In the common include file, you will only need to make sure you include the > "_pn-tidl-examples" suffix similar to the other configuration. Think of it as poking values directly into a recipe (VAR_pn-recipe="val") and any expansions used in the "val" will be processed when recipe is parsed, so ${S}, ${WORKDIR}, ${PN}, etc. will be recipe-specific at that time. > >- Yuan > > > >-----Original Message----- > >From: Stiffler, Jacob > >Sent: Tuesday, July 10, 2018 2:27 PM > >To: Zhao, Yuan; meta-arago@arago-project.org > >Subject: Re: [EXTERNAL] [meta-arago] [PATCH v3] tidl-api: update to version 01.00.00.02 > > > > > > > >On 7/10/2018 3:12 PM, Yuan Zhao wrote: > >>Signed-off-by: Yuan Zhao <yuanzhao@ti.com> > >>--- > >> .../conf/distro/include/arago-source-ipk.inc | 3 ++ > >> meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc | 4 +- > >> .../recipes-ti/tidl-api/tidl-api_git.bb | 54 ++++++++++++++++++++++ > >> .../recipes-ti/tidl-api/tidl-examples_git.bb | 32 +++++++------ > >> 4 files changed, 78 insertions(+), 15 deletions(-) > >> create mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > >> > >>diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > >>index 5e3de4ef..876c1258 100644 > >>--- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > >>+++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc > >>@@ -329,6 +329,9 @@ SRCIPK_INSTALL_DIR_pn-opencl-examples = "example-applications/${PN}-${PV}" > >> CREATE_SRCIPK_pn-openmpacc-examples = "1" > >> SRCIPK_INSTALL_DIR_pn-openmpacc-examples = "example-applications/${PN}-${PV}" > >>+CREATE_SRCIPK_pn-tidl-examples = "1" > >>+SRCIPK_INSTALL_DIR_pn-tidl-examples = "example-applications/${PN}-${PV}" > >>+ > >> CREATE_SRCIPK_pn-qt-opencv-opencl-opengl-multithreaded = "1" > >> SRCIPK_INSTALL_DIR_pn-qt-opencv-opencl-opengl-multithreaded = "example-applications/${PN}-${PV}" > >>diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > >>index d266611c..d2b570d1 100644 > >>--- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > >>+++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc > >>@@ -1,4 +1,4 @@ > >>-PV = "1.0.0.0" > >>+PV = "1.0.0.2" > >> INC_PR = "r0" > >> LIC_FILES_CHKSUM = "file://tidl_api_manifest.html;md5=ae816cc40db02fe06193212437ad00e8" > >>@@ -8,4 +8,4 @@ GIT_PROTOCOL = "git" > >> BRANCH = "master" > >> SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" > >>-SRCREV = "d6326ad29c9ed4b79ebf3e0f588f247ed2cf3d2e" > >>+SRCREV = "8bad8d86fd89fd8c482aa10ab89f3049337a9ca2" > >>diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > >>new file mode 100644 > >>index 00000000..9c41ef11 > >>--- /dev/null > >>+++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb > >>@@ -0,0 +1,54 @@ > >>+SUMMARY = "TIDL API" > >>+DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details." > >>+HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" > >>+LICENSE = "BSD" > >>+ > >>+include tidl-api.inc > >>+require recipes-ti/includes/ti-paths.inc > >>+ > >>+PR = "${INC_PR}.0" > >>+ > >>+COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" > >>+PACKAGE_ARCH = "${MACHINE_ARCH}" > >>+ > >>+DEPENDS = "opencv \ > >>+ opencl \ > >>+ opencl-monitor \ > >>+ ti-cgt6x-native \ > >>+ clocl-native \ > >>+" > >>+ > >>+RDEPENDS_${PN} += "opencl-runtime \ > >>+ opencv \ > >>+" > >>+ > >>+S = "${WORKDIR}/git" > >>+ > >>+EXTRA_OEMAKE = " -C ${S}/tidl_api \ > >>+ TARGET_ROOTDIR=${STAGING_DIR_HOST} \ > >>+ TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ > >>+" > >>+ > >>+do_compile() { > >>+ oe_runmake > >>+} > >>+ > >>+CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > >>+ > >>+TIDL_INSTALL_DIR = "${datadir}/ti/tidl" > >>+ > >>+do_install() { > >>+ install -d ${D}${TIDL_INSTALL_DIR} > >>+ install -d ${D}${TIDL_INSTALL_DIR}/tidl_api > >>+ install -d ${D}${TIDL_INSTALL_DIR}/viewer > >>+ cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/ > >>+ cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/ > >>+ install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/ > >>+} > >>+ > >>+FILES_${PN} += "\ > >>+ ${TIDL_INSTALL_DIR} \ > >>+" > >>+ > >>+ > >>+INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" > >>diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > >>index be9bb65f..47b7ac40 100644 > >>--- a/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > >>+++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb > >>@@ -1,5 +1,5 @@ > >>-SUMMARY = "TIDL API and examples" > >>-DESCRIPTION = "TIDL API and examples of API usage. Refer TIDL API User's Guide for details." > >>+SUMMARY = "TIDL API examples" > >>+DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details." > >> HOMEPAGE = "http://software-dl.ti.com/mctools/docs/tidl-api/intro.html" > >> LICENSE = "BSD" > >>@@ -11,9 +11,16 @@ PR = "${INC_PR}.0" > >> COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm" > >> PACKAGE_ARCH = "${MACHINE_ARCH}" > >>-DEPENDS = "opencv opencl opencl-monitor ti-cgt6x-native clocl-native" > >>+DEPENDS = "opencv \ > >>+ clocl-native \ > >>+ ti-cgt6x-native \ > >>+ tidl-api \ > >>+" > >>-RDEPENDS_${PN} += " opencl-runtime opencv" > >>+RDEPENDS_${PN} += "tidl-api \ > >>+ opencl-runtime \ > >>+ opencv \ > >>+" > >> S = "${WORKDIR}/git" > >>@@ -28,20 +35,19 @@ do_compile() { > >> CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > >>+TIDL_INSTALL_DIR = "${datadir}/ti/tidl" > >>+ > >> do_install() { > >>- install -d ${D}${datadir}/ti/tidl-api > >>- install -d ${D}${datadir}/ti/tidl-api/examples > >>- install -d ${D}${datadir}/ti/tidl-api/tidl_api > >>- install -d ${D}${datadir}/ti/tidl-api/viewer > >>- cp ${CP_ARGS} ${S}/examples/* ${D}${datadir}/ti/tidl-api/examples/ > >>- cp ${CP_ARGS} ${S}/tidl_api/* ${D}${datadir}/ti/tidl-api/tidl_api/ > >>- cp ${CP_ARGS} ${S}/viewer/* ${D}${datadir}/ti/tidl-api/viewer/ > >>- install ${S}/readme.md ${D}${datadir}/ti/tidl-api/ > >>+ install -d ${D}${TIDL_INSTALL_DIR} > >>+ install -d ${D}${TIDL_INSTALL_DIR}/examples > >>+ cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/ > >> } > >> FILES_${PN} += "\ > >>- ${datadir}/ti/tidl-api \ > >>+ ${TIDL_INSTALL_DIR} \ > >> " > >> INSANE_SKIP_${PN} = "arch ldflags textrel staticdev" > >>+ > >>+SRCIPK_SRC_DIR = "${S}/examples" > >This SRCIPK_SRC_DIR should also go into the arago-source-ipk.inc > > > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-07-10 20:19 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-07-10 19:12 [PATCH v3] tidl-api: update to version 01.00.00.02 Yuan Zhao 2018-07-10 19:26 ` [EXTERNAL] " Jacob Stiffler 2018-07-10 19:39 ` Zhao, Yuan 2018-07-10 19:43 ` Jacob Stiffler 2018-07-10 20:19 ` Denys Dmytriyenko
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.