This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/benchmarking
in repository toolchain/abe.
commit 939e06c84e5e5a2d6105a33202af97d801f0f16e
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Fri Jul 31 12:21:40 2015 +0200
Refactor toolchain download/install code
Pull out into function, add capability to use scp, stop
changing dir as part of the toolchain install process.
Change-Id: I8f1831bbe1d2336aca006d234cc0a52c2860efbc
---
scripts/Benchmark.job | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/scripts/Benchmark.job b/scripts/Benchmark.job
index dcfa03e..17158e2 100755
--- a/scripts/Benchmark.job
+++ b/scripts/Benchmark.job
@@ -17,27 +17,38 @@ if test x"${benchmark:-}" = x; then
exit 1
fi
+function get_thing {
+ local thing="$1"
+ if echo x"${thing}" | grep -q '^xhttp'; then
+ wget -q "${thing}"
+ basename "${thing}"
+ else
+ (. host.conf; . "${abe_path}"/lib/remote.sh; remote_download "${prebuilt%%:*}" [...]
+ echo "${prebuilt#*:}"
+ fi
+}
+
#Set up maindir
echo "Building benchmark ${benchmark} in ${maindir}"
chmod 700 "${maindir}"
cd "${maindir}"
+#Configure
+echo "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
+ "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
+
#Install toolchain
mkdir bin
-cd bin
-if echo x"${toolchain}" | grep -q '^xhttp'; then
- wget -q "${toolchain}"
- tar xf "`basename ${toolchain}`"
- #TODO: abe way to handle this?
- if test x"${toolchain##.tgz}" = x.tgz; then
- benchgccpath="`echo $PWD/\`basename ${toolchain%%.tgz}\`/bin/*gcc`"
- else
- benchgccpath="`echo $PWD/\`basename ${toolchain%%.tar.*}\`/bin/*gcc`"
- fi
-else
+if test x"${toolchain:0:1}" = x/; then
echo "Toolchain assumed to be path on builder"
benchgccpath="${toolchain}"
+else
+ tarball="`get_thing ${toolchain}`"
+ tar -C bin "../${tarball}"
+ benchgccpath="`pwd`"/bin/*/bin/*gcc
+ rm "${tarball}"
fi
+
if test "`echo ${benchgccpath} | wc -w`" -ne 1; then
echo "Should be exactly one GCC path" 1>&2
echo "Got: ${benchgccpath}" 1>&2
@@ -50,14 +61,6 @@ if test x"${benchgccpath}" != x; then
fi
fi
-#Run benchmark
-echo cd "${maindir}"
- cd "${maindir}"
-
-#Configure
-echo "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
- "${ABE_DIR}"/configure --with-fileserver=148.251.136.42 --with-remote-snapsho [...]
-
#Build
echo "${ABE_DIR}"/scripts/benchmark.sh -s buildonly ${compiler_flags:+-f \"${compi [...]
"${ABE_DIR}"/scripts/benchmark.sh -s buildonly ${compiler_flags:+-f "${compi [...]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch bernie/benchmarking
in repository toolchain/abe.
from 76c9b33 Use sleep rather than inotify to hold target session
new 4413855 Do not disable ssh host checks
new 939e06c Refactor toolchain download/install code
new fca1335 Permit benchmarking with prebuilt benchmark
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
config/bench/lava/host-session | 5 ++++
config/bench/lava/host-session.yaml | 1 +
lib/remote.sh | 8 +++---
scripts/Benchmark.job | 51 ++++++++++++++++++++++---------------
4 files changed, 40 insertions(+), 25 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from b1cd5ae 2015-07-31 Richard Biener <rguenther(a)suse.de>
new 5d262bd Refactoring masked built-in decls to use proper mask type.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/ChangeLog | 537 ++++++
gcc/config/i386/i386-builtin-types.def | 864 ++++-----
gcc/config/i386/i386.c | 3189 ++++++++++++++++----------------
3 files changed, 2456 insertions(+), 2134 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 58c4f49 * go-lang.c (go_langhook_init_options_struct): Don't set x_fl [...]
new b1cd5ae 2015-07-31 Richard Biener <rguenther(a)suse.de>
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/ChangeLog | 5 +++++
gcc/gimple-fold.c | 14 --------------
2 files changed, 5 insertions(+), 14 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 86a932e Don't cancel loop tree in parloops
new 58c4f49 * go-lang.c (go_langhook_init_options_struct): Don't set x_fl [...]
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/go/ChangeLog | 6 ++++++
gcc/go/go-lang.c | 9 +++++----
2 files changed, 11 insertions(+), 4 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 2aa16f1 * sv.po: Update.
new 86a932e Don't cancel loop tree in parloops
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/ChangeLog | 20 ++++++++++++++++++++
gcc/omp-low.c | 32 ++++++++++++++++++++++++++++++--
gcc/tree-parloops.c | 49 ++++++++++++++++++++++++++++++++++++-------------
3 files changed, 86 insertions(+), 15 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 2aa16f1 * sv.po: Update.
new 86a932e Don't cancel loop tree in parloops
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/ChangeLog | 20 ++++++++++++++++++++
gcc/omp-low.c | 32 ++++++++++++++++++++++++++++++--
gcc/tree-parloops.c | 49 ++++++++++++++++++++++++++++++++++++-------------
3 files changed, 86 insertions(+), 15 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 2aa16f1 * sv.po: Update.
new 86a932e Don't cancel loop tree in parloops
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/ChangeLog | 20 ++++++++++++++++++++
gcc/omp-low.c | 32 ++++++++++++++++++++++++++++++--
gcc/tree-parloops.c | 49 ++++++++++++++++++++++++++++++++++++-------------
3 files changed, 86 insertions(+), 15 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.