aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/install-ati-stream.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-25 15:13:06 +0100
committerSven Gothel <[email protected]>2014-01-25 15:13:06 +0100
commit5c5f3b4785835b8abf53474b0c9dc248d1b8dab6 (patch)
treef608da51d3ea2f0726f6d8475216020351a3b3a5 /make/scripts/install-ati-stream.sh
parentf51d6456ab2196bf8ce7d6b3c7ac6d71e9e0108b (diff)
Bug 884: Move obsolete NB based build files to 'obsolete.make-nb' ; Fix text file suffix ; Fix Jar Manifest: Move Sealed to bottom.
Diffstat (limited to 'make/scripts/install-ati-stream.sh')
-rw-r--r--make/scripts/install-ati-stream.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/make/scripts/install-ati-stream.sh b/make/scripts/install-ati-stream.sh
new file mode 100644
index 00000000..94d3eca6
--- /dev/null
+++ b/make/scripts/install-ati-stream.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+#
+# Here we have unpacked ati-stream-sdk-v2.1-lnx64.tgz from http://developer.amd.com/gpu/ATIStreamSDK/
+# to /opt-linux-x86_64/ and made a symbolic link to ati-stream-sdk.
+#
+# We also copied the file http://developer.amd.com/Downloads/icd-registration.tgz
+# into ati-stream-sdk.
+
+SDK=/opt-linux-x86_64/ati-stream-sdk/
+ICDREG=/opt-linux-x86_64/ati-stream-sdk/icd-registration.tgz
+
+link(){
+ if [ -e $2 ] ; then
+ rm -v $2
+ fi
+ ln -v -s ${SDK}$1/$2
+}
+
+cd /usr/lib64/
+link lib/x86_64 libOpenCL.so
+link lib/x86_64 libatiocl64.so
+
+cd /usr/lib32/
+link lib/x86 libOpenCL.so
+link lib/x86 libatiocl32.so
+
+cd /
+tar xzf $ICDREG