-
Notifications
You must be signed in to change notification settings - Fork 112
Description
Is your feature request related to a problem? Please describe.
MacPorts sets environment variables like CC and CXX and PREFIX, and if you have it installed and then try to do a conda-based install, the build system will pick up those variables and try to use the MacPorts compilers (and installation prefix! at least for some codes) instead of the conda ones.
Describe the solution you'd like
I'd like for ./setup to detect this situation, then ignore (unset locally) the environment variables, and print a warning to the user that it's doing that. Ideally, there'd still be a way to override things just in case.
Describe alternatives you've considered
Tell individual users to unset those variables by hand, which I've done a few times now but which doesn't scale.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status