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
Describe the bug
Due to adding the /MP option to MSVC like compilers, benchmark doesn't build on clang-cl or icx-cl as they don't handle it in any way, and will throw an unused command line option warning. Due to -Werror this will cause the compilation to fail.
System
Which OS, compiler, and compiler version are you using:
Expected behavior
Builds with no modification to cmakelists (removing MP solves it).
The solution would be checking if it is clang, and if so omitting /MP. Not sure how to check for icx.
Screenshots
Additional context
Also should affect icx-cl, as it is based on clang.
The text was updated successfully, but these errors were encountered:
Describe the bug
Due to adding the /MP option to MSVC like compilers, benchmark doesn't build on clang-cl or icx-cl as they don't handle it in any way, and will throw an unused command line option warning. Due to -Werror this will cause the compilation to fail.
System
Which OS, compiler, and compiler version are you using:
To reproduce
Steps to reproduce the behavior:
Expected behavior
Builds with no modification to cmakelists (removing MP solves it).
The solution would be checking if it is clang, and if so omitting /MP. Not sure how to check for icx.
Screenshots
Additional context
Also should affect icx-cl, as it is based on clang.
The text was updated successfully, but these errors were encountered: