summaryrefslogtreecommitdiffstats
path: root/scripts/make.jocl.all.linux-x86-clang.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-11-17 17:37:17 +0100
committerSven Gothel <[email protected]>2013-11-17 17:37:17 +0100
commitd1113c49ed95a2089decdc5c270a29fcbd233d68 (patch)
treec1348ac5fc82d0ffb2a10f46548748ce2a984872 /scripts/make.jocl.all.linux-x86-clang.sh
parentcb27127c0be28cc1c864bcf5b6c94b860d3590d2 (diff)
Use 'gluegen-clang.properties' for generic clang and 'gluegen-xcode_clang.properties' for OSX xcode-clang ; Add GNU/Linux LLVM/clang build scriptsv2.1.3
Diffstat (limited to 'scripts/make.jocl.all.linux-x86-clang.sh')
-rw-r--r--scripts/make.jocl.all.linux-x86-clang.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/make.jocl.all.linux-x86-clang.sh b/scripts/make.jocl.all.linux-x86-clang.sh
new file mode 100644
index 00000000..ca9c8abc
--- /dev/null
+++ b/scripts/make.jocl.all.linux-x86-clang.sh
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+SDIR=`dirname $0`
+
+if [ -e $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86.sh ] ; then
+ . $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86.sh
+fi
+
+export SOURCE_LEVEL=1.6
+export TARGET_LEVEL=1.6
+export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+export GLUEGEN_PROPERTIES_FILE="../gluegen/make/lib/gluegen-clang.properties"
+# or -Dgcc.compat.compiler=clang
+
+#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"
+
+ant \
+ -Drootrel.build=build-x86-clang \
+ $* 2>&1 | tee make.jocl.all.linux-x86-clang.log