building boost with new oneAPI intel compiler

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

building boost with new oneAPI intel compiler

Boost - Build mailing list

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?

 

Thanks,

Boaz

 

 

 

 

 

 

 

 

 

 



*********************************************************************************************** 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



_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: building boost with new oneAPI intel compiler

Boost - Build mailing list

What does your user-config.jam (or system config.jam or project config.jam) say about this compiler combination?

 

Paul

 

 

From: Boost-build <[hidden email]> On Behalf Of Boaz Barnea MTH via Boost-build
Sent: 30 March 2021 07:18
To: [hidden email]
Cc: Boaz Barnea MTH <[hidden email]>
Subject: [Boost-build] building boost with new oneAPI intel compiler

 

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?

 

Thanks,

Boaz

 

 

 

 

 

 

 

 

 

 

 

 
*********************************************************************************************** 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
 

 


_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: building boost with new oneAPI intel compiler

Boost - Build mailing list
In reply to this post by Boost - Build mailing list
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
Reply | Threaded
Open this post in threaded view
|

Re: building boost with new oneAPI intel compiler

Boost - Build mailing list
In reply to this post by Boost - Build mailing list

Thanks for the response Paul.

 

In both config.jam and user-config.jam I didn't see any compiler specific code

 

In project-config.jam I saw some cases regarding clang, intel and gcc, but on Darwin, linux, vxworks etc…

 

Nothing about intel on windows.

 

Maybe not supported yet because Boost 1.75 is from DEC/2020, and oneAPI from 2021?

 

Regards,

Boaz

 

From: Boost-build [mailto:[hidden email]] On Behalf Of Paul Bristow via Boost-build
Sent: Tuesday, March 30, 2021 6:47 PM
To: Boost.Build developer's and user's list <[hidden email]>
Cc: Paul Bristow <[hidden email]>
Subject: Re: [Boost-build] building boost with new oneAPI intel compiler

 

What does your user-config.jam (or system config.jam or project config.jam) say about this compiler combination?

 

Paul

 

 

From: Boost-build <[hidden email]> On Behalf Of Boaz Barnea MTH via Boost-build
Sent: 30 March 2021 07:18
To: [hidden email]
Cc: Boaz Barnea MTH <[hidden email]>
Subject: [Boost-build] building boost with new oneAPI intel compiler

 

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?

 

Thanks,

Boaz

 

 

 

 

 

 

 

 

 

 

 

 
*********************************************************************************************** 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
 

 

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



_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: building boost with new oneAPI intel compiler

Boost - Build mailing list
In reply to this post by Boost - Build mailing list
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:[hidden email]] On Behalf Of Edward Diener via Boost-build
Sent: Tuesday, March 30, 2021 9:27 PM
To: [hidden email]
Cc: Edward Diener‏ <[hidden email]>
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
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: building boost with new oneAPI intel compiler

Boost - Build mailing list
On 3/31/2021 1:08 AM, Boaz Barnea MTH via Boost-build wrote:
> Thanks for your response Edward.
>  
> Should I just add it to the user-config.jam? (and edit paths etc..)

Yes, go ahead. As I said it only supports the icl compiler, not the icx
compiler.

>
> Regards,
> Boaz
>
> -----Original Message-----
> From: Boost-build [mailto:[hidden email]] On Behalf Of Edward Diener via Boost-build
> Sent: Tuesday, March 30, 2021 9:27 PM
> To: [hidden email]
> Cc: Edward Diener‏ <[hidden email]>
> 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
> _______________________________________________
> Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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