Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/nccl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Luehr <nluehr@nvidia.com>2016-04-21 23:25:18 +0300
committerNathan Luehr <nluehr@nvidia.com>2016-04-21 23:25:18 +0300
commit658aca1469532a09fc265419a6d300f673911b4b (patch)
treebcd9b08a7d9045dfa1d600696e7095ff6a44e7a6 /Makefile
parent03df4c77594bb37ab39323412b98123ddada1804 (diff)
parente30bf9598919787b2c851158f1e2e1ad4d4c2432 (diff)
Merge pull request #17 from Hopobcn/master
Enable compilation with specific g++
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dee3f80..0e49c31 100644
--- a/Makefile
+++ b/Makefile
@@ -40,10 +40,10 @@ BUILDDIR := build
NVCC := $(CUDA_HOME)/bin/nvcc
-GPP := g++
+GPP ?= g++
CPPFLAGS := -I$(CUDA_HOME)/include
CXXFLAGS := -O3 -fPIC -fvisibility=hidden
-NVCUFLAGS := $(CUDACODE) -O3 -lineinfo -std=c++11 -maxrregcount 96
+NVCUFLAGS := $(CUDACODE) -O3 -lineinfo -std=c++11 -maxrregcount 96 -ccbin=${GPP}
ifneq ($(VERBOSE), 0)
NVCUFLAGS += -Xptxas -v -Xcompiler -Wall,-Wextra