Lines Matching +full:- +full:- +full:no +full:- +full:install +full:- +full:recommends
20 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 set -euo pipefail
32 OT_TMP_DIR=/tmp/ot-size-report
35 OT_SHA_NEW=${GITHUB_SHA:-$(git rev-parse HEAD)}
38 OT_SHA_OLD="$(git cat-file -p "${OT_SHA_NEW}" | grep 'parent ' | head -n1 | cut -d' ' -f2)"
47 OT_REPORTER="${OT_SIZE_REPORTER-}"
52 if arm-none-eabi-gcc --version | grep -q 'Arm Embedded Processors 7'; then
57 …wget --tries 4 --no-check-certificate --quiet https://developer.arm.com/-/media/Files/downloads/gn…
58 && tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2)
59 export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH
61 arm-none-eabi-gcc --version
66 sudo apt-get --no-install-recommends install -y ninja-build
77 arm-none-eabi-nm --print-size --defined-only -C "$1" | cut -d' ' -f2- >nmsize_old
78 arm-none-eabi-nm --print-size --defined-only -C "$2" | cut -d' ' -f2- >nmsize_new
79 diff -Nuar nmsize_old nmsize_new || true
118 local config_name="ot-core-config-check-size-$1.h"
121 mkdir -p "${OT_TMP_DIR}/${folder}"
122 script/git-tool clone https://github.com/openthread/ot-nrf528xx.git "${OT_TMP_DIR}/${folder}"
123 rm -rf "${OT_TMP_DIR}/${folder}/openthread/*" # replace openthread submodule with latest commit
124 git archive "${sha}" | tar x -C "${OT_TMP_DIR}/${folder}/openthread"
126 if [ ! -e "${OT_TMP_DIR}/${folder}/openthread/examples/config/${config_name}" ]; then
131 rm -rf "${OT_TMP_DIR}/${folder}/openthread/*"
132 git archive "${OT_SHA_NEW}" | tar x -C "${OT_TMP_DIR}/${folder}/openthread"
135 mkdir -p "${OT_TMP_DIR}/${folder}/openthread/examples/config"
147 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=${ot_rcp} \
148 -DOT_FTD=${ot_ftd} -DOT_MTD=${ot_mtd} -DOT_RCP=${ot_rcp} \
149 -DBUILD_TESTING=OFF \
150 -DOT_PROJECT_CONFIG="${config_file}"
153 mv ./build/bin/ot-cli-ftd ./build/bin/ot-cli-ftd-br
154 mv ./build/lib/libopenthread-ftd.a ./build/lib/libopenthread-ftd-br.a
155 mv ./build/lib/libopenthread-cli-ftd.a ./build/lib/libopenthread-cli-ftd-br.a
164 … printf "+----------------------------+----------+----------+----------+----------+----------+\n"
173 printf "| :----: | :------: | -----: | ----: | ---: | ----: |\n"
179 printf "| :----: | :------: | -----: | ----: | ---: | ----: |\n"
182 if [ -n "${OT_REPORTER}" ]; then
210 …read -r -a size_old <<<"$(size "${old_file}" | awk '{text+=$1} {bss+=$2} {data+=$3} {total+=$4} EN…
211 …read -r -a size_new <<<"$(size "${new_file}" | awk '{text+=$1} {bss+=$2} {data+=$3} {total+=$4} EN…
213 local -a size_diff
216 size_diff[$i]="$((size_new["$i"] - size_old["$i"]))"
225 printf "| %-26s | %-8s " "${name}" "${OT_SHA_OLD:0:8}"
229 printf "| %-26s | %-8s " "" "${OT_SHA_NEW:0:8}"
233 printf "| %-26s | %-8s " "" "+/-"
237 … printf "+----------------------------+----------+----------+----------+----------+----------+\n"
251 printf "| | %s " "+/-"
256 if [ -n "${OT_REPORTER}" ]; then
296 if [ -n "${OT_REPORTER}" ]; then
305 rm -rf "${OT_TMP_DIR}"
306 mkdir -p "${OT_TMP_DIR}"
309 git fetch --depth 1 --no-recurse-submodules origin "${OT_SHA_OLD}"
323 "ot-cli-ftd"
324 "ot-ncp-ftd"
325 "libopenthread-ftd.a"
326 "libopenthread-cli-ftd.a"
327 "libopenthread-ncp-ftd.a"
331 "ot-cli-mtd"
332 "ot-ncp-mtd"
333 "libopenthread-mtd.a"
334 "libopenthread-cli-mtd.a"
335 "libopenthread-ncp-mtd.a"
339 "ot-cli-ftd-br"
340 "libopenthread-ftd-br.a"
341 "libopenthread-cli-ftd-br.a"
346 "ot-rcp"
347 "libopenthread-rcp.a"
348 "libopenthread-radio.a"