Comments (5)
I personally think we could change it, just need to coordinate that with everyone and I think we probably should.
from aggregate.
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.
from aggregate.
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.
from aggregate.
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 HOST
.
from aggregate.
Sooo. Trying to build strace, I realized how your recipes are using HOST
and BUILD
to hold the values that you have to pass through to configure --host=$HOST --build=$BUILD
in order for autoconf to understand the pseudo-cross nature of the toolchains.
At one point during the early days of conda-build 3, you guys had variables that were set only when CONDA_BUILD
was set in the environment. It looks like you've moved away from that and you're setting rpath all the time now (which is what I wanted, thanks).
I was confused. Looking at the gcc activation script instead of binutils, I see what I remembered and we are setting CFLAGS
and LDFLAGS
differently for CONDA_BUILD
.
Could we:
- Define the new variables.
- Guard the setting of
HOST
with something like[[ "$CONDA_TOOLCHAIN_SET_HOST" = 1 || "$CONDA_BUILD" = 1 ]]
Having the CONDA_TOOLCHAIN_SET_HOST
variable would let any users that have come to depend on this behavior outside of conda-build keep getting the behavior and conda-build could still have the behavior until everyone's recipes are cleaned up.
Also, I've had users ask that we have the behavior of CONDA_BUILD
in the gcc activation scripts (i.e. that we have the conda include path and rpath by default. I could get that by setting CONDA_BUILD
in our environment but I'd rather have a CONDA_TOOLCHAIN_USE_CONDA_INCLUDE_AND_RPATH
variable that targets that specific behavior.
from aggregate.
Related Issues (20)
- CDT for libudev HOT 1
- CDT for librdmacm HOT 1
- CDT for libnl HOT 4
- CDT for libibverbs HOT 1
- Send compiler-rt patches upstream HOT 3
- CuPy 6.0.0rc1 HOT 1
- CuPy 6.0.0 released HOT 1
- posix_ipc does not have py37 support HOT 1
- pyarrow update? HOT 1
- Add Scapy HOT 6
- Expand VS search paths for old toolchains installed by new VS
- Add `run_exports` to `cudnn` HOT 6
- vs2015 runtime finds unusable SDK version HOT 2
- Add pathy
- Add stone
- Powershell shortcut easily hits Windows string length limit HOT 1
- CDT packages are broken for s390x HOT 4
- remove conda-repo-cli feedstock
- Mastodon should be added? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aggregate.