commit | ea0e5d27a869a88ab40617675d2af4e6b9fbed92 | [log] [tgz] |
---|---|---|
author | Ed Tanous <etanous@nvidia.com> | Mon Nov 11 10:00:56 2024 -0800 |
committer | Ed Tanous <ed@tanous.net> | Mon Nov 11 10:07:00 2024 -0800 |
tree | e7cc817ea227712c89b460f82e601e298ab39b75 | |
parent | cf72403d7ef358974c18ff5257f5e763151952ec [diff] |
Fix compile error on boost 1.86 Boost 1.86 shows a compiler error which is holding up the rebase here. The mapper extends std::vector, because it results in smaller binary sizes compared to boost::vector. It's not clear if this is the problem, or if there's something else amiss within container. Triaging the real root cause isn't important to this use case. There are a few reported bugs and changes that might be related[1][2]. It's not clear which one would've broken try_emplace in this case, nor is it worth the effort to resolve. This patchset replaces try_emplace calls with emplace calls. In theory these are slightly less efficient, but considering that map construction is a cold path, it's not terribly important that it be efficient. [1] https://github.com/boostorg/container/issues/292 [2] https://github.com/boostorg/container/issues/280 Change-Id: I30d176022d2cec45430a50dc02c84666541fb4d7 Signed-off-by: Ed Tanous <etanous@nvidia.com>
This repository contains the mapper, which assists in finding things on D-Bus. There is documentation about it here.
Non-OpenBMC build dependencies are:
meson build && ninja -C build
meson build && ninja -C build test
rm -rf build