Re: Meson and Numa: C header not found

From: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tomas Vondra <tomas(at)vondra(dot)me>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Meson and Numa: C header not found
Date: 2025-04-10 15:48:40
Message-ID: GV0P278MB0419F72DEEB3A5793556853BD2B72@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>Tomas Vondra <tomas(at)vondra(dot)me> writes:
>> On 4/10/25 08:00, Daniel Westermann (DWE) wrote:
>>> I wanted to play a bit with the Numa stuff recently committed but Meson fails to find numa.h:
>>> Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0
>>> Run-time dependency numa found: YES 2.0.19
>>>
>>> ../postgresql/meson.build:957:12: ERROR: C header 'numa.h' not found

>> That's weird. I'm on Fedora 41 too, and I don't have this issue. If I do

>I couldn't reproduce it on F41 either.  Note that you need to
>have numactl-devel installed else /usr/include/numa.h isn't
>there; but meson seems to fail as-expected without that,
>or silently fall back to libnuma=disabled if you don't try to
force it.
>
  
It is there:

postgres(at)pgbox:/home/postgres/ [DEV] ls /usr/include/numa.h
/usr/include/numa.h

Regards
Daniel

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-04-10 15:59:05 Re: Interesting case of IMMUTABLE significantly hurting performance
Previous Message Adrian Klaver 2025-04-10 15:38:18 Re: Interesting case of IMMUTABLE significantly hurting performance