From 6d87df8b109f045433575cd94b22ba8d8150903a Mon Sep 17 00:00:00 2001 From: Gilles Filippini Date: Wed, 28 Oct 2015 14:47:52 +0100 Subject: Support architecture ppc64le (Debian ppc64el). --- make/build.xml | 14 ++++++- make/gluegen-cpptasks-base.xml | 57 +++++++++++++++++++++++++- make/scripts/make.gluegen.all.linux-ppc64le.sh | 24 +++++++++++ 3 files changed, 92 insertions(+), 3 deletions(-) create mode 100644 make/scripts/make.gluegen.all.linux-ppc64le.sh (limited to 'make') diff --git a/make/build.xml b/make/build.xml index d7abcd8..218030f 100644 --- a/make/build.xml +++ b/make/build.xml @@ -306,6 +306,18 @@ + + + + + + + + + + + + @@ -324,7 +336,7 @@ - + diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index 01d6146..139ad0e 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -48,6 +48,8 @@ - isLinuxMips - isLinuxMipsel - isLinuxPpc + - isLinuxPpc64 + - isLinuxPpc64le - isLinuxs390 - isLinuxs390x - isLinuxSparc @@ -133,6 +135,8 @@ - compiler.cfg.linux.mips - compiler.cfg.linux.mipsel - compiler.cfg.linux.ppc + - compiler.cfg.linux.ppc64 + - compiler.cfg.linux.ppc64le - compiler.cfg.linux.s390 - compiler.cfg.linux.s390x - compiler.cfg.linux.sparc @@ -155,6 +159,7 @@ - linker.cfg.linux.mips - linker.cfg.linux.mipsel - linker.cfg.linux.ppc + - linker.cfg.linux.ppc64le - linker.cfg.linux.s390 - linker.cfg.linux.s390x - linker.cfg.linux.sparc @@ -417,6 +422,24 @@ + + + + + + + + + + + + + + + + + + @@ -601,6 +624,8 @@ + + @@ -683,6 +708,14 @@ + + + + + + + + @@ -707,7 +740,7 @@ - + @@ -1268,6 +1301,12 @@ + + + + + + @@ -1505,6 +1544,20 @@ + + + + + + + + + + + + + + @@ -1526,7 +1579,7 @@ - + diff --git a/make/scripts/make.gluegen.all.linux-ppc64le.sh b/make/scripts/make.gluegen.all.linux-ppc64le.sh new file mode 100644 index 0000000..0adc5d4 --- /dev/null +++ b/make/scripts/make.gluegen.all.linux-ppc64le.sh @@ -0,0 +1,24 @@ +#! /bin/sh + +# -Dc.compiler.debug=true \ +# -Dgluegen.cpptasks.detected.os=true \ +# -DisUnix=true \ +# -DisLinux=true \ +# -DisLinuxX86=true \ +# -DisX11=true \ + +MACHINE=ppc64le +ARCH=ppc64el +TRIPLET=powerpc64le-linux-gnu + +export TARGET_PLATFORM_LIBS=/usr/lib/$TRIPLET +export TARGET_JAVA_LIBS=/usr/lib/jvm/java-7-openjdk-$ARCH/jre/lib/$MACHINE + +export GLUEGEN_CPPTASKS_FILE="lib/gluegen-cpptasks-linux-$MACHINE.xml" + +#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" +export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet" + +ant \ + -Drootrel.build=build-linux-$MACHINE \ + $* 2>&1 | tee make.gluegen.all.linux-$MACHINE.log -- cgit v1.2.3