diff options
author | Sven Gothel <[email protected]> | 2015-02-03 23:16:29 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-02-03 23:16:29 +0100 |
commit | 51ae3207895ae703d468ce27a37be15b6c6505c8 (patch) | |
tree | beefc300fda1e59d66d12e64cbcd7eb0febf1fb1 | |
parent | 5109745995da9d7c4a175e9c257a43aeee87c916 (diff) |
android-aarch64: Added in promote script and created build node 'androidArm64-jogamp-aarch64-sgothel-041'; Fixed android-armv6 build node setup.
-rwxr-xr-x | jenkins-builds/promote-latest-builds.sh | 2 | ||||
-rwxr-xr-x | jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh | 81 |
2 files changed, 78 insertions, 5 deletions
diff --git a/jenkins-builds/promote-latest-builds.sh b/jenkins-builds/promote-latest-builds.sh index a592c6d..519ef82 100755 --- a/jenkins-builds/promote-latest-builds.sh +++ b/jenkins-builds/promote-latest-builds.sh @@ -34,7 +34,7 @@ logfile=$thisdir/`basename $0 .sh`.log archivedir=/srv/www/jogamp.org/deployment/archive/$branch rootdir=/srv/www/jogamp.org/deployment/autobuilds/$branch -os_and_archs_minus_one="linux-i586 linux-armv6 linux-armv6hf android-armv6 macosx-universal windows-amd64 windows-i586 solaris-i586 solaris-amd64" +os_and_archs_minus_one="linux-i586 linux-armv6 linux-armv6hf android-armv6 android-aarch64 macosx-universal windows-amd64 windows-i586 solaris-i586 solaris-amd64" masterpick="linux-amd64" os_and_archs="$masterpick $os_and_archs_minus_one" diff --git a/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh b/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh index 5e235e6..769afda 100755 --- a/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh +++ b/jenkins-server-slave-setup/nodes/sgothel-linux64-amd58xx-001_002.linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh @@ -172,11 +172,13 @@ function connect_40 { export TARGET_ROOT=/data/projects export TARGET_ANT_HOME=/usr/share/ant - export NDK_ROOT=/opt-linux-x86/android-ndk + export NDK_ROOT=/opt-linux-x86_64/android-ndk export ANDROID_HOME=/opt-linux-x86/android-sdk-linux_x86 + export ANDROID_BUILD_TOOLS_VERSION=21.1.2 echo NDK_ROOT $NDK_ROOT echo ANDROID_HOME $ANDROID_HOME + echo ANDROID_BUILD_TOOLS_VERSION $ANDROID_BUILD_TOOLS_VERSION export ANDROID_VERSION=9 export SOURCE_LEVEL=1.6 @@ -186,16 +188,17 @@ function connect_40 { export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" #export GCC_VERSION=4.4.3 - export GCC_VERSION=4.7 - HOST_ARCH=linux-x86 + #export GCC_VERSION=4.7 + export GCC_VERSION=4.8 + HOST_ARCH=linux-x86_64 export TARGET_TRIPLE=arm-linux-androideabi export NDK_TOOLCHAIN_ROOT=$NDK_ROOT/toolchains/${TARGET_TRIPLE}-${GCC_VERSION}/prebuilt/${HOST_ARCH} export TARGET_PLATFORM_ROOT=${NDK_ROOT}/platforms/android-${ANDROID_VERSION}/arch-arm # Need to add toolchain bins to the PATH. + export PATH="$NDK_TOOLCHAIN_ROOT/$TARGET_TRIPLE/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/$ANDROID_BUILD_TOOLS_VERSION:$PATH" export PATH_VANILLA=$PATH - export PATH="$NDK_TOOLCHAIN_ROOT/$TARGET_TRIPLE/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/17.0.0:$PATH" export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-android-armv6.xml export GLUEGEN_PROPERTIES_FILE=/home/jogamp/android/gluegen.properties # for key signing props @@ -216,6 +219,73 @@ function connect_40 { } +function connect_41 { + . /opt-share/etc/profile.ant + . /opt-linux-x86_64/etc/profile.jre8 + . /opt-linux-x86_64/etc/profile.j2se8 + + export NODE_LABEL=label/android-aarch64 + HOST_ROOT=/home/jogamp/JogAmpSlaveArm64_Android + JENKINS_WS=$HOST_ROOT/workspace + + export HOST_UID=jogamp + # jogamp02 - 10.1.0.122 + export HOST_IP=10.1.0.122 + export HOST_RSYNC_ROOT=ROOTDIR/$JENKINS_WS + + export TARGET_UID=jogamp + export TARGET_IP=panda02 + #export TARGET_IP=jautab03 + #export TARGET_IP=jauphone04 + export TARGET_ADB_PORT=5555 + # needs executable bit (probably su) + export TARGET_ROOT=/data/projects + export TARGET_ANT_HOME=/usr/share/ant + + export NDK_ROOT=/opt-linux-x86_64/android-ndk + export ANDROID_HOME=/opt-linux-x86/android-sdk-linux_x86 + export ANDROID_BUILD_TOOLS_VERSION=21.1.2 + + echo NDK_ROOT $NDK_ROOT + echo ANDROID_HOME $ANDROID_HOME + echo ANDROID_BUILD_TOOLS_VERSION $ANDROID_BUILD_TOOLS_VERSION + + export ANDROID_VERSION=21 + export SOURCE_LEVEL=1.6 + export TARGET_LEVEL=1.6 + export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar + + export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" + + export GCC_VERSION=4.9 + HOST_ARCH=linux-x86_64 + export TARGET_TRIPLE=aarch64-linux-android + + export NDK_TOOLCHAIN_ROOT=$NDK_ROOT/toolchains/${TARGET_TRIPLE}-${GCC_VERSION}/prebuilt/${HOST_ARCH} + export TARGET_PLATFORM_ROOT=${NDK_ROOT}/platforms/android-${ANDROID_VERSION}/arch-arm64 + + # Need to add toolchain bins to the PATH. + export PATH="$NDK_TOOLCHAIN_ROOT/$TARGET_TRIPLE/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/$ANDROID_BUILD_TOOLS_VERSION:$PATH" + export PATH_VANILLA=$PATH + + export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-android-aarch64.xml + export GLUEGEN_PROPERTIES_FILE=/home/jogamp/android/gluegen.properties # for key signing props + + #export JUNIT_DISABLED="true" + #export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" + + java -version + sshpid= + while true ; do + if [ ! -z "$sshpid" ] ; then + kill -9 $sshpid + fi + ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6041:localhost:5555 -N & + sshpid=$! + java -server -Xmx512m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/androidArm64-jogamp-aarch64-sgothel-041/slave-agent.jnlp + done +} + connect_1 > linux64-AMD58xx-debian7-jogamp-x32-sgothel-001.log 2>&1 & disown $! @@ -231,3 +301,6 @@ disown $! connect_40 > androidARMv7-jogamp-arm32-sgothel-040.log 2>&1 & disown $! +connect_41 > androidArm64-jogamp-aarch64-sgothel-041.log 2>&1 & +disown $! + |