Skip to content

Commit

Permalink
tools: record correct gcc version for gcc13
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Apr 29, 2024
1 parent e4ae277 commit 7e8fcac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/scripts/misc/build_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function collect_buildinfo {
echo "Nuclei SDK Version: on $(git rev-parse --abbrev-ref HEAD) branch, $(git describe --always --abbrev=10 --dirty --tags 2>&1)" >> $benchbuild
echo -n "GCC Version: " >> $benchbuild
riscv-nuclei-elf-gcc -v >> $benchbuild 2>&1
riscv64-unknown-elf-gcc -v >> $benchbuild 2>&1
}

gen_elf_loc=${LOGDIR}
Expand Down
1 change: 1 addition & 0 deletions tools/scripts/misc/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ function describe_build {
date >> $logfile
echo "Nuclei GNU Toolchain Version:" >> $logfile
riscv-nuclei-elf-gcc -v >> $logfile 2>&1
riscv64-unknown-elf-gcc -v >> $logfile 2>&1
}

function describe_sdk {
Expand Down
1 change: 1 addition & 0 deletions tools/scripts/misc/run_libncrt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function do_test_on_gcc {

setup_gcc $GCC_VER
riscv-nuclei-elf-gcc -v > $buildtxt 2>&1
riscv64-unknown-elf-gcc -v >> $buildtxt 2>&1

do_test $app | tee $runlog

Expand Down

0 comments on commit 7e8fcac

Please sign in to comment.