Commit 0844fb59 authored by Adam Wujek's avatar Adam Wujek 💬

sw:tools:proj_creator: (no tech change) fix comments, add author

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent cfb6e96d
#!/bin/bash
#LC_ALL= CROSS_COMPILE_TARGET=/acc/local/share/ht_tools/L866/toolchains/riscv/bin/riscv32-elf- WBGEN2=~/nfs_white_rabbit/ci/build_tools/wishbone-gen/wbgen2 REPO_PARENT=`pwd` ./all.sh
# Author: Adam Wujek, CERN 2018
#
# This script compares the size of produced binaries of a current commit
# (read from a file $size_db_file), with sizes of binaries produced for previous
# commits (read from file $size_db_file).
SIZE="$CROSS_COMPILE_TARGET""size"
if ! [ -n "$size_info_file" ]; then
......@@ -70,7 +75,7 @@ if [ "$GIT_HASH_CUR" = "$GIT_HASH_MASTER" ]; then
exit 0
fi
#echo "Read size info file"
# Read size info file
while read git_hash text data bss dec hex filename
do
if [ "$git_hash" = "$GIT_HASH_CUR" ]; then
......@@ -78,7 +83,7 @@ do
fi
done < "$size_info_file"
#echo "Read size db file"
# Read size db file
while read git_hash text data bss dec hex filename
do
#echo "$git_hash $filename $dec"
......@@ -99,7 +104,7 @@ do
done
#print header
# print header
for i in "${!curr_size_array[@]}"
do
echo -n "+--"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment