From 11efcc9aff39f9da6c4da18128fa5cdda808bbd0 Mon Sep 17 00:00:00 2001 From: Jason Pepas Date: Sat, 30 Apr 2016 02:06:43 +0000 Subject: [PATCH] adding go.sh to run the other scripts --- arm/go-swift-2.2-RELEASE.sh | 1 + arm/go-swift-2.2.1-RELEASE.sh | 1 + arm/go-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh | 1 + ...swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh | 1 + arm/go.sh | 32 +++++++++++++++++++ arm/patch-swift-2.2-RELEASE.sh | 1 + ...patch-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh | 1 + ...swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh | 1 + 8 files changed, 39 insertions(+) create mode 120000 arm/go-swift-2.2-RELEASE.sh create mode 120000 arm/go-swift-2.2.1-RELEASE.sh create mode 120000 arm/go-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh create mode 120000 arm/go-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh create mode 100755 arm/go.sh create mode 120000 arm/patch-swift-2.2-RELEASE.sh create mode 120000 arm/patch-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh create mode 120000 arm/patch-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh diff --git a/arm/go-swift-2.2-RELEASE.sh b/arm/go-swift-2.2-RELEASE.sh new file mode 120000 index 0000000..b119797 --- /dev/null +++ b/arm/go-swift-2.2-RELEASE.sh @@ -0,0 +1 @@ +go.sh \ No newline at end of file diff --git a/arm/go-swift-2.2.1-RELEASE.sh b/arm/go-swift-2.2.1-RELEASE.sh new file mode 120000 index 0000000..b119797 --- /dev/null +++ b/arm/go-swift-2.2.1-RELEASE.sh @@ -0,0 +1 @@ +go.sh \ No newline at end of file diff --git a/arm/go-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh b/arm/go-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh new file mode 120000 index 0000000..b119797 --- /dev/null +++ b/arm/go-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh @@ -0,0 +1 @@ +go.sh \ No newline at end of file diff --git a/arm/go-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh b/arm/go-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh new file mode 120000 index 0000000..b119797 --- /dev/null +++ b/arm/go-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh @@ -0,0 +1 @@ +go.sh \ No newline at end of file diff --git a/arm/go.sh b/arm/go.sh new file mode 100755 index 0000000..e1a3973 --- /dev/null +++ b/arm/go.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +set -eu -o pipefail +set -x + +SELF_NAME="$( basename "${BASH_SOURCE[0]}" )" +SELF_DIR="$( dirname $( readlink -e "${BASH_SOURCE[0]}" ) )" +SELF_VERSION=$( echo "${SELF_NAME}" | sed 's/go\(.*\)\.sh/\1/' ) + +SHAS="${SELF_DIR}/shas${SELF_VERSION}.bash" +source "${SHAS}" + +source "${SELF_DIR}/vars.bash" + +export SWIFT_SOURCE_ROOT="$( pwd )/swift_src" +export SWIFT_BUILD_ROOT="$( pwd )/swift_build" + +mkdir -p "${SWIFT_SOURCE_ROOT}" +mkdir -p "${SWIFT_BUILD_ROOT}" + +function onexit +{ + echo "Results are in ${SWIFT_BUILD_ROOT}" +} + +trap onexit EXIT + +cd "${SWIFT_BUILD_ROOT}" +"${SELF_DIR}/fetch${SELF_VERSION}.sh" 2>&1 | tee -a log.txt +"${SELF_DIR}/patch${SELF_VERSION}.sh" 2>&1 | tee -a log.txt +"${SELF_DIR}/build${SELF_VERSION}.sh" 2>&1 | tee -a log.txt + diff --git a/arm/patch-swift-2.2-RELEASE.sh b/arm/patch-swift-2.2-RELEASE.sh new file mode 120000 index 0000000..a8fc5f9 --- /dev/null +++ b/arm/patch-swift-2.2-RELEASE.sh @@ -0,0 +1 @@ +patch.sh \ No newline at end of file diff --git a/arm/patch-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh b/arm/patch-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh new file mode 120000 index 0000000..a8fc5f9 --- /dev/null +++ b/arm/patch-swift-2.2.1-SNAPSHOT-2016-04-12-a.sh @@ -0,0 +1 @@ +patch.sh \ No newline at end of file diff --git a/arm/patch-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh b/arm/patch-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh new file mode 120000 index 0000000..a8fc5f9 --- /dev/null +++ b/arm/patch-swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.sh @@ -0,0 +1 @@ +patch.sh \ No newline at end of file