Boost logo

Boost-Build :

From: Boaz Barnea MTH (bbarnea_at_[hidden])
Date: 2021-03-31 05:08:01


Thanks for your response Edward.
 
Should I just add it to the user-config.jam? (and edit paths etc..)

Regards,
Boaz

-----Original Message-----
From: Boost-build [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Edward Diener via Boost-build
Sent: Tuesday, March 30, 2021 9:27 PM
To: boost-build_at_[hidden]
Cc: Edward Dienerþ <eldiener_at_[hidden]>
Subject: Re: [Boost-build] building boost with new oneAPI intel compiler

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

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

Default Profile

*********************************************************************************************** Please consider the environment before printing this email ! The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. Visit us at: www.iai.co.il


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