Boost logo

Boost Users :

Subject: Re: [Boost-users] troubles building 1.39.0 with intel compiler under linux
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-10 15:48:56


AMDG

Frédéric Bron wrote:
> I try to upgrade from 1.38 to 1.39 and have to rewrite my building
> scripts. For gcc I had no particular issue. But for the intel
> compiler, it does not work:
>
> $ ./bootstrap.sh --without-icu --without-libraries=python
> --prefix=/soft/bal/usr/icc/boost --with-toolset=intel-linux
> $ ./bjam --layout=system --libdir=/soft/bal/usr/icc/boost/lib
> link=static threading=multi runtime-link=shared address-model=64
> instruction-set=nocona release install
>
> However, I obtain the following error from bjam:
>
> error: at /soft/bal/usr/builds/icc/boost_1_39_0/tools/build/v2/build/project.jam:874
> error: intel-linux initialization: parameter 'version' inconsistent
> error: an explicit value was specified in an earlier initialization
> error: no value is specified now
>
> Any clue?
>
> Frédéric
>
> PS: the content of the automatically generated project-config.jam:
>
> import option ;
> import feature ;
>
> if ! intel-linux in [ feature.values <toolset> ]
> {
> using intel-linux ;
> }
>

For the moment, you can just kill the above initialization.
You have a user-config.jam that initializes the toolset, right?
The test really should be ! ( intel in [ feature.values <toolset> ] &&
linux in [ feature.values <toolset-intel:platform> ] )

> project : default-build <toolset>intel-linux ;
>
> libraries = --without-python ;
>
> option.set prefix : /soft/bal/usr/icc/boost ;
> option.set exec-prefix : /soft/bal/usr/icc/boost ;
> option.set libdir : /lib ;
> option.set includedir : /soft/bal/usr/icc/boost/include

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net