-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
improve -ffile-prefix-map
detection
#2517
improve -ffile-prefix-map
detection
#2517
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #2517 +/- ##
==========================================
+ Coverage 91.54% 91.56% +0.03%
==========================================
Files 183 183
Lines 7561 7560 -1
==========================================
+ Hits 6921 6922 +1
+ Misses 640 638 -2 |
I think it's a bug with CMake if they identify two different compilers, clang and clang-cl, as the same. |
This will need some fixes to the path normalization code in approval tests. |
the current implementation has two problems: * `clang-cl` does not know `-ffile-prefix-map`, but it identifies as "Clang", so the compiler will warn about an unknown compiler option * xcode's clang however does not identify as "Clang", but as "AppleClang". so `-ffile-prefix-map` is not passed although it is supported by the compiler
5a2e14f
to
2848c2c
Compare
do you have any pointers for the entry points to do these fixes? |
@timblechmann Approval tests run the
|
Description
the current implementation has two problems:
clang-cl
does not know-ffile-prefix-map
, but it identifies as "Clang", so the compiler will warn about an unknown compiler option-ffile-prefix-map
is not passed although it is supported by the compiler