From 2c1a1f0a2dc7b99c68a6bbda80dbbda921d1612a Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 25 May 2020 13:11:32 +0200 Subject: [PATCH 1/2] Add output of make and cmake versions Add output of make and cmake versions to output_env.sh. That way we can see their versions in the CI. Signed-off-by: Ronald Cron --- scripts/output_env.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/output_env.sh b/scripts/output_env.sh index 04edc3812..927040ebe 100755 --- a/scripts/output_env.sh +++ b/scripts/output_env.sh @@ -13,6 +13,7 @@ # This includes: # - architecture of the system # - type and version of the operating system +# - version of make and cmake # - version of armcc, clang, gcc-arm and gcc compilers # - version of libc, clang, asan and valgrind if installed # - version of gnuTLS and OpenSSL @@ -71,6 +72,12 @@ echo echo "** Tool Versions:" echo +print_version "make" "--version" "" "head -n 1" +echo + +print_version "cmake" "--version" "" "head -n 1" +echo + if [ "${RUN_ARMCC:-1}" -ne 0 ]; then : "${ARMC5_CC:=armcc}" print_version "$ARMC5_CC" "--vsn" "" "head -n 2" From 87e658d5a41943165b34c57fc1cb7df29f168353 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 25 May 2020 13:55:21 +0200 Subject: [PATCH 2/2] Add output of `python3` version Add output of python3 version to output_env.sh. Added in addition to the version of `python` as some project's scripts try both executable names. Signed-off-by: Ronald Cron --- scripts/output_env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/output_env.sh b/scripts/output_env.sh index 927040ebe..35452795d 100755 --- a/scripts/output_env.sh +++ b/scripts/output_env.sh @@ -112,6 +112,9 @@ echo print_version "python" "--version" "" "head -n 1" echo +print_version "python3" "--version" "" "head -n 1" +echo + # Find the installed version of Pylint. Installed as a distro package this can # be pylint3 and as a PEP egg, pylint. In test scripts We prefer pylint over # pylint3