mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19309
19309: ci/print_versions: print all ESP32 toolchains r=maribu a=benpicco Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
This commit is contained in:
commit
1de75a6cbb
8
dist/tools/ci/print_toolchain_versions.sh
vendored
8
dist/tools/ci/print_toolchain_versions.sh
vendored
@ -24,7 +24,7 @@ get_define() {
|
||||
local cc="$1"
|
||||
local line=
|
||||
if command -v "$cc" 2>&1 >/dev/null; then
|
||||
line=$(echo "$3" | "$cc" -x c -include "$2" -E -o - - 2>&1 | sed -e '/^[ ]*#/d' -e '/^[ ]*$/d')
|
||||
line=$(echo "$3" | "$cc" -x c -include "$2" -E -o - - 2>/dev/null | sed -e '/^[ ]*#/d' -e '/^[ ]*$/d')
|
||||
fi
|
||||
if [ -z "$line" ]; then
|
||||
line=missing
|
||||
@ -129,7 +129,10 @@ for p in \
|
||||
riscv-none-elf \
|
||||
riscv64-unknown-elf \
|
||||
riscv-none-embed \
|
||||
riscv32-esp-elf \
|
||||
xtensa-esp32-elf \
|
||||
xtensa-esp32s2-elf \
|
||||
xtensa-esp32s3-elf \
|
||||
xtensa-esp8266-elf \
|
||||
; do
|
||||
printf "%25s: %s\n" "$p-gcc" "$(get_cmd_version ${p}-gcc)"
|
||||
@ -145,7 +148,10 @@ for p in \
|
||||
riscv-none-elf \
|
||||
riscv64-unknown-elf \
|
||||
riscv-none-embed \
|
||||
riscv32-esp-elf \
|
||||
xtensa-esp32-elf \
|
||||
xtensa-esp32s2-elf \
|
||||
xtensa-esp32s3-elf \
|
||||
xtensa-esp8266-elf \
|
||||
; do
|
||||
printf "%25s: %s\n" "$p-newlib" "$(newlib_version ${p}-gcc)"
|
||||
|
Loading…
Reference in New Issue
Block a user