troubles building 1.39.0 with intel compiler under linux

Hi, 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 ; } 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 ;

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

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 ] )
I removed this test from project-config.jam and added a local user-config.jam with "using intel-linux ;" Combined with ./bjam --user-config=user-config.jam it worked. Thanks, Frédéric

Frédéric Bron wrote:
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 ] )
I removed this test from project-config.jam and added a local user-config.jam with "using intel-linux ;" Combined with ./bjam --user-config=user-config.jam it worked.
I've filed a bug to have this fixed for next release: https://svn.boost.org/trac/boost/ticket/3165 - Volodya
participants (3)
-
Frédéric Bron
-
Steven Watanabe
-
Vladimir Prus