-
Notifications
You must be signed in to change notification settings - Fork 43
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
ctng-compilers-activation-feedstock scripts shouldn't set HOST #151
Comments
More discussion at conda/conda#7031 I think we definitely regret that overlap. Unfortunately, it's now used in many recipes. It is not merely a matter of tweaking the compiler activation scripts. I'd like to change it, but we definitely can't undertake the recipe fixes right now. |
I definitely understand the cost of fixing something like this. Since I'm not concerned with being able to build your recipes (most of the time), I'll experiment with having an extra activation script that resets HOST back to hostname (or do it in the script all of my teammates use to activate the one conda environment they typically use). Thanks for the pointer to conda/conda/#7031. Let us know if there's anything we can do to help fix this. |
I personally think we could change it, just need to coordinate that with everyone and I think we probably should. |
A good start would be to define the new variables, so people can start switching over their recipes as soon as possible as part of a deprecation period for |
Sooo. Trying to build strace, I realized how your recipes are using
I was confused. Looking at the gcc activation script instead of binutils, I see what I remembered and we are setting Could we:
Having the Also, I've had users ask that we have the behavior of |
Define new CONDA_TOOLCHAIN_HOST variable that is set the way HOST was previously set. HOST is now set only when CONDA_BUILD or CONDA_ACTIVATION_SET_HOST is set to 1 fixes AnacondaRecipes#151
@msarahan and @mingwandroid, we're starting to use the compilers built by you guys instead of using our own recipe. One really annoying thing that I've noticed is that activating an environment with your activate scripts sets HOST to the value of -dumpmachine. For anyone who works in a multihost environment and has '%m' in their PS1 prompt (at least in zsh), it changes the prompt to have the contents of -dumpmachine.
Is there a reason why you need to use HOST in the environment? Could you use some other variablename?
I guess BASH uses HOSTNAME for this instead, so maybe you guys haven't seen this?
The text was updated successfully, but these errors were encountered: