diff --git a/debian/changelog b/debian/changelog index 81d70bd2..e0835a8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ llvm-toolchain-17 (1:17.0.2-1~exp2) UNRELEASED; urgency=medium * Build-depend on libncurses-dev instead of libncurses5-dev. * Use a stamps subdirectory for all build stamps. * Factor-out the calls to dh_listpackages. + * d/rules/preconfigure: Print info about build environment. -- Sylvestre Ledru Wed, 04 Oct 2023 09:46:49 +0200 diff --git a/debian/rules b/debian/rules index fe2f03a2..43883ba2 100755 --- a/debian/rules +++ b/debian/rules @@ -539,6 +539,14 @@ stamps/preconfigure: echo "llvm spriv isn't detected while it should probably for this distro"; \ fi + @echo "Memory:" + @if [ -e /proc/meminfo ]; then \ + cat /proc/meminfo | grep -E '(Mem|Swap)Free|Cached'; \ + else \ + echo " No memory info available"; \ + fi + @echo "Processors: $$(cat /proc/cpuinfo | grep --count '^processor')" + @echo "DEB_BUILD_OPTIONS=$(DEB_BUILD_OPTIONS)" @echo "DEB_HOST_MULTIARCH=$(DEB_HOST_MULTIARCH)" @echo "DEB_HOST_GNU_TYPE=$(DEB_HOST_GNU_TYPE)"