You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler gives warnings and errors and installation of a few files fails.
A few example errors are shown
intel-linux.compile.c++ bin.v2/libs/log/build/intel-linux-linux/release/x86_64/cxxstd-17-iso/threading-multi/visibility-hidden/trivial.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
...skipped <pbin.v2/libs/math/build/intel-linux-linux/release/x86_64/cxxstd-17-iso/threading-multi/visibility-hidden>acoshl.o for lack of <pbin.v2/libs/math/build/intel-linux-linux/release/x86_64/cxxstd-17-iso/threading-multi/visibility-hidden>pch.pchi...
-ip is not supported anymore
-use-pch should be -include-pch or -pch-use
pch-create should be -Xclang -emit-pch -o
These have been fixed in spack (patch). I've been meaning to push them upstream, but I guess now is a good time. I can submit a PR here, unless you're working on one.
the Fortran compiler is called ifx, not ifort
Huh. I don't know why that hasn't been encountered in spack builds. As of 4e62a3e , the ony Fortran file I can find is ./numeric/odeint/performance/fortran_lorenz.f90. Clearly, it's needed. I'll add that to my TODO for spack.
I'm reposting the issue from bfgroup/b2#413 here because the lack of response.
Environment and version details
b2 --debug-configuration
in your project.not added because it uses gcc.
Brief problem description
Options defined in https://github.com/bfgroup/b2/blob/3c0f5630157c3db1025b54c2f6da25cf234b8e20/src/tools/intel-linux.jam are incompatible with LLVM-based Intel compilers:
-ip
is not supported anymore-use-pch
should be-include-pch
or-pch-use
pch-create
should be-Xclang -emit-pch -o
(https://www.intel.com/content/www/us/en/developer/articles/technical/building-boost-with-oneapi.html)ifx
, notifort
Steps to reproduce the issue
Install Boost with
Actual behavior summary
The compiler gives warnings and errors and installation of a few files fails.
A few example errors are shown
Expected behavior summary
b2 should support the most recent Intel C++ compiler (
icpx
)The text was updated successfully, but these errors were encountered: