From bf5475783f2a1bdcddf8426fea136f3b09c61859 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 19 Jan 2017 12:13:35 +0100 Subject: Add small portability comment about CUDA 5.5 --- build/linux/Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'build') diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in index 5dfb75e..3894a8a 100644 --- a/build/linux/Makefile.in +++ b/build/linux/Makefile.in @@ -353,6 +353,7 @@ ifeq ($(gen_static_libs),yes) @$(NVCC) $(NVCCFLAGS) -c $(<) -o $*.o >/dev/null 2>&1 endif @# Generate a .d file, and change the target name in it from .o to .lo + @# CUDA 5.5's nvcc doesn't have the -MT option we would like to use. @$(NVCC) $(NVCCFLAGS) -M $(<) -odir $(*D) -o $(*D)/$(DEPDIR)/$(*F).d2 @sed '1s/\.o :/.lo :/' < $(*D)/$(DEPDIR)/$(*F).d2 > $(*D)/$(DEPDIR)/$(*F).d @rm -f $(*D)/$(DEPDIR)/$(*F).d2 -- cgit v1.2.3