Open MarcusDunn opened 6 months ago
The env vars CC and CXX can be set to point to C and c++ compilers respectively, I'd like to be able to set the nvcc executable in a similar way.
CC
CXX
nvcc
CMake uses CUDACXX, which seems reasonable enough and would work for my usecase. I currently just modify PATH.
CUDACXX
PATH
Somthing analogous to CFLAGS and CXXFLAGS for Cuda would also be nice for completions sake, but I have not found a need for it.
CFLAGS
CXXFLAGS
I could probably implement and document this myself if this feature is in scope for the project.
I will accept a PR to add this, the env is documented in src/lib.rs
The env vars
CC
andCXX
can be set to point to C and c++ compilers respectively, I'd like to be able to set thenvcc
executable in a similar way.CMake uses
CUDACXX
, which seems reasonable enough and would work for my usecase. I currently just modifyPATH
.Somthing analogous to
CFLAGS
andCXXFLAGS
for Cuda would also be nice for completions sake, but I have not found a need for it.I could probably implement and document this myself if this feature is in scope for the project.