Skip to content
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

BugFix: MesonToolchain does not pick up CC/CXX from build requirements (in build profile) #8362

Closed
wants to merge 3 commits into from

Conversation

SSE4
Copy link
Contributor

@SSE4 SSE4 commented Jan 19, 2021

closes: #8311
on top of #8353

Changelog: BugFix: MesonToolchain does not pick up CC/CXX from build requirements (in build profile)
Docs: omit

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the 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.

Signed-off-by: SSE4 <tomskside@gmail.com>
Signed-off-by: SSE4 <tomskside@gmail.com>
Signed-off-by: SSE4 <tomskside@gmail.com>
@@ -71,7 +73,9 @@ def __init__(self, conanfile, env=os.environ):
self._shared = self._conanfile.options.get_safe("shared")
self._fpic = self._conanfile.options.get_safe("fPIC")
self.definitions = dict()
self._env = env
self.preprocessor_definitions = dict()
self._env = env.copy()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to wait until we have the new env management there: #8534, because partially providing it, then breaking could be probably more annoying that having to wait.

@lasote
Copy link
Contributor

lasote commented Jun 22, 2021

I've updated https://github.com/conan-io/conan/pull/8353/files fixing this with the new environment model.

@lasote lasote closed this Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] MesonToolchain does not pick up CC/CXX from build requirements (in build profile)
3 participants