Add nvcc_wrapper

parent aca87915
...@@ -288,7 +288,7 @@ distclean-local: ...@@ -288,7 +288,7 @@ distclean-local:
-rmdir modules/ -rmdir modules/
-rmdir .fortran_dependencies/ -rmdir .fortran_dependencies/
EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk nvcc_wrap
LIBTOOL_DEPS = @LIBTOOL_DEPS@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS) libtool: $(LIBTOOL_DEPS)
......
#!/bin/sh
$NVCC `echo $@ | sed 's/-fPIC/-Xcompiler -fPIC/'`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment