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.