dgibson / dtc

Device Tree Compiler
235 stars 134 forks source link

python extension build with meson is always quiet #134

Open sharkcz opened 5 months ago

sharkcz commented 5 months ago

Building the python extension with meson is always quiet as it unconditionally passes the --quiet option while the Makefile build only sets the --quiet options when the build is not verbose (V is not set). It makes it impossible to verify the options passed to the compiler and linker for example.

blmaier commented 5 months ago

This could be supported by adding a custom meson_options.txt e.g. option('setuptools-verbose').

Preferably it would be automatic with meson build --verbose. But the compilation is being done indirectly by Python setuptools so Meson's backend doesn't know about it.

sharkcz commented 5 months ago

yes, it would nice if the --verbose option was reflected somewhere in the setup and could be used in the build script