commit | 768730d23975fdee0178fcf6d8a95280791b057f | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 06 16:27:20 2023 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 06 21:48:54 2023 -0500 |
tree | 14f2b37a2ea225f16e32dca22a7333c6349f0631 | |
parent | 6856f1b0b87aa00b2af811f02bdb7e7c51e41ca1 [diff] |
meson: add option for open-power functions This repository has long had an open-power only function that ends up compiled into all systems. We cannot use the phosphor-logging generated errors, unless we are able to disable this code on non-open-power systems. Add necessary meson options. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icd5b2f4cdec206597029930790ef2b10170d232a
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