Skip to contentSkip to conversation

feature detection versus feature selection

DISCUSSION Arnaldo Carvalho de Melo 2 participants 2 messages Aug 12, 2016 – Aug 14, 2016

lore
Share & tools
lore
#0 lore raw

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?

- Arnaldo

#1 lore raw
Quoted 27 lines · Arnaldo Carvalho de Melo

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  ]
Quoted 6 lines

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