diff options
author | Sven Gothel <[email protected]> | 2010-05-17 19:14:19 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-05-17 19:14:19 +0200 |
commit | fffde773390e832d9c9e9410c3d01145807372a1 (patch) | |
tree | 21a27e5f9b378e219790e01e37f481691c5b21d7 /scripts | |
parent | 4c2231a3292cb9fb0aa3ad1e46736cded7d1f2e0 (diff) |
Added scripts folder
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install-ati-stream.sh | 29 | ||||
-rw-r--r-- | scripts/make.jocl.all.linux-x86_64.sh | 9 | ||||
-rw-r--r-- | scripts/make.jocl.all.win32.bat | 12 |
3 files changed, 50 insertions, 0 deletions
diff --git a/scripts/install-ati-stream.sh b/scripts/install-ati-stream.sh new file mode 100644 index 00000000..94d3eca6 --- /dev/null +++ b/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 diff --git a/scripts/make.jocl.all.linux-x86_64.sh b/scripts/make.jocl.all.linux-x86_64.sh new file mode 100644 index 00000000..6ca3e805 --- /dev/null +++ b/scripts/make.jocl.all.linux-x86_64.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +if [ -e ../setenv-build-jogl-x86_64.sh ] ; then + . ../setenv-build-jogl-x86_64.sh +fi + +ant \ + -Drootrel.build=build-x86_64 \ + $* 2>&1 | tee make.jocl.all.linux-x86_64.log diff --git a/scripts/make.jocl.all.win32.bat b/scripts/make.jocl.all.win32.bat new file mode 100644 index 00000000..619d71a7 --- /dev/null +++ b/scripts/make.jocl.all.win32.bat @@ -0,0 +1,12 @@ +set THISDIR="C:\JOGL"
+
+set J2RE_HOME=c:\jre1.6.0_20_x32
+set JAVA_HOME=c:\jdk1.6.0_20_x32
+set ANT_PATH=C:\apache-ant-1.8.0
+
+set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%PATH%
+
+set LIB_GEN=%THISDIR%\lib
+set CLASSPATH=.;%THISDIR%\build-win32\classes
+
+ant -Drootrel.build=build-win32 %1 %2 %3 %4 %5 %6 %7 %8 %9 > make.jocl.all.win32.log 2>&1
|