Re: building boost with new oneAPI intel compiler

Edward Diener via Boost-build <[email protected]> Tue, 30 Mar 2021 14:27:17 -0400
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
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 =A0--boost-dir=3D<target directory> --build-type=3Dcomplete link=3Dsha=
red =

> runtime-link=3Dshared toolset=3Dintel-2021.1-vc14.1
> =

> it fails also if I try for toolset intel , intel-2021.1, =

> intel-2021.1-vc14.2 etc=85.
> =

> gives me:
> =

> *** argument error
> =

> * rule path.make ( native )
> =

> * called with: ( )
> =

> * missing argument native
> =

> =85=85=85.\path.jam:518:see definition of rule 'path.make' being called
> =

> There is no path problem, for example when I run toolset=3Dmsvc, the =

> compilation succeeds=85
> =

> 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"
     ;


_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/b=
oost-build