[cig-commits] r18920 - short/3D/PyLith/trunk/libsrc/pylith

willic3 at geodynamics.org willic3 at geodynamics.org
Fri Sep 16 10:05:51 PDT 2011


Author: willic3
Date: 2011-09-16 10:05:51 -0700 (Fri, 16 Sep 2011)
New Revision: 18920

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/Makefile.am
Log:
Added --compiler-options to include CXXFLAGS.
Code now compiles in double precision.



Modified: short/3D/PyLith/trunk/libsrc/pylith/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/Makefile.am	2011-09-16 16:52:44 UTC (rev 18919)
+++ short/3D/PyLith/trunk/libsrc/pylith/Makefile.am	2011-09-16 17:05:51 UTC (rev 18920)
@@ -31,7 +31,7 @@
 
 LTCUDACOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 	--mode=compile nvcc $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-	$(AM_CPPFLAGS) $(CPPFLAGS) -m64 -prefer-non-pic $(AM_CXXFLAGS) $(NVCC_FLAGS)
+	$(AM_CPPFLAGS) $(CPPFLAGS) -arch=sm_13 -m64 -prefer-non-pic --compiler-options="$(CXXFLAGS)" $(AM_CXXFLAGS) $(NVCC_FLAGS)
 
 .cu.lo:
 @am__fastdepCXX_FALSE@	$(LTCUDACOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<



More information about the CIG-COMMITS mailing list