Building Boost Libraries With Intel Compiler

前端 未结 3 908
太阳男子
太阳男子 2021-01-06 11:22

I have installed Intel Parallel Studio XE 2013 in addition to Visual Studio 2012 on a 32bit Windows 7 machine. I have tried to build Boost 1.53 with Intel compiler by follow

相关标签:
3条回答
  • 2021-01-06 11:28

    The accepted answer to the topic in this link solved a similar problem for me, which pertained to Intel Compiler 17.0 Update 5 and Visual Studio 17.

    You need to change a couple of lines in tools/build/src/tools/intel-win.jam

    Note, the build proceeds with a number of warnings.

    0 讨论(0)
  • 2021-01-06 11:36

    Run "./bootstrap.sh --with-toolset=intel-linux" and "b2 install" will use intel-linux.compile.c++ (boost_1_64_0).

    0 讨论(0)
  • 2021-01-06 11:50

    After an intensive search, finally I have found the solution. As explained in this link, there are two patches to apply to boost folder:

    1. intel-win.jam file in [boost-source-directory]\tools\build\v2\tools needs to be replaced by the file given in the link.

    2. project-config.jam needs to be replaced by intel-user-config.jam given in the link and build command should be changed to:

    b2 --user-config=intel-user-config.jam --toolset=intel

    Note that intel compiler version number may need to be modified according to your existing ICC installation in the file intel-user-config.jam.

    0 讨论(0)
提交回复
热议问题