diff options
author | Sven Gothel <[email protected]> | 2020-01-02 00:55:38 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-02 00:55:38 +0100 |
commit | ddeb3d97ac0911271753a58c077692871b4b4531 (patch) | |
tree | b9d9f7d0be7b3585f62b4518270c0e12047cfa65 /make | |
parent | 210005dbec34c6c3fa91df27fdca6bd417c5639c (diff) |
all build scripts: make.jocl.all-host-macos.sh make.jocl.all-host-linux.sh ; Add iOS build scripts
Diffstat (limited to 'make')
-rwxr-xr-x | make/scripts/make.jocl.all-host-linux.sh (renamed from make/scripts/make.jocl.all.sh) | 0 | ||||
-rwxr-xr-x | make/scripts/make.jocl.all-host-macos.sh | 16 | ||||
-rwxr-xr-x | make/scripts/make.jocl.all.ios.amd64.sh | 32 | ||||
-rwxr-xr-x | make/scripts/make.jocl.all.ios.arm64.sh | 32 |
4 files changed, 80 insertions, 0 deletions
diff --git a/make/scripts/make.jocl.all.sh b/make/scripts/make.jocl.all-host-linux.sh index 4e95117c..4e95117c 100755 --- a/make/scripts/make.jocl.all.sh +++ b/make/scripts/make.jocl.all-host-linux.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 |