Closed carterbox closed 1 year ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
@conda-forge-admin, please rerender
Thanks Daniel! 🙏
Had a question above 🙂
I don't think we should introduce new env variables into the mix. Better to use NVCC_PREPEND_FLAGS
.
I tested this on a local build of the magma-feedstock. It seems to work, but silently. i.e. The args don't appear in the build logs.
The args don't appear in the build logs.
Maybe we should considering adding set -x
at the top and set +x
at the end (since it is sourced)?
This is the one, people. Let's get this patch out before the CUDA 12 migration is too far along. 😆
Thanks Daniel for the PR and everyone for reviewing! 🙏
Let's get this change out. We can follow up on anything else separately
I don't think we should introduce new env variables into the mix. Better to use
NVCC_PREPEND_FLAGS
.
I wanted to use a different env variable and inject into nvcc.profile
so that CMake would be able to use these include and link directories as they would be in the INCLUDES
and LIBRARIES
output of nvcc ( https://gitlab.kitware.com/cmake/cmake/-/issues/24915 ). By using NVCC_PREPEND_FLAGS
those directories will not be considered by CMake as that is a user flag and not part of the compiler implicit information.
Adds the host requirements prefix include-paths and linking-search-paths to the NVCC_PREPEND_FLAGS for conda-build (because those two prefixes are separate) by using an activation script only when conda-build is active.
Outside of the conda-build context, these paths are not needed because nvcc would share a prefix with all the cuda libs.
I didn't do anything for Windows because it's skipped.
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)Closes #18 Closes https://github.com/conda-forge/libcublas-feedstock/issues/11
Requires https://github.com/conda-forge/cuda-nvcc-impl-feedstock/pull/2