On Thu, Mar 22, 2018 at 4:27 PM, Ross Zwisler
<[email protected]> wrote:
> On Thu, Mar 22, 2018 at 03:47:01PM -0700, Dan Williams wrote:
>> On Thu, Mar 22, 2018 at 11:40 AM, Ross Zwisler
>> <[email protected]> wrote:
>> > Instead of just failing to find namespaces when trying to filter by NUMA
>> > node when CONFIG_NUMA wasn't enabled in the kernel, instead fail loudly as
>> > numactl does:
>> >
>> >   # numactl --cpunodebind=0 ls
>> >   numactl: This system does not support NUMA policy
>> >
>> > Signed-off-by: Ross Zwisler <[email protected]>
>> > ---
>> >
>> > This enabling requires numactl to create a pkg-config file, which it
>> > currently does not.  This support is added by the following patch which
>> > I just sent out:
>> >
>> > https://patchwork.kernel.org/patch/10302135/
>>
>> Hmm, it's going to be a while for that to be picked up and filter out
>> into all the distributions so we can either wait for the next numactl
>> release to become commonly available, or rework this ndctl change to
>> be independent of pkgconfig dependency.
>
> Sure - I'm not yet sure how to do that. :)  Any tips on how to check for
> library dependencies without pgk-config support?

The AC_CHECK_LIB() autoconf macro is the place to start.
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to