From 70407434fd4cd205b127ed7d73832eb0b3d01263 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 18 Oct 2011 17:13:51 +0200 Subject: split solaris 32bit (x86/sparc), use jvmDataModel.arg set by gluegen --- build.xml | 25 ++++++++++++++++++++----- nbproject/project.properties | 2 +- scripts/make.jocl.all.linux-x86.sh | 6 ++++-- scripts/make.jocl.all.linux-x86_64.sh | 4 ++-- scripts/make.jocl.all.solaris-x86.sh | 11 +++++++++++ scripts/make.jocl.all.solaris-x86_64.sh | 4 ++-- 6 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 scripts/make.jocl.all.solaris-x86.sh diff --git a/build.xml b/build.xml index bf34597c..300ae362 100644 --- a/build.xml +++ b/build.xml @@ -34,6 +34,10 @@ + + + + @@ -415,10 +419,15 @@ - + + + + + + @@ -474,7 +483,7 @@ - + @@ -502,9 +511,15 @@ - - - + + + + + + + + + diff --git a/nbproject/project.properties b/nbproject/project.properties index 022451f3..5d0b8189 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -80,7 +80,7 @@ run.classpath=\ # Space-separated list of JVM arguments used when running the project # (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value # or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs=-Xmx256m -Djava.library.path=\ +run.jvmargs=${jvmDataModel.arg} -Xmx256m -Djava.library.path=\ "${basedir}/${rootrel.build}/natives/jocl${path.separator}\ ${jogl.root}/${rootrel.build}/lib${path.separator}\ ${gluegen.root}/${rootrel.build}/obj" diff --git a/scripts/make.jocl.all.linux-x86.sh b/scripts/make.jocl.all.linux-x86.sh index 9ae8b770..1f497cf0 100644 --- a/scripts/make.jocl.all.linux-x86.sh +++ b/scripts/make.jocl.all.linux-x86.sh @@ -1,7 +1,9 @@ #! /bin/sh -if [ -e ../setenv-build-jogl-x86.sh ] ; then - . ../setenv-build-jogl-x86.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 ant \ diff --git a/scripts/make.jocl.all.linux-x86_64.sh b/scripts/make.jocl.all.linux-x86_64.sh index c58e1ae9..680d1454 100644 --- a/scripts/make.jocl.all.linux-x86_64.sh +++ b/scripts/make.jocl.all.linux-x86_64.sh @@ -2,8 +2,8 @@ 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 +if [ -e $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then + . $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh fi ant \ diff --git a/scripts/make.jocl.all.solaris-x86.sh b/scripts/make.jocl.all.solaris-x86.sh new file mode 100644 index 00000000..ed815144 --- /dev/null +++ b/scripts/make.jocl.all.solaris-x86.sh @@ -0,0 +1,11 @@ +#! /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 + +ant \ + -Drootrel.build=build-solaris-x86_64 \ + $* 2>&1 | tee make.jocl.all.solaris-x86_64.log diff --git a/scripts/make.jocl.all.solaris-x86_64.sh b/scripts/make.jocl.all.solaris-x86_64.sh index be11b91b..ed815144 100644 --- a/scripts/make.jocl.all.solaris-x86_64.sh +++ b/scripts/make.jocl.all.solaris-x86_64.sh @@ -2,8 +2,8 @@ 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 +if [ -e $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then + . $SDIR/../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh fi ant \ -- cgit v1.2.3