summaryrefslogtreecommitdiffstats
path: root/development/cudatoolkit/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/cudatoolkit/doinst.sh')
-rw-r--r--development/cudatoolkit/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/cudatoolkit/doinst.sh b/development/cudatoolkit/doinst.sh
new file mode 100644
index 0000000000..ec40b576fe
--- /dev/null
+++ b/development/cudatoolkit/doinst.sh
@@ -0,0 +1,3 @@
+# install GCC 6 and link the compiler in cuda bin folder
+ln -sf usr/bin/gcc-6 usr/share/cuda/bin/gcc
+ln -sf usr/bin/g++-6 usr/share/cuda/bin/g++