|
Boost-Build : |
Subject: Re: [Boost-build] Building boost with Intel icpc on Linux Mint (Ubuntu 14.04)
From: Blower, Melanie (melanie.blower_at_[hidden])
Date: 2016-01-06 12:55:12
There are directions for how to build boost with the Intel compiler on Intel's website, here: https://software.intel.com/en-us/articles/building-boost-with-intel-c-compiler-150
The version numbers are out-of-date but everything else looks accurate.
You don't need a bjam as prerequisite, the boost build will create and use its own. You can build boost just your basic system tools and the boost tarball. In fact a gcc-built boost library should be compatible with the Intel compiler.
Good luck, I'll go follow these directions myself. Let me know if you run into a problems.
Regards, Melanie
-----Original Message-----
From: Boost-build [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Andreas Delleske
Sent: Monday, January 04, 2016 9:19 AM
To: Boost.Build developer's and user's list
Subject: [Boost-build] Building boost with Intel icpc on Linux Mint (Ubuntu 14.04)
Dear list,
I am still having trouble to understand the different steps to building boost, but I am willing to take as much time and effort as needed.
As far as I understand, I'll have to "produce" an installer called "b2"
first. At the end, I will have to compile boost with an Intel 2016 compiler, but I've heard that in order to "make" the b2, gcc can be used.
Q1. Is that correct?
I do have "bjam" installed
boss boost_1_60_0 # which bjam
/usr/bin/bjam
but bootstrap.sh does not seem to be very impressed when I offer that.
Q2. Can I use a local bjam at all?
By the way: On page
http://www.boost.org/doc/libs/1_60_0/more/getting_started/unix-variants.html
- the link within "If you previously chose a toolset for the purposes of building b2, you should assume it won't work and instead choose newly from the table below" that points to "building b2" is broken and complains about too many or wrong redirections.
Q3. I am also wondering: In the table right below these notes, a toolset name like "intel" is given, while I always had to use "intel-linux".
What is the difference, when do I need which?
So -
I have boost unpacked into /opt/boost/1.60.0/boost_1.60.0 - my working directory at the moment.
So I start with
# ./bootstrap.sh --with-toolset=gcc --prefix=/opt/boost/1.60.0/intel-2016
I'm not sure if I have to specify the what I think should be the final destination for the boost files already here.
BTW: If I try to use
# ./bootstrap.sh --with-toolset=intel-linux
--prefix=/opt/boost/1.60.0/intel-2016
I get a lot of errors. Other mailing list readers here suggested that has to do with a "compatibility mode" of the Intel compiler for a (very
old) gcc 3.2. Might be - I don't have gcc 3.2, my gcc is 4.8.4 comes with Ubuntu 14.04 that is the base of Linux Mint 17.3 which I use
I'm with the Intel guys to check that out already. It's going to be a looong week.
Before I continue: I bet you see already where I'm wrong, please enlighten me. The documentation seems to be very terse and I seem to be missing a lot of the prerequisites that have to be installed in my brain first before I can start the installation of the software on our machines.
Cheers
Andreas
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk