This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch bernie/fs
in repository toolchain/abe.
discards e5f29a2 Run second-stage for foreign chroots
discards 1ce0136 Add check that HEAD maps to something meaningful upstream
discards eda99c2 wip: filesystem script
discards 8e53134 Clean up error handling
adds 2793cc5 Clean up error handling
new e5407da Introduce script to build filesystems
new c104d6e Add check that HEAD maps to something meaningful upstream
new b35ff38 Run second-stage for foreign chroots
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (e5f29a2)
\
N -- N -- N refs/heads/bernie/fs (b35ff38)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
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:
scripts/runbenchmark.sh | 4 +---
1 file changed, 1 insertion(+), 3 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.
bernie.ogden pushed a commit to branch bernie/benchmarking
in repository toolchain/abe.
commit 2793cc54582c5111e7d8c1235384dcd0b461727a
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Wed Jul 29 11:44:01 2015 +0200
Clean up error handling
Conservatively default value of error to 1, at beginning of each
script. Always set error when desiring to exit with a specific
error code. Always rely on error on final exit.
Change-Id: I5710c828705bba2d2111fb73c5d3f01e2b815d11
---
scripts/benchmark.sh | 42 ++++++++++++++++++++++++++++--------------
scripts/runbenchmark.sh | 41 +++++++++++++++++++++++++----------------
2 files changed, 53 insertions(+), 30 deletions(-)
diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh
index b81b189..0585021 100755
--- a/scripts/benchmark.sh
+++ b/scripts/benchmark.sh
@@ -13,7 +13,7 @@ set -o nounset
trap clean_top EXIT
trap 'error=1; exit' TERM INT HUP QUIT
-error=0
+error=1
declare -A runpids
clean_top()
@@ -63,7 +63,8 @@ if test -e "${PWD}/host.conf"; then
. "${PWD}/host.conf"
else
echo "ERROR: no host.conf file! Did you run configure?" 1>&2
- exit 1
+ error=1
+ exit
fi
topdir="${abe_path}" #abe global, but this should be the right value for abe
@@ -73,7 +74,8 @@ if test "$((`umask` & 077))" -ne 63; then
echo "umask grants permissions to group and world, will remove those permissions" 1>&2
if ! umask g-rwx,o-rwx; then
echo "umask failed, wibble, aborting" 1>&2
- exit 1
+ error=1
+ exit
fi
fi
#End sanity checks
@@ -99,7 +101,8 @@ while getopts a:b:ce:f:g:hi:kps flag; do
g) tag="${OPTARG}";;
h)
usage
- exit 0
+ error=0
+ exit
;;
i) benchmark_gcc_path="`cd \`dirname ${OPTARG}\` && echo $PWD/\`basename ${OPT [...]
k)
@@ -111,7 +114,8 @@ while getopts a:b:ce:f:g:hi:kps flag; do
echo 'Continue? (y/N)'
read answer
if ! echo "${answer}" | egrep -i '^(y|yes)[[:blank:]]*$' > /dev/null; then
- exit 0
+ error=0
+ exit
fi
;;
p)
@@ -124,7 +128,8 @@ while getopts a:b:ce:f:g:hi:kps flag; do
s) skip_build=1;;
*)
echo "Bad arg" 1>&2
- exit 1
+ error=1
+ exit
;;
esac
done
@@ -134,15 +139,18 @@ devices=("$@")
if test x"${benchmark:-}" = x; then
echo "No benchmark given (-b)" 1>&2
echo "Sensible values might be eembc, spec2000, spec2006" 1>&2
- exit 1
+ error=1
+ exit
fi
if test x"${benchmark_gcc_path:-}" = x; then
echo "No GCC given (-i)" 1>&2
- exit 1
+ error=1
+ exit
fi
if ! test -x "${benchmark_gcc_path}"; then
echo "GCC '${benchmark_gcc_path}' does not exist or is not executable" 1>&2
- exit 1
+ error=1
+ exit
fi
if test x"`basename ${benchmark_gcc_path}`" = xgcc; then #native build
benchmark_gcc_triple=
@@ -160,7 +168,8 @@ else #cross-build, implies we need remote devices
benchmark_gcc_triple="`basename ${benchmark_gcc_path%-gcc}`"
if test ${#devices[@]} -eq 0; then
echo "Cross-compiling gcc '${benchmark_gcc_path} given, but no devices given f [...]
- exit 1
+ error=1
+ exit
fi
fi
@@ -169,14 +178,16 @@ if test x"${skip_build:-}" = x; then
(PATH="`dirname ${benchmark_gcc_path}`":${PATH} COMPILER_FLAGS=${compiler_flags} [...]
if test $? -ne 0; then
echo "Error while building benchmark ${benchmark}" 1>&2
- exit 1
+ error=1
+ exit
fi
fi
builddir="`. ${abe_top}/host.conf && . ${topdir}/lib/common.sh && if test x"${benc [...]
if test $? -ne 0; then
echo "Unable to get builddir" 1>&2
- exit 1
+ error=1
+ exit
fi
#Compress build to a tmpfile in our top-level working directory
@@ -185,17 +196,20 @@ fi
cmpbuild="`mktemp -p ${abe_top} -t ${benchmark}_XXXXXXX.tar.bz2`"
if test $? -ne 0; then
echo "Unable to create temporary file for compressed build output" 1>&2
- exit 1
+ error=1
+ exit
fi
if ! tar cjf "${cmpbuild}" -C "${builddir}/.." "`basename ${builddir}`"; then
echo "Unable to compress ${builddir} to ${cmpbuild}" 1>&2
- exit 1
+ error=1
+ exit
fi
for device in "${devices[@]}"; do
"${topdir}"/scripts/runbenchmark.sh ${post_target_cmd:+-e "${post_target_cmd}"} [...]
runpids[$!]=''
done
+error=0
running_pids=("${!runpids[@]}")
while true; do
for running_pid in "${running_pids[@]}"; do
diff --git a/scripts/runbenchmark.sh b/scripts/runbenchmark.sh
index dabb7c8..5bb8f51 100755
--- a/scripts/runbenchmark.sh
+++ b/scripts/runbenchmark.sh
@@ -4,8 +4,10 @@
set -o pipefail
set -o nounset
+error=1
+
trap clean_benchmark EXIT
-trap 'exit ${error}' TERM INT HUP QUIT
+trap 'exit ${error}' TERM INT HUP QUIT #Signal death can be part of normal control [...]
#Precondition: the target is in known_hosts
ssh_opts="-F /dev/null -o StrictHostKeyChecking=yes -o CheckHostIP=yes"
@@ -32,17 +34,18 @@ while getopts a:b:cd:e:g:kpt: flag; do
t) buildtar="${OPTARG}";;
*)
echo "Bad arg" 1>&2
- exit 1
+ error=1
+ exit
;;
esac
done
shift $((OPTIND - 1))
if test $# -ne 0; then
echo "Surplus arguments: $@" 1>&2
- exit 1
+ error=1
+ exit
fi
-error=1
tee_output=/dev/null
# load the configure file produced by configure
@@ -50,32 +53,34 @@ if test -e "${PWD}/host.conf"; then
. "${PWD}/host.conf"
else
echo "ERROR: no host.conf file! Did you run configure?" 1>&2
- exit 1
+ error=1
+ exit
fi
topdir="${abe_path}" #abe global, but this should be the right value for abe
confdir="${topdir}/config/bench/boards"
benchlog="`. ${abe_top}/host.conf && . ${topdir}/lib/common.sh && read_config ${be [...]
if test $? -ne 0; then
echo "Unable to read benchmark config file for ${benchmark}" 1>&2
- exit 1
+ error=1
+ exit
fi
safe_output="`. ${abe_top}/host.conf && . ${topdir}/lib/common.sh && read_config $ [...]
if test $? -ne 0; then
echo "Unable to read benchmark config file for ${benchmark}" 1>&2
- exit 1
+ error=1
+ exit
fi
. "${confdir}/${device}.conf" #We can't use abe's source_config here as it require [...]
if test $? -ne 0; then
echo "+++ Failed to source ${confdir}/${device}.conf" 1>&2
- exit 1
+ error=1
+ exit
fi
#Make sure that subscripts clean up - we must not leave benchmark sources or data [...]
clean_benchmark()
{
- error=$?
-
if test x"${ip:-}" != x; then
if test x"${target_dir:-}" = x; then
echo "No directory to remove from ${ip}"
@@ -104,12 +109,13 @@ clean_benchmark()
echo "Target post-boot initialisation did not happen, thus nothing to clean up."
fi
- exit "${error}"
+ exit ${error}
}
if ! (. "${topdir}"/lib/common.sh; remote_exec "${ip}" true ${ssh_opts}) > /dev/nu [...]
echo "Unable to connect to target ${ip:-(unknown)}" 1>&2
- exit 1
+ error=1
+ exit
fi
#Should be a sufficient UID, as we wouldn't want to run multiple benchmarks on the [...]
@@ -120,20 +126,23 @@ fi
mkdir -p "${logdir}/${benchmark}.git"
if test $? -ne 0; then
echo "Failed to create dir ${logdir}" 1>&2
- exit 1
+ error=1
+ exit
fi
#Create and populate working dir on target
target_dir="`. ${topdir}/lib/common.sh; remote_exec ${ip} 'mktemp -dt XXXXXXX' ${s [...]
if test $? -ne 0; then
echo "Unable to get tmpdir on target" 1>&2
- exit 1
+ error=1
+ exit
fi
for thing in "${buildtar}" "${topdir}/scripts/controlledrun.sh" "${confdir}/${devi [...]
(. "${topdir}"/lib/common.sh; remote_upload -r 3 "${ip}" "${thing}" "${target_di [...]
if test $? -ne 0; then
echo "Unable to copy ${thing}" to "${ip}:${target_dir}/${thing}" 1>&2
- exit 1
+ error=1
+ exit
fi
done
@@ -223,4 +232,4 @@ if test ${error} -eq 0; then
else
echo "+++ Run of ${benchmark} on ${device} failed"
fi
-exit ${error}
+exit
--
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.
omits 8e53134 Clean up error handling
new 2793cc5 Clean up error handling
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (8e53134)
\
N -- N -- N refs/heads/bernie/benchmarking (2793cc5)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
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:
scripts/runbenchmark.sh | 4 +---
1 file changed, 1 insertion(+), 3 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 b7c1cfe 2015-07-29 Ville Voutilainen <ville.voutilainen(a)gmail.com>
new ed5acf2 * testsuite/24_iterators/container_access.cc: New.
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:
.../testsuite/24_iterators/container_access.cc | 89 ++++++++++++++++++++++
1 file changed, 89 insertions(+)
create mode 100644 libstdc++-v3/testsuite/24_iterators/container_access.cc
--
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 6f52065 [AArch64] Add basic FP16 support
new 87867af 2015-07-29 Ville Voutilainen <ville.voutilainen(a)gmail.com>
new b7c1cfe 2015-07-29 Ville Voutilainen <ville.voutilainen(a)gmail.com>
The 2 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:
libstdc++-v3/ChangeLog | 12 ++
libstdc++-v3/include/bits/functional_hash.h | 28 +++++
libstdc++-v3/include/bits/range_access.h | 121 ++++++++++++++++++---
.../testsuite/20_util/hash/{52931.cc => 60970.cc} | 24 ++--
4 files changed, 157 insertions(+), 28 deletions(-)
copy libstdc++-v3/testsuite/20_util/hash/{52931.cc => 60970.cc} (64%)
--
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 master
in repository gcc.
from 6f52065 [AArch64] Add basic FP16 support
new 87867af 2015-07-29 Ville Voutilainen <ville.voutilainen(a)gmail.com>
new b7c1cfe 2015-07-29 Ville Voutilainen <ville.voutilainen(a)gmail.com>
The 2 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:
libstdc++-v3/ChangeLog | 12 ++
libstdc++-v3/include/bits/functional_hash.h | 28 +++++
libstdc++-v3/include/bits/range_access.h | 121 ++++++++++++++++++---
.../testsuite/20_util/hash/{52931.cc => 60970.cc} | 24 ++--
4 files changed, 157 insertions(+), 28 deletions(-)
copy libstdc++-v3/testsuite/20_util/hash/{52931.cc => 60970.cc} (64%)
--
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 5e0b3d2 2015-07-29 Richard Biener <rguenther(a)suse.de>
new 6f52065 [AArch64] Add basic FP16 support
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 | 23 +++++++++++
gcc/config/aarch64/aarch64-builtins.c | 9 +++++
gcc/config/aarch64/aarch64-modes.def | 4 ++
gcc/config/aarch64/aarch64.c | 47 +++++++++++++++++++++-
gcc/config/aarch64/aarch64.h | 4 +-
gcc/config/aarch64/aarch64.md | 56 ++++++++++++++++++++++++++-
gcc/config/aarch64/iterators.md | 3 ++
gcc/testsuite/ChangeLog | 4 ++
gcc/testsuite/gcc.target/aarch64/f16_movs_1.c | 26 +++++++++++++
9 files changed, 172 insertions(+), 4 deletions(-)
create mode 100644 gcc/testsuite/gcc.target/aarch64/f16_movs_1.c
--
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 master
in repository gcc.
from 1ae7fdc 2015-07-29 Richard Biener <rguenther(a)suse.de>
new 951c31b 2015-07-29 Richard Biener <rguenther(a)suse.de>
new 5e0b3d2 2015-07-29 Richard Biener <rguenther(a)suse.de>
The 2 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 | 14 ++++++++++
gcc/genmatch.c | 21 ++++++++++-----
gcc/match.pd | 81 +++++++++++++++++++++++++++++++---------------------------
3 files changed, 71 insertions(+), 45 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 1ae7fdc 2015-07-29 Richard Biener <rguenther(a)suse.de>
new 951c31b 2015-07-29 Richard Biener <rguenther(a)suse.de>
new 5e0b3d2 2015-07-29 Richard Biener <rguenther(a)suse.de>
The 2 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 | 14 ++++++++++
gcc/genmatch.c | 21 ++++++++++-----
gcc/match.pd | 81 +++++++++++++++++++++++++++++++---------------------------
3 files changed, 71 insertions(+), 45 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.
bernie.ogden pushed a commit to branch bernie/fs
in repository toolchain/abe.
The following commit(s) were added to refs/heads/bernie/fs by this push:
new e5f29a2 Run second-stage for foreign chroots
e5f29a2 is described below
commit e5f29a2141649df93f713727468f79b9575aa963
Author: Bernard Ogden <bernie.ogden(a)linaro.org>
Date: Wed Jul 29 14:03:12 2015 +0200
Run second-stage for foreign chroots
Change-Id: I4b00aae017377562a3d50d2ce4d17094eb93d8f0
---
config/bench/fs/makefs.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/bench/fs/makefs.sh b/config/bench/fs/makefs.sh
index 58ba109..fee62b8 100755
--- a/config/bench/fs/makefs.sh
+++ b/config/bench/fs/makefs.sh
@@ -68,6 +68,12 @@ function genrootfs {
"${suite}" "${outdir}" \
${foreign:-} \
http://snapshot.debian.org/archive/debian/${stamp}
+
+ #This depends on the relevant kernel magic being in place to execute
+ #arm/aarch64 code on qemu, and the relevant qemu being installed
+ if test x"${foreign:-}" != x; then
+ sudo chroot "${outdir}" ./debootstrap/debootstrap --second-stage --second-stag [...]
+ fi
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.