[Openmp-commits] [PATCH] D89974: [driver][CUDA] Use CMake's FindCUDA as default --cuda-path.
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 22 12:18:17 PDT 2020
Hahnfeld added a comment.
In D89974#2348176 <https://reviews.llvm.org/D89974#2348176>, @tra wrote:
> CUDA path is sort of a global configuration parameter for all CUDA compilations. Perhaps we should consider allowing the user to specify a CUDA search path candidate via environment variable. This should allow transparently overriding preferred CUDA path without having to adjust all builds. I can't say I like it, but it seems to be the least bad way (that I can think of ATM) to address the dependency on something that only the end user would know for sure.
Don't we already have this via `PATH`? At least that was my motivation back then and it worked without problems.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89974/new/
https://reviews.llvm.org/D89974
More information about the Openmp-commits
mailing list