[Openmp-commits] [PATCH] D89974: [driver][CUDA] Use CMake's FindCUDA as default --cuda-path.

Artem Belevich via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 22 13:23:18 PDT 2020


tra added a comment.

In D89974#2348310 <https://reviews.llvm.org/D89974#2348310>, @rnk wrote:

> Lastly, if those things don't work, there is the `CCC_OVERRIDE_OPTIONS` environment variable, so the user always has that escape hatch. A separate environment variable would also be fine. It reminds me of `PYTHON_HOME`, with similar drawbacks.

Oh. I didn't know about `CCC_OVERRIDE_OPTIONS`.  It appears that does a bit more that just adding extra options. Is it documented somewhere?

Also, clang appears to use SDKROOT environment for specifying XCode path on MacOs, presumably for the reasons similar to what we're dealing with here with CUDA.


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