-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Use CMAKE_C_SIMULATE_ID when available to determine compiler #8389
Conversation
Signed-off-by: Daan Timmer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@yanesca what else needs to happen to get this merged? |
@daantimmer it needs approval from a second reviewer. |
Is that a case of "hope some other reviewer sees this". Or do we have to assign/poke someone specific? |
Do we want to backport this to 3.6? Letting |
Not anymore, @tom-daubney-arm will be reviewing it.
Yes, we do (when I originally reviewed this, we didn't have 3.6). |
I've updated the description with the backport requirements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - awaiting 3.6 BP
I am a little concerned that the documentation of The documentation says
Whereas my understanding of the above (and the behaviour of clang-cl on Windows under VS) is that it would be the command-line interface of the compiler. @paul-elliott-arm Do you have any knowledge here? |
I have not seen this used before, but this seems fine to me, albeit as you say, a little confusing in the way they word things. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making it clear I am happy with this, and we just need 3.6 backport
Description
Enable mbed-tls to be build using cmake using clang-cl. Clang-cl is used when cross compiling from Linux to target Windows using xwin.
Additionaly removed a superfluous check on the clang-compiler ID.
Fixes #8387
PR checklist
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.