Re: Meson and Numa: C header not found - Mailing list pgsql-general

From Tom Lane
Subject Re: Meson and Numa: C header not found
Date
Msg-id 510775.1744295595@sss.pgh.pa.us
Whole thread Raw
In response to Re: Meson and Numa: C header not found  (Tomas Vondra <tomas@vondra.me>)
Responses Re: Meson and Numa: C header not found
List pgsql-general
Tomas Vondra <tomas@vondra.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.

            regards, tom lane



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Interesting case of IMMUTABLE significantly hurting performance
Next
From: Adrian Klaver
Date:
Subject: Re: Capturing both IP address and hostname in the log