commit | 57f4941c2c4863f235fc229fa1988a3b02557a58 | [log] [tgz] |
---|---|---|
author | Peter Foley <pefoley@google.com> | Wed Nov 01 11:10:41 2023 -0400 |
committer | Peter Foley <pefoley@google.com> | Wed Nov 01 11:11:37 2023 -0400 |
tree | 00caed6f8a0ed0927fc2fb739f39674f870f92df | |
parent | 824ca81f18fb7b2d8d08b814c8aabddc76ba9f7c [diff] |
types: Support allocator rebinding Avoid build failures with libc++ like: include/c++/v1/vector:407:19: error: static assertion failed due to requirement 'is_same<ipmi::SecureAllocator<unsigned char>, std::allocator<unsigned char>>::value': [allocator.requirements] states that rebinding an allocator to the same type should result in the original allocator 407 | static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value, Change-Id: I6f9637e2177669dce3509243135135a1b73fa9fe Signed-off-by: Peter Foley <pefoley@google.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