From d1113c49ed95a2089decdc5c270a29fcbd233d68 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 17 Nov 2013 17:37:17 +0100 Subject: Use 'gluegen-clang.properties' for generic clang and 'gluegen-xcode_clang.properties' for OSX xcode-clang ; Add GNU/Linux LLVM/clang build scripts --- scripts/make.jocl.all.linux-x86-clang.sh | 21 +++++++++++++++++++++ scripts/make.jocl.all.linux-x86_64-clang.sh | 24 ++++++++++++++++++++++++ scripts/make.jocl.all.macosx-clang.sh | 4 ++-- 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 scripts/make.jocl.all.linux-x86-clang.sh create mode 100644 scripts/make.jocl.all.linux-x86_64-clang.sh 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 diff --git a/scripts/make.jocl.all.linux-x86_64-clang.sh b/scripts/make.jocl.all.linux-x86_64-clang.sh new file mode 100644 index 00000000..1d2a2a05 --- /dev/null +++ b/scripts/make.jocl.all.linux-x86_64-clang.sh @@ -0,0 +1,24 @@ +#! /bin/sh + +SDIR=`dirname $0` + +if [ -e $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then + . $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh +fi + +# -Dbuild.archiveon=true \ + +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" + +BUILD_ARCHIVE=true \ +ant \ + -Drootrel.build=build-x86_64-clang \ + $* 2>&1 | tee make.jocl.all.linux-x86_64-clang.log diff --git a/scripts/make.jocl.all.macosx-clang.sh b/scripts/make.jocl.all.macosx-clang.sh index 0b800ac7..fc16ed15 100755 --- a/scripts/make.jocl.all.macosx-clang.sh +++ b/scripts/make.jocl.all.macosx-clang.sh @@ -14,8 +14,8 @@ 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 GLUEGEN_PROPERTIES_FILE="../gluegen/make/lib/gluegen-xcode_clang.properties" +# or -Dgcc.compat.compiler=xcode.clang #export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet" -- cgit v1.2.3