-
Notifications
You must be signed in to change notification settings - Fork 200
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
[REVIEW] ENH Build with Ninja & Pass ccache variables to conda recipe #705
[REVIEW] ENH Build with Ninja & Pass ccache variables to conda recipe #705
Conversation
rerun tests |
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.
Question about configurability.
- CCACHE_DIR | ||
- CCACHE_NOHASHDIR | ||
- CCACHE_COMPILERCHECK | ||
- CMAKE_GENERATOR | ||
- CMAKE_C_COMPILER_LAUNCHER | ||
- CMAKE_CXX_COMPILER_LAUNCHER | ||
- CMAKE_CUDA_COMPILER_LAUNCHER |
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.
We should really make a rapids-build package or something similar that sets these via an activation script instead of passing all of these through the recipe, but we can do that in follow ups I suppose.
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'm not sure I understand what you mean. Are you talking about utilizing this: https://conda.io/projects/conda-build/en/latest/resources/activate-scripts.html
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.
Yes exactly, we could have a package with an activate
script that sets all of these environment variables as expected and then depend on the package in the build
section or something similar.
@gpucibot merge |
@gpucibot merge |
Changes:
ninja
build systemccache
environment variables to the conda buildThese changes are required to allow
ccache
to function correctly and have a high cache hitrate during builds.