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

MNT: Suppress stderr if nvcc is not found

parent 819ed326
No related branches found
No related tags found
1 merge request!40ENH: Auto-dependency generation support for CUDA files.
...@@ -176,7 +176,7 @@ endif ...@@ -176,7 +176,7 @@ endif
# CUDA projects. nvcc must be on the $PATH, or $NVCC must be set. # CUDA projects. nvcc must be on the $PATH, or $NVCC must be set.
# #
##################################################################### #####################################################################
NVCC ?= $(shell which nvcc) NVCC ?= $(shell which nvcc 2> /dev/null)
ifneq (${NVCC}, ) ifneq (${NVCC}, )
# NVCC, GENCODEFLAGS, NVCCFLAGS, NVCCLDFLAGS, # NVCC, GENCODEFLAGS, NVCCFLAGS, NVCCLDFLAGS,
......
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