Boost logo

Boost :

From: Alain O' Miniussi (alain.miniussi_at_[hidden])
Date: 2023-08-01 13:11:12


Hi,

I was able to build Boost and test Boost.MPI with oneAPI 2023.1.0. I just had to use the workaround mentioned in
https://www.intel.com/content/www/us/en/developer/articles/technical/building-boost-with-oneapi.html
for PCH

It is still generating a lot of warning for unknown compiler option but I do not know enough about bjam to add a new oneAPI toolset.

Thanks

----- On Jul 31, 2023, at 10:13 PM, Andrey Semashev via Boost boost_at_[hidden] wrote:

> On 7/31/23 19:49, Alain O' Miniussi via Boost wrote:
>> Hi,
>>
>> I'm trying to build master with oneAPI 2023.1.0's icpx.
>> So far I am mostly getting warnings for unknown/unsupported options like:
>> icpx: warning:
>> -Wl,-rpath,/data/spack/opt/spack/linux-centos7-x86_64/gcc-12.2.0/intel-oneapi-mkl-2023.1.0-x6dxpakvvn4sntkmbzqvtjdndc3g5ttn/mkl/2023.1.0/lib/intel64:
>> 'linker' input unused [-Wunused-command-line-argument]
>> intel-linux.compile.c++
>> bin.v2/libs/log/build/intel-linux-2023.1.0/release/cxxstd-17-iso/threading-multi/visibility-hidden/setup/matches_relation_factory.o
>> icpx: command line warning #10430: Unsupported command line options encountered
>> These options as listed are not supported.
>> For more information, use '-qnextgen-diag'.
>> option list:
>> -ip
>> -wd177,780,2196,1782,193,304,981,1418,411,734,279
>>
>> Is oneAPI supported ?
>
> No, not on Boost.Log side. I don't test Intel compilers, and the -wd*
> options you see in the error message are relevant to the older versions
> of Intel compiler (I suppose, before it switched to LLVM internally).
> I'm not sure where -ip comes from, probably from Boost.Build.
>
> If we are to support the newer generation of Intel compiler, and it is
> incompatible with the older one in its command line options, then it
> should be implemented as a separate Boost.Build toolset. AFAIK, this is
> not done currently.
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk