commit | 724c74b11d6e53fc6dce685a261d81eaa5813c4a | [log] [tgz] |
---|---|---|
author | Khang D Nguyen <khangng@os.amperecomputing.com> | Wed Aug 06 09:42:07 2025 +0700 |
committer | khangng <khangng@os.amperecomputing.com> | Mon Aug 11 05:49:56 2025 +0000 |
tree | b64d7ab360b0868a028f558f1954635e2cc2bfaf | |
parent | 01837fe531e8d8c98e591cda40a033f197c11125 [diff] |
build: fixes libdynamiccmds build options Fixes a mistake introduced by the previous patchset to use allowed() for build options: - Original: ''' if not get_option('dynamic-sensors').disabled() or not get_option('tests').disabled() ''' - Expected: ''' if get_option('dynamic-sensors').allowed() or get_option('tests').allowed() ''' - Actual: ''' if get_option('dynamic-sensors').disabled() or not get_option('tests').allowed() ''' This might be caused by mistakenly pattern matching the leading `not` and trailing `disabled` without taking into account multiple conditions. Fixes: ed7dbeff (build: use allowed over enabled or not-disabled) Change-Id: I6a6a6964db49144b0a9d979a797a247c4e5927a6 Signed-off-by: Khang D Nguyen <khangng@os.amperecomputing.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage