-
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
boost: honor tools.build:compiler_executables
config & env vars from [buildenv]
#14776
boost: honor tools.build:compiler_executables
config & env vars from [buildenv]
#14776
Conversation
I detected other pull requests that are modifying boost/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
b56e227
to
3a971bc
Compare
tools.build:compiler_executables
configtools.build:compiler_executables
config & env vars from [buildenv]
3a971bc
to
0a72b33
Compare
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.
Awesome, thanks!
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 0a72b33boost/1.80.0
boost/1.78.0
boost/1.76.0
boost/1.79.0
boost/1.75.0
boost/1.74.0
boost/1.73.0
boost/1.72.0
boost/1.77.0
boost/1.70.0
boost/1.71.0
|
@@ -1161,7 +1161,8 @@ def _ranlib(self): | |||
|
|||
@property | |||
def _cxx(self): | |||
cxx = self.buildenv.vars(self).get("CXX") | |||
compilers_by_conf = self.conf.get("tools.build:compiler_executables", default={}, check_type=dict) | |||
cxx = compilers_by_conf.get("cpp") or VirtualBuildEnv(self).vars().get("CXX") |
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 am not sure the 2.0 stuff should move forward with env vars or us the compilers from conf 🤔 but I think we can wait to see how that recommendation falls out
This matches with the explanation I got about how this feature works
Hum, CI was green for 11 days, but now it's red without useful feedback? I guess it's a consequence of #14888 merge in the meantime? |
This comment has been minimized.
This comment has been minimized.
Conan v1 pipelineAll green in build 6 (
Conan v2 pipeline (informative, not required for merge)Failure in build 4 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Hooks produced the following warnings for commit a952484boost/1.79.0
boost/1.77.0
boost/1.75.0
boost/1.74.0
boost/1.73.0
boost/1.72.0
boost/1.71.0
boost/1.70.0
|
@prince-chrismc @jwillikers could you approve again please? Bot seems to be confused. |
…ig & env vars from `[buildenv]`
closes #14767
Honor
tools.build:compiler_executables
config introduced in conan 1.55.0, and properly listen env vars from profile[buildenv]
(self.buildenv
doesn't seem to be the correct attribute to listen).