Merge pull request #3351 from ronald-cron-arm/make_cmake_versions

Add output of make, cmake and python3 versions
This commit is contained in:
danh-arm 2020-05-27 17:37:19 +01:00 committed by GitHub
commit 14b8b3cd51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@
# This includes: # This includes:
# - architecture of the system # - architecture of the system
# - type and version of the operating system # - type and version of the operating system
# - version of make and cmake
# - version of armcc, clang, gcc-arm and gcc compilers # - version of armcc, clang, gcc-arm and gcc compilers
# - version of libc, clang, asan and valgrind if installed # - version of libc, clang, asan and valgrind if installed
# - version of gnuTLS and OpenSSL # - version of gnuTLS and OpenSSL
@ -71,6 +72,12 @@ echo
echo "** Tool Versions:" echo "** Tool Versions:"
echo echo
print_version "make" "--version" "" "head -n 1"
echo
print_version "cmake" "--version" "" "head -n 1"
echo
if [ "${RUN_ARMCC:-1}" -ne 0 ]; then if [ "${RUN_ARMCC:-1}" -ne 0 ]; then
: "${ARMC5_CC:=armcc}" : "${ARMC5_CC:=armcc}"
print_version "$ARMC5_CC" "--vsn" "" "head -n 2" print_version "$ARMC5_CC" "--vsn" "" "head -n 2"
@ -105,6 +112,9 @@ echo
print_version "python" "--version" "" "head -n 1" print_version "python" "--version" "" "head -n 1"
echo echo
print_version "python3" "--version" "" "head -n 1"
echo
# Find the installed version of Pylint. Installed as a distro package this can # 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 # be pylint3 and as a PEP egg, pylint. In test scripts We prefer pylint over
# pylint3 # pylint3