We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f21dad + 87c9dc3 commit 0acb8dbCopy full SHA for 0acb8db
Makefile
@@ -272,7 +272,7 @@ endif
272
ifeq ($(OSX), 1)
273
CXX := /usr/bin/clang++
274
ifneq ($(CPU_ONLY), 1)
275
- CUDA_VERSION := $(shell $(CUDA_DIR)/bin/nvcc -V | grep -o 'release [0-9.]*' | grep -o '[0-9.]*')
+ CUDA_VERSION := $(shell $(CUDA_DIR)/bin/nvcc -V | grep -o 'release [0-9.]*' | tr -d '[a-z ]')
276
ifeq ($(shell echo | awk '{exit $(CUDA_VERSION) < 7.0;}'), 1)
277
CXXFLAGS += -stdlib=libstdc++
278
LINKFLAGS += -stdlib=libstdc++
0 commit comments