summarylogtreecommitdiffstats
path: root/cuda.install
diff options
context:
space:
mode:
authorIvan2016-10-18 17:53:47 -0400
committerIvan2016-10-18 17:53:47 -0400
commit20c2a04ad97cbba11fcb1ceeb8657257006b35c0 (patch)
treec58fc8be0c2841a0a95d01ae14bada7b13f70388 /cuda.install
downloadaur-20c2a04ad97cbba11fcb1ceeb8657257006b35c0.tar.gz
Port from the community tree to preserve cuda 7.5
Diffstat (limited to 'cuda.install')
-rw-r--r--cuda.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/cuda.install b/cuda.install
new file mode 100644
index 000000000000..fb341b1dd3a3
--- /dev/null
+++ b/cuda.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo "The cuda binaries are in /opt/cuda/bin"
+ echo "The cuda samples are in /opt/cuda/samples"
+ echo "The cuda docs are in /opt/cuda/doc"
+ echo "You need to relogin in order for the cuda binaries to appear in your PATH"
+ post_upgrade
+}
+
+post_upgrade() {
+ ldconfig -r .
+}