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
Fix: handle compiler flags for Intel C++ (AutoToolsBuildEnvironment, Meson) #6819
Conversation
39a7428
to
c6bc503
Compare
@@ -100,8 +100,8 @@ def gcc_test(self): | |||
settings.build_type = "Release" | |||
gcc = GCCGenerator(conan_file) | |||
# GCC generator ignores the compiler setting, it is always gcc |
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.
I don't know what's the story behind of this, but it's basically:
- useless
- incorrect
386904a
to
7f37807
Compare
Signed-off-by: SSE4 <tomskside@gmail.com>
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.
Thanks for all these changes, not only a new feature but a nice refactor around many functions. I think it is a big leap forward. Nevertheless, for the future, as a general rule, I'd prefer to review 4 PRs that to have here unrelated changes... what if we need to rollback some of these changes? 😮
🎉
related: #5699
this PR adds handling of compiler flags (e.g. PIC, arch, etc.) for Intel C++ compiler.
since for Intel C++ compiler flags are different for various compiler bases, I have changed most of the internal interfaces in compiler_flags module to accept settings object.
this should allow more flexibility.
this mostly impacts the
AutoToolsBuildEnvironmentHelper
, but also few generators and other build helpers using the compiler_flags functions.locally tested on a few recipes: libiconv, libxml2, OpenSSL
Changelog: Fix: Handle compiler flags for Intel C++ (AutoToolsBuildEnvironment, Meson).
Docs: omit
develop
branch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.