public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Test: cmake-3.17.3-1
Date: Sat, 18 Jul 2020 08:14:29 +0200	[thread overview]
Message-ID: <875zal4aey.fsf@Rainer.invalid> (raw)
In-Reply-To: <20200718094555.9CED.50F79699@gmail.com> (Lemures Lemniscati via Cygwin's message of "Sat, 18 Jul 2020 09:45:59 +0900")

Lemures Lemniscati via Cygwin writes:
> 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)

I'd suggest we rather patch Cygwin to provide that field in meminfo.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

  parent reply	other threads:[~2020-07-18  6:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17 21:47 Marco Atzeri via Cygwin-announce
2020-07-18  0:45 ` Lemures Lemniscati
2020-07-18  5:47   ` Marco Atzeri
2020-07-19  1:07     ` Lemures Lemniscati
2020-07-18  6:14   ` Achim Gratz [this message]
2020-07-18  6:26     ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zal4aey.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).