Skip to content

Commit e98ef24

Browse files
authored
Merge pull request ROCm#135 from aavbsouza/fix_nvcc_variable_handling
fix handling of variable NVCC.
2 parents e76e36e + 7ccda3c commit e98ef24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DEBUG ?= 0
1111

1212
CUDA_LIB ?= $(CUDA_HOME)/lib64
1313
CUDA_INC ?= $(CUDA_HOME)/include
14-
NVCC = $(CUDA_HOME)/bin/nvcc
14+
NVCC ?= $(CUDA_HOME)/bin/nvcc
1515
CUDARTLIB ?= cudart
1616

1717
CUDA_VERSION = $(strip $(shell which $(NVCC) >/dev/null && $(NVCC) --version | grep release | sed 's/.*release //' | sed 's/\,.*//'))

0 commit comments

Comments
 (0)