Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Intel oneAPI on Linux #413

Open
3 tasks done
MarDiehl opened this issue Sep 1, 2024 · 0 comments
Open
3 tasks done

Add support for Intel oneAPI on Linux #413

MarDiehl opened this issue Sep 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MarDiehl
Copy link

MarDiehl commented Sep 1, 2024

Make sure you completed the following tasks

Environment and version details

  • Operating System+version: Arch Linux
  • Compiler+version: Intel oneAPI 2024.2.1
  • Shell: zsh
  • B2 Version: B2 5.2.1 (OS=LINUX, jobs=8)
  • B2 Configuration: Output of 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:

Steps to reproduce the issue

Install Boost with

./bootstrap.sh --prefix=/tmp/boost
./b2 install --without-python --without-graph_parallel --without-mpi cxxstd=17  toolset=intel-linux  link=shared address-model=64 architecture=x86 runtime-link=shared

Actual behavior summary

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...
...failed updating 1 target...
   intel-linux.compile.c++.pch bin.v2/libs/math/build/intel-linux-linux/release/x86_64/cxxstd-17-iso/threading-multi/visibility-hidden/pch.pchi

Expected behavior summary

b2 should support the most recent Intel C++ compiler (icpx)

@MarDiehl MarDiehl added the bug Something isn't working label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant