On 18.07.2020 02:45, Lemures Lemniscati via Cygwin wrote:


Hi!

Thank you for updating cmake.

Some errors'll occur in Source/kwsys/SystemInformation.cxx
since /proc/meminfo in Cygwin has only these fields

$ cat /proc/meminfo
MemTotal:       20824372 kB
MemFree:        13545156 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:       20824372 kB
LowFree:        13545156 kB
SwapTotal:       3145728 kB
SwapFree:        3131252 kB

In particular, we have no MemAvailable field in Cygwin.



I attached a patch 0001-3.17.3-cpuinfo_suppl.patch for this issue,
which should be applied after 3.17.3-cpuinfo.patch

The patch separates a case defined(__CYGWIN__) from a case defined(__linux)


Regards,

Lem



Thanks Lem

appreciated, I will add it for -2 before final release.

If you find anything else, let me know

Marco
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to