From ddeb3d97ac0911271753a58c077692871b4b4531 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 2 Jan 2020 00:55:38 +0100 Subject: all build scripts: make.jocl.all-host-macos.sh make.jocl.all-host-linux.sh ; Add iOS build scripts --- make/scripts/make.jocl.all-host-linux.sh | 20 ++++++++++++++++++++ make/scripts/make.jocl.all-host-macos.sh | 16 ++++++++++++++++ make/scripts/make.jocl.all.ios.amd64.sh | 32 ++++++++++++++++++++++++++++++++ make/scripts/make.jocl.all.ios.arm64.sh | 32 ++++++++++++++++++++++++++++++++ make/scripts/make.jocl.all.sh | 20 -------------------- 5 files changed, 100 insertions(+), 20 deletions(-) create mode 100755 make/scripts/make.jocl.all-host-linux.sh create mode 100755 make/scripts/make.jocl.all-host-macos.sh create mode 100755 make/scripts/make.jocl.all.ios.amd64.sh create mode 100755 make/scripts/make.jocl.all.ios.arm64.sh delete mode 100755 make/scripts/make.jocl.all.sh (limited to 'make') diff --git a/make/scripts/make.jocl.all-host-linux.sh b/make/scripts/make.jocl.all-host-linux.sh new file mode 100755 index 00000000..4e95117c --- /dev/null +++ b/make/scripts/make.jocl.all-host-linux.sh @@ -0,0 +1,20 @@ +#! /bin/sh + +SDIR=`dirname $0` + +$SDIR/make.jocl.all.android-aarch64-cross.sh && \ +$SDIR/make.jocl.all.android-armv6-cross.sh && \ +$SDIR/make.jocl.all.android-x86-cross.sh && \ +$SDIR/make.jocl.all.linux-aarch64-cross.sh && \ +$SDIR/make.jocl.all.linux-armv6hf-cross.sh && \ +$SDIR/make.jocl.all.linux-x86.sh && \ +$SDIR/make.jocl.all.linux-x86_64.sh + +# $SDIR/make.jocl.all.macosx.sh +# $SDIR/make.jocl.all.ios.amd64.sh +# $SDIR/make.jocl.all.ios.arm64.sh +# $SDIR/make.jocl.all.win32.bat +# $SDIR/make.jocl.all.win64.bat +# $SDIR/make.jocl.all.linux-armv6hf.sh +# $SDIR/make.jocl.all.linux-aarch64.sh + diff --git a/make/scripts/make.jocl.all-host-macos.sh b/make/scripts/make.jocl.all-host-macos.sh new file mode 100755 index 00000000..11f2d3c9 --- /dev/null +++ b/make/scripts/make.jocl.all-host-macos.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +SDIR=`dirname $0` + +$SDIR/make.jocl.all.macosx.sh && \ +$SDIR/make.jocl.all.ios.amd64.sh && \ +$SDIR/make.jocl.all.ios.arm64.sh + +# $SDIR/make.jocl.all.macosx.sh +# $SDIR/make.jocl.all.ios.amd64.sh +# $SDIR/make.jocl.all.ios.arm64.sh +# $SDIR/make.jocl.all.win32.bat +# $SDIR/make.jocl.all.win64.bat +# $SDIR/make.jocl.all.linux-ppc64le.sh +# $SDIR/make.jocl.all.linux-armv6hf.sh +# $SDIR/make.jocl.all.linux-aarch64.sh diff --git a/make/scripts/make.jocl.all.ios.amd64.sh b/make/scripts/make.jocl.all.ios.amd64.sh new file mode 100755 index 00000000..d8c964f9 --- /dev/null +++ b/make/scripts/make.jocl.all.ios.amd64.sh @@ -0,0 +1,32 @@ +#! /bin/sh + +if [ -e /usr/local/etc/profile.ant ] ; then + . /usr/local/etc/profile.ant +fi + +# -Dc.compiler.debug=true + +# Force OSX SDK 10.6, if desired +# export SDKROOT=macosx10.6 + +export SDKROOT=iphonesimulator13.2 +xcrun --show-sdk-path + +JAVA_HOME=`/usr/libexec/java_home -version 11` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH +which java +java -version + +export SOURCE_LEVEL=1.8 +export TARGET_LEVEL=1.8 +export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar + +export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-amd64.xml + +#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" +export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet" + +ant \ + -Drootrel.build=build-ios-amd64 \ + $* 2>&1 | tee make.jocl.all.ios-amd64.log diff --git a/make/scripts/make.jocl.all.ios.arm64.sh b/make/scripts/make.jocl.all.ios.arm64.sh new file mode 100755 index 00000000..ed4a6887 --- /dev/null +++ b/make/scripts/make.jocl.all.ios.arm64.sh @@ -0,0 +1,32 @@ +#! /bin/sh + +if [ -e /usr/local/etc/profile.ant ] ; then + . /usr/local/etc/profile.ant +fi + +# -Dc.compiler.debug=true + +# Force OSX SDK 10.6, if desired +# export SDKROOT=macosx10.6 + +export SDKROOT=iphoneos13.2 +xcrun --show-sdk-path + +JAVA_HOME=`/usr/libexec/java_home -version 11` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH +which java +java -version + +export SOURCE_LEVEL=1.8 +export TARGET_LEVEL=1.8 +export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar + +export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-aarch64.xml + +#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" +export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet" + +ant \ + -Drootrel.build=build-ios-arm64 \ + $* 2>&1 | tee make.jocl.all.ios-arm64.log diff --git a/make/scripts/make.jocl.all.sh b/make/scripts/make.jocl.all.sh deleted file mode 100755 index 4e95117c..00000000 --- a/make/scripts/make.jocl.all.sh +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh - -SDIR=`dirname $0` - -$SDIR/make.jocl.all.android-aarch64-cross.sh && \ -$SDIR/make.jocl.all.android-armv6-cross.sh && \ -$SDIR/make.jocl.all.android-x86-cross.sh && \ -$SDIR/make.jocl.all.linux-aarch64-cross.sh && \ -$SDIR/make.jocl.all.linux-armv6hf-cross.sh && \ -$SDIR/make.jocl.all.linux-x86.sh && \ -$SDIR/make.jocl.all.linux-x86_64.sh - -# $SDIR/make.jocl.all.macosx.sh -# $SDIR/make.jocl.all.ios.amd64.sh -# $SDIR/make.jocl.all.ios.arm64.sh -# $SDIR/make.jocl.all.win32.bat -# $SDIR/make.jocl.all.win64.bat -# $SDIR/make.jocl.all.linux-armv6hf.sh -# $SDIR/make.jocl.all.linux-aarch64.sh - -- cgit v1.2.3