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

Set CPATH, LIBRARY_PATH pointing to PREFIX in [unix] compiler environments #88

Open
anton-malakhov opened this issue Sep 20, 2018 · 0 comments

Comments

@anton-malakhov
Copy link

Compiler environments set CPPFLAGS and LDFLAGS with the include and library directory keys pointing to conda environment directories. However, some simple and non-standard makefiles and build scripts might not take these variables into account, which breaks virtualization of the compiler environment. However, there is another way to supply conda environment locations to the compiler - thorugh CPATH and LIBRARY_PATH environment variables which will be respected by the compilers directly, without any mediating script.

I have already started implementing this idea for [win] since it was not aligned with [unix] compilers in their ability to "virtualize" build environment for a compiler: #86

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

No branches or pull requests

1 participant