diff options
author | Sven Gothel <[email protected]> | 2013-11-17 13:29:39 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-11-17 13:29:39 +0100 |
commit | bcae9ec99e62f144b4c96ede2fbd37f07401f484 (patch) | |
tree | 6cb7dd83f5958499b971c74d0fc66c7230b9eb09 /make/scripts | |
parent | e0877095c24f08fe1e5fc0391edf26392d1b6206 (diff) |
Use 'gluegen-clang.properties' for generic clang and 'gluegen-xcode_clang.properties' for OSX xcode-clang ; Add GNU/Linux LLVM/clang build scripts
Use 'gluegen-clang.properties' for generic clang and 'gluegen-xcode_clang.properties' for OSX xcode-clang.
Add GNU/Linux LLVM/clang build scripts
Diffstat (limited to 'make/scripts')
-rwxr-xr-x | make/scripts/make.gluegen.all.linux-x86-clang.sh | 30 | ||||
-rwxr-xr-x | make/scripts/make.gluegen.all.linux-x86_64-clang.sh | 36 | ||||
-rwxr-xr-x | make/scripts/make.gluegen.all.macosx-clang.sh | 4 |
3 files changed, 68 insertions, 2 deletions
diff --git a/make/scripts/make.gluegen.all.linux-x86-clang.sh b/make/scripts/make.gluegen.all.linux-x86-clang.sh new file mode 100755 index 0000000..2e56da1 --- /dev/null +++ b/make/scripts/make.gluegen.all.linux-x86-clang.sh @@ -0,0 +1,30 @@ +#! /bin/sh + +SDIR=`dirname $0` + +if [ -e $SDIR/setenv-build-jogl-x86.sh ] ; then + . $SDIR/setenv-build-jogl-x86.sh +fi + +# -Dc.compiler.debug=true +# -Dgluegen.cpptasks.detected.os=true \ +# -DisUnix=true \ +# -DisLinux=true \ +# -DisLinuxX86=true \ +# -DisX11=true \ +# -Dgluegen-cpptasks.file=`pwd`/lib/gluegen-cpptasks-linux-32bit.xml \ +# + +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="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.gluegen.all.linux-x86-clang.log diff --git a/make/scripts/make.gluegen.all.linux-x86_64-clang.sh b/make/scripts/make.gluegen.all.linux-x86_64-clang.sh new file mode 100755 index 0000000..99aec47 --- /dev/null +++ b/make/scripts/make.gluegen.all.linux-x86_64-clang.sh @@ -0,0 +1,36 @@ +#! /bin/sh + +SDIR=`dirname $0` + +if [ -e $SDIR/setenv-build-jogl-x86_64.sh ] ; then + . $SDIR/setenv-build-jogl-x86_64.sh +fi + +# -Dc.compiler.debug=true +# -Dgluegen.cpptasks.detected.os=true \ +# -DisUnix=true \ +# -DisLinux=true \ +# -DisLinuxAMD64=true \ +# -DisX11=true \ +# +# -Dtarget.sourcelevel=1.6 \ +# -Dtarget.targetlevel=1.6 \ +# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ +# +# -Dc.compiler.debug=true \ +# -Djavacdebuglevel="source,lines,vars" \ + +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="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.gluegen.all.linux-x86_64-clang.log diff --git a/make/scripts/make.gluegen.all.macosx-clang.sh b/make/scripts/make.gluegen.all.macosx-clang.sh index 4f84d39..f66c153 100755 --- a/make/scripts/make.gluegen.all.macosx-clang.sh +++ b/make/scripts/make.gluegen.all.macosx-clang.sh @@ -18,8 +18,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="lib/gluegen-clang.properties" -# or -Dgcc.compat.compiler=clang +export GLUEGEN_PROPERTIES_FILE="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" |