-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[question] Should CCI recipes begin to support the "new" msvc compiler in settings? #6155
Comments
Yes ❤️ I'd love this feature! |
Hi! You all know that my thought is that if something is not tested in the CI, it might eventually become broken. On the other hand, we all really appreciate the efforts to support more configurations in recipes (thanks for all those iOS -related fixes) and we will really like to push new configurations... but we need to keep the budget under control. On our plans, we would like first to remove some configurations for technical reasons (read latest comments here: #4761 (comment)) and probably some others if they are not being requested (@danimtb will have numbers soon). Although we've always thought about iOS, Android,... it is very true that |
Would it be easier to close/link these issues and have a GitHub discussion thread(s) about this topic? I am not sure it appears to the dame audience but it might be useful |
until we have usage stats for the most requesting packages, there are no plans to add new compilers, architectures, operation systems, etc. |
Since the Conan It would also be possible to add the compiler version of VS 2022 only as |
What will clang-cl integration look like? So far I don't see any way to use clang-cl as a standalone compiler only in conjunction with "Visual Studio" one. |
When we add a new configuration, we don't do anything special. ConanCenter is designed to work with Conan defaults, so whatever we do it should work out-of-the-box with it. We would just define the profile for Regarding recipes, whenever we add a new configuration we need to do it very carefully. Many recipes are not prepared for that new configuration and they need to be fixed. So we need to start adding that new configuration taking into account the order of dependencies for the full graph. It is not easy. It can take several weeks or more if many recipes need to be adapted. |
If you plan to add VS2022 only as msvc (see #6155 (comment)), then it must also be possible to define clang_cl as a standalone compiler. Or there should be a possibility to define compiler as clang and and then use a CL driver. |
Now that VS 2022 has been released, and together with the help of epochs it should take so long to add this new compiler. Conan uses |
I have only one concern, is msvc versionning stable now in conan client (I'm still confused by the last change: 193 for cl 19.30 😕)? We'll have to carefully set
|
no, it's not stable,
I agree, table is extremely useful. maybe I'll create a PR to docs. |
Some consumers might want to use
msvc
instead ofVisual Studio
in their profiles, and I guess many CCI recipes break (missing system libs, wrong check of runtime).Maybe we should start to:
self.settings.compiler == "Visual Studio"
byself.settings.compiler in ["Visual Studio", "msvc"]
compiler.version
if it's msvc (not the same versionning than Visual Studio)settings.runtime
is split insettings.runtime
andsettings.runtime_type
The text was updated successfully, but these errors were encountered: