mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 08:17:40 -04:00
We get full build parallelism and fewer confusing ancient distutils paths. The python wheels build fully standalone, including linking libfdt as a static library. For convenience, when running pip install a meson option is passed that prevents building tools or installing headers/pkgconfig files. meson-python would otherwise include them in the wheel itself, in case they are needed, but this is essentially a bit useless so don't bother. The old setuptools-based build is now redundant and goes away. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> Message-ID: <20250430152601.43554-3-eschwartz@gentoo.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
14 lines
685 B
Meson
14 lines
685 B
Meson
option('tools', type: 'boolean', value: true,
|
|
description: 'Build tools')
|
|
option('assume-mask', type: 'integer', value: 0,
|
|
description: 'Control the assumptions made (e.g. risking security issues) in the code.')
|
|
option('yaml', type: 'feature', value: 'auto',
|
|
description: 'YAML support')
|
|
option('valgrind', type: 'feature', value: 'auto',
|
|
description: 'Valgrind support')
|
|
option('python', type: 'feature', value: 'auto',
|
|
description: 'Build pylibfdt Python library')
|
|
option('tests', type: 'boolean', value: true,
|
|
description: 'Build tests')
|
|
option('wheel-only', type: 'boolean', value: false,
|
|
description: 'building from meson-python')
|