If addressing me, please include my email address to make sure it ends
up in my inbox. Otherwise messages sent only to the mailing lists get
filtered into folders that I may read / scroll over from time to time.
I’m re-reading your instructions and now am wondering what env vars related to CUDA Toolkit installations are required when building Clang?
None that I'm aware of, at least I didn't set any in addition to those
by our 'module'. IIRC Clang detects CUDA installations by looking for
the first 'ptxas' in PATH. Unless that changed, make sure that clang -v
prints the right installation and you should be good.
Jonas,
Could you tell me how the module file is written, removing
system-specific information, but
leaving relevant for the CUDA Toolkit installation? The path to binary
needs to be in PATH,
and libraries in LD_LIBRARY_PATH I suppose, but not sure if there
needs to be other than that.
Jonas,
Could you tell me how the module file is written, removing
system-specific information, but
leaving relevant for the CUDA Toolkit installation? The path to binary
needs to be in PATH,
and libraries in LD_LIBRARY_PATH I suppose, but not sure if there
needs to be other than that.
Yes, that should be the relevant ones (plus maybe CPATH, but CMake
should add the include directory itself) - as I said nothing special.
The other variables are not actually required, but are set for user
convenience like CUDA_ROOT.