* [meta-oe][PATCHv3] gnuradio : Update recipe to build for all machines.
@ 2013-05-22 10:35 Philip Balister
2013-06-03 12:24 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Philip Balister @ 2013-05-22 10:35 UTC (permalink / raw)
To: openembedded-devel
Also updated the git repo address after recent changes in hosting.
The recipe failed to build for machines without neon as a tune feature.
The cmake config options have been changed so that it configures properly
now.
Also dropped documentation from build to work around a doc generation problem.
Test on armv7a, x86, and x86-64.
Signed-off-by: Philip Balister <philip@balister.org>
---
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
index edd4615..45f4c77 100644
--- a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
+++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
GIT_REPO = "gnuradio.git"
GIT_BRANCH = "master"
-SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
+SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
"
S="${WORKDIR}/git"
@@ -82,21 +82,18 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
-DENABLE_GR_FCD=OFF \
-DENABLE_GR_WXGUI=OFF \
-DENABLE_GR_VIDEO_SDL=OFF \
+ -DENABLE_SPHINX=OFF -DENABLE_DOXYGEN=OFF \
-DIMPORT_EXECUTABLES=${S}/gr-vocoder/lib/generate_codebook.txt \
-DQT_HEADERS_DIR=${STAGING_INCDIR}/qt4 \
-DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/qt4/QtCore \
-DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
-DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
-DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
+ ${@base_contains('TUNE_FEATURES', 'neon', \
+ '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
"
inherit distutils-base cmake pkgconfig
EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
-# Only builds for machines with neon instructions. Problem is in upstream cmake.
-python () {
- if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
- raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
-}
-
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCHv3] gnuradio : Update recipe to build for all machines.
2013-05-22 10:35 [meta-oe][PATCHv3] gnuradio : Update recipe to build for all machines Philip Balister
@ 2013-06-03 12:24 ` Martin Jansa
2013-06-03 12:44 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2013-06-03 12:24 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2847 bytes --]
On Wed, May 22, 2013 at 06:35:37AM -0400, Philip Balister wrote:
> Also updated the git repo address after recent changes in hosting.
>
> The recipe failed to build for machines without neon as a tune feature.
> The cmake config options have been changed so that it configures properly
> now.
>
> Also dropped documentation from build to work around a doc generation problem.
>
> Test on armv7a, x86, and x86-64.
>
> Signed-off-by: Philip Balister <philip@balister.org>
> ---
> meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
> index edd4615..45f4c77 100644
> --- a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
> +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
> @@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
> GIT_REPO = "gnuradio.git"
> GIT_BRANCH = "master"
>
> -SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
> +SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
> "
>
> S="${WORKDIR}/git"
> @@ -82,21 +82,18 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
> -DENABLE_GR_FCD=OFF \
> -DENABLE_GR_WXGUI=OFF \
> -DENABLE_GR_VIDEO_SDL=OFF \
> + -DENABLE_SPHINX=OFF -DENABLE_DOXYGEN=OFF \
This isn't enough, it still fails to build docs in jenkins builds (see
status update email).
> -DIMPORT_EXECUTABLES=${S}/gr-vocoder/lib/generate_codebook.txt \
> -DQT_HEADERS_DIR=${STAGING_INCDIR}/qt4 \
> -DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/qt4/QtCore \
> -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
> -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
> -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
> + ${@base_contains('TUNE_FEATURES', 'neon', \
> + '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
> "
>
> inherit distutils-base cmake pkgconfig
>
> EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
>
> -# Only builds for machines with neon instructions. Problem is in upstream cmake.
> -python () {
> - if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
> - raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
> -}
> -
> --
> 1.7.11.7
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCHv3] gnuradio : Update recipe to build for all machines.
2013-06-03 12:24 ` Martin Jansa
@ 2013-06-03 12:44 ` Martin Jansa
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2013-06-03 12:44 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3089 bytes --]
On Mon, Jun 03, 2013 at 02:24:33PM +0200, Martin Jansa wrote:
> On Wed, May 22, 2013 at 06:35:37AM -0400, Philip Balister wrote:
> > Also updated the git repo address after recent changes in hosting.
> >
> > The recipe failed to build for machines without neon as a tune feature.
> > The cmake config options have been changed so that it configures properly
> > now.
> >
> > Also dropped documentation from build to work around a doc generation problem.
> >
> > Test on armv7a, x86, and x86-64.
> >
> > Signed-off-by: Philip Balister <philip@balister.org>
> > ---
> > meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 11 ++++-------
> > 1 file changed, 4 insertions(+), 7 deletions(-)
> >
> > diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
> > index edd4615..45f4c77 100644
> > --- a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
> > +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb
> > @@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
> > GIT_REPO = "gnuradio.git"
> > GIT_BRANCH = "master"
> >
> > -SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
> > +SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
> > "
> >
> > S="${WORKDIR}/git"
> > @@ -82,21 +82,18 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
> > -DENABLE_GR_FCD=OFF \
> > -DENABLE_GR_WXGUI=OFF \
> > -DENABLE_GR_VIDEO_SDL=OFF \
> > + -DENABLE_SPHINX=OFF -DENABLE_DOXYGEN=OFF \
>
> This isn't enough, it still fails to build docs in jenkins builds (see
> status update email).
| xmlto: /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml does not validate (status 3)
| xmlto: Fix document syntax or use --skip-validation option
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml:6: warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| ]>
| ^
| warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| validity error : Could not load the external subset "docbookx.dtd"
| Document /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml does not validate
| make[2]: *** [gr-trellis/doc/gr-trellis.html] Error 13
| make[2]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build'
| make[1]: *** [gr-trellis/doc/CMakeFiles/gr_trellis_html.dir/all] Error 2
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-03 12:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 10:35 [meta-oe][PATCHv3] gnuradio : Update recipe to build for all machines Philip Balister
2013-06-03 12:24 ` Martin Jansa
2013-06-03 12:44 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox