File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ case "$CUDA_COMPILER" in
166166 ;;
167167 *clang*)
168168 CUDA_COMPUTE_ARGS="--cuda-gpu-arch=sm_30 --cuda-gpu-arch=sm_35"
169- CUDA_FLAGS+=" --cuda-path=$CUDA_INSTALL_PATH"
169+ CUDA_FLAGS="$CUDA_FLAGS --cuda-path=$CUDA_INSTALL_PATH"
170170 ;;
171171 *)
172172 AC_MSG_ERROR ( [ Unsupported cuda compiler $CUDA_COMPILER] )
@@ -186,7 +186,7 @@ AC_ARG_WITH(cuda-host-compiler,
186186if test "x${with_cuda_host_compiler}" != "x" ; then
187187 AC_CHECK_PROG ( [ cuda_host_cc] , [ ${with_cuda_host_compiler}] ,[ yes] )
188188 if test "x${cuda_host_cc}" = "xyes" -o -x "${with_cuda_host_compiler}"; then
189- CUDA_FLAGS+=" -ccbin ${with_cuda_host_compiler}"
189+ CUDA_FLAGS="$CUDA_FLAGS -ccbin ${with_cuda_host_compiler}"
190190 else
191191 AC_MSG_FAILURE ( [ Binary ${with_cuda_host_compiler} given as cuda host compiler, yet not found!] )
192192 fi
You can’t perform that action at this time.
0 commit comments