Re: feature detection versus feature selection
From: Jiri Olsa
Date: Sun Aug 14 2016 - 07:11:47 EST
On Fri, Aug 12, 2016 at 01:15:00PM -0300, Arnaldo Carvalho de Melo wrote:
> Hey guys,
>
> Now we have this output when building tools with the feature
> detection mechanisms in tools/build/:
>
> Auto-detecting system features:
> ... dwarf: [ on ]
> ... dwarf_getlocations: [ OFF ]
> ... glibc: [ on ]
> ... gtk2: [ on ]
> ... libaudit: [ on ]
> ... libbfd: [ on ]
> ... libelf: [ on ]
> ... libnuma: [ on ]
> ... numa_num_possible_cpus: [ OFF ]
> ... libperl: [ on ]
> ... libpython: [ on ]
> ... libslang: [ on ]
> ... libcrypto: [ on ]
> ... libunwind: [ on ]
> ... libdw-dwarf-unwind: [ OFF ]
> ... zlib: [ on ]
> ... lzma: [ on ]
> ... get_cpuid: [ on ]
> ... bpf: [ on ]
>
>
> What I miss is a way to have another column that would state if
> the user had used, say, NO_LIBELF to disable libelf...
>
> Jiri, is there already some file where we have the list of
> manually disabled features? Or do you have something like that in mind?
> .config files?
my mind is empty ;-)
we could add map for that, or we could just add:
... libbfd: [ on ]
... libelf: [ OFF NO_LIBELF ]
... libnuma: [ on ]
... numa_num_possible_cpus: [ OFF ]
jirka