summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-19 12:13:35 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-19 12:13:35 +0100
commitbf5475783f2a1bdcddf8426fea136f3b09c61859 (patch)
tree567e73bf700d2facfa793c4b6b3ec630e90b7ea6 /build
parentca1a9aaf9435d13cda5b33faa9084e03a42457cb (diff)
downloadastra-bf5475783f2a1bdcddf8426fea136f3b09c61859.tar.gz
astra-bf5475783f2a1bdcddf8426fea136f3b09c61859.tar.bz2
astra-bf5475783f2a1bdcddf8426fea136f3b09c61859.tar.xz
astra-bf5475783f2a1bdcddf8426fea136f3b09c61859.zip
Add small portability comment about CUDA 5.5
Diffstat (limited to 'build')
-rw-r--r--build/linux/Makefile.in1
1 files changed, 1 insertions, 0 deletions
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