diff options
author | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-02-07 14:16:59 -0600 |
---|---|---|
committer | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-02-07 14:16:59 -0600 |
commit | 78b383a33f0c95afb21d8188cddbb0aabe12ac3d (patch) | |
tree | 14ca64de01dba8e2b5c2c31775a91e137c247269 | |
parent | 8600ae9290a081009f04dc7e0f892d07b5bbce77 (diff) | |
download | at-78b383a33f0c95afb21d8188cddbb0aabe12ac3d.tar.gz |
Prepend building and syncing with time
Just for fun
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-rw-r--r-- | tools.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -176,7 +176,7 @@ function build() { export PATH=$PATH:`pwd`/gcc-linaro-aarch64-linux-gnu-4.7/bin if [ -z "$1" ]; then - make -j${CPUS} boottarball systemtarball userdatatarball showcommands 2>&1 | tee build_log.txt + time make -j${CPUS} boottarball systemtarball userdatatarball showcommands 2>&1 | tee build_log.txt else make -j${CPUS} $1 showcommands 2>&1 | tee build_log.txt fi @@ -526,7 +526,7 @@ function getbuildrun() { chmod +x repo ./repo init -u ssh://$REMOTEUSER@linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/android/manifest.git -b linaro_android_4.2.1 -m vexpress-juice-aosp.xml sed -i "s/linaro-big-little-switcher-bot/$REMOTEUSER/" .repo/manifest.xml - ./repo sync # this may take some time + time ./repo sync # this may take some time buildrun } |