Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] boost: set python-root correctly
Date: Fri, 27 Apr 2012 14:05:19 -0700	[thread overview]
Message-ID: <4F9B0A0F.1040907@linux.intel.com> (raw)
In-Reply-To: <1335312724-27599-1-git-send-email-tasskjapp@gmail.com>

On 04/24/2012 05:12 PM, Tasslehoff Kjappfot wrote:
>
> Signed-off-by: Tasslehoff Kjappfot<tasskjapp@gmail.com>
> ---
>   meta/recipes-support/boost/boost.inc |   10 ++++++++--
>   1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
> index c9306df..5341a8c 100644
> --- a/meta/recipes-support/boost/boost.inc
> +++ b/meta/recipes-support/boost/boost.inc
> @@ -16,7 +16,7 @@ BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}"
>   BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}"
>   BOOST_P = "boost_${BOOST_VER}"
>
> -INC_PR = "r2"
> +INC_PR = "r3"
>
>   SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2"
>
> @@ -42,7 +42,7 @@ BOOST_LIBS = "\
>   #BOOST_LIBS += "python"
>   #DEPENDS += "python"
>   #PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}"
> -#PYTHON_VERSION = "2.5"
> +#PYTHON_VERSION = "2.7"
>
>   # Make a package for each library, plus -dev
>   PACKAGES = "${PN}-dbg ${BOOST_PACKAGES}"
> @@ -123,6 +123,7 @@ BJAM_TOOLS   = "-sTOOLS=gcc \
>   		'-sNO_ZLIB=1' \
>   		'-sBUILD=release<optimization>space<threading>multi<inlining>on<debug-symbols>off' \
>   		'-sPYTHON_VERSION=${PYTHON_VERSION}' \
> +		'-sPYTHON_ROOT=${PYTHON_ROOT}' \
>   		'--layout=system' \
>   		"
>
> @@ -140,6 +141,11 @@ do_boostconfig() {
>   	then
>   		echo 'using gcc : 4.3.1 : ${CXX} : compileflags -DBOOST_SP_USE_PTHREADS -I${includedir} linkflags -L${libdir} ;'>>  ${S}/tools/build/v2/user-config.jam
>   	fi	
> +
> +        echo "using python : ${PYTHON_VERSION} : : ${STAGING_INCDIR}/python${PYTHON_VERSION} ;">>  ${S}/tools/build/v2/user-config.jam
> +
> +        CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" ./bootstrap.sh --with-toolset=gcc --with-python-root=${PYTHON_ROOT}
> +        sed -i '/^using python/d' project-config.jam
>   }
>
>   addtask do_boostconfig after do_patch before do_configure


Merged into OE-Core

Thanks
	Sau!



      reply	other threads:[~2012-04-27 21:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24  5:50 [PATCH 0/1]:gdk-pixbuf: Add --with-x11 when building lsb image Xiaofeng Yan
2012-04-24  5:50 ` [PATCH 1/1] gdk-pixbuf: " Xiaofeng Yan
2012-04-24  5:53   ` Koen Kooi
2012-04-24  6:12     ` Xiaofeng Yan
2012-04-24  6:29       ` Koen Kooi
2012-04-24  7:29         ` Richard Purdie
2012-04-24  8:59           ` Xiaofeng Yan
2012-04-24 21:02   ` Error compiling Boost with Python support on 64-bit host for 32-bit target Tasslehoff Kjappfot
2012-04-24  9:44     ` Richard Purdie
2012-04-24 21:46       ` Tasslehoff Kjappfot
2012-04-24 21:04     ` Tasslehoff Kjappfot
2012-04-24 23:14     ` [PATCH] boost: set python-root correctly Tasslehoff Kjappfot
2012-04-24 11:52       ` Koen Kooi
2012-04-25  0:12     ` Tasslehoff Kjappfot
2012-04-27 21:05       ` Saul Wold [this message]

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=4F9B0A0F.1040907@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox