Boost logo

Boost-Build :

From: Edward Diener (eldiener_at_[hidden])
Date: 2021-03-30 18:27:17


On 3/30/2021 2:18 AM, Boaz Barnea MTH via Boost-build wrote:
> Hi,
>
> I am trying to compile the latest Boost libraries version 1.75 with the
> latest intel compiler. I have it installed on my Windows 10 computer
> along with Visual Studio 2019 enterprise edition.
>
> I try to run (after I created Boost.Build and added to the path)
>
> b2  --boost-dir=<target directory> --build-type=complete link=shared
> runtime-link=shared toolset=intel-2021.1-vc14.1
>
> it fails also if I try for toolset intel , intel-2021.1,
> intel-2021.1-vc14.2 etc….
>
> gives me:
>
> *** argument error
>
> * rule path.make ( native )
>
> * called with: ( )
>
> * missing argument native
>
> ……….\path.jam:518:see definition of rule 'path.make' being called
>
> There is no path problem, for example when I run toolset=msvc, the
> compilation succeeds…
>
> Any Idea?

The icl compiler in oneAPI is supported on Windows, but you need a
toolset definition for it. The new icx compiler is not supported yet
AFAIK, although Rene has said he will be working on it. My toolset looks
like:

using intel : 2021.1 :
     :
     <compatibility>vc14.2
     <root>"$(TSE_INTELWIN_DRIVE)/Utilities/Intel/oneAPI"
     <rewrite-setup-scripts>off
     <cxxflags>"/Qdiag-disable:2415,367,3280,177"
     <cxxflags>"/Zc:__cplusplus"
     ;


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