Skip to content
Snippets Groups Projects
Commit ca27fded authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

BF: Use ${NVCC}, rather than nvcc

parent c95472bb
No related branches found
No related tags found
1 merge request!16Rf/default cuda home
...@@ -131,7 +131,7 @@ ifneq ($(shell which nvcc), ) ...@@ -131,7 +131,7 @@ ifneq ($(shell which nvcc), )
# will take precedence over these definitions # will take precedence over these definitions
# here when they are set). # here when they are set).
NVCC ?= nvcc NVCC ?= nvcc
CUDA_VER ?= $(shell nvcc --version | grep -Po "release \K[0-9\.]+") CUDA_VER ?= $(shell ${NVCC} --version | grep -Po "release \K[0-9\.]+")
CUDA_HOME ?= /usr/local/cuda-${CUDA_VER} CUDA_HOME ?= /usr/local/cuda-${CUDA_VER}
GENCODEFLAGS ?= $(shell ${FSLCONFDIR}/supportedGencodes.sh ${CUDA_VER}) GENCODEFLAGS ?= $(shell ${FSLCONFDIR}/supportedGencodes.sh ${CUDA_VER})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment