Skip to content

Commit

Permalink
keep setting CUDA_TOOLKIT_ROOT_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 1, 2025
1 parent 9d80394 commit e2c551d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,8 @@ elif [[ ${cuda_compiler_version} != "None" ]]; then
# all of them.
export CUDAToolkit_BIN_DIR=${BUILD_PREFIX}/bin
export CUDAToolkit_ROOT_DIR=${PREFIX}
if [[ "${target_platform}" != "${build_platform}" ]]; then
export CUDAToolkit_ROOT=${PREFIX}
fi
# for CUPTI
export CUDA_TOOLKIT_ROOT_DIR=${PREFIX}
export CUDAToolkit_ROOT=${PREFIX}
case ${target_platform} in
linux-64)
Expand Down

0 comments on commit e2c551d

Please sign in to comment.