Skip to content
Commit 2a83cbca authored by Ed Tanous's avatar Ed Tanous Committed by Brad Bishop
Browse files

Reapply boost library filtering



6be1787fdc13405fa9daa6755c28534bbcaa7458 reverted this change
temporarily to get around a yocto recipe refactor that was preventing us
from upgrading cleanly.  Unfortunately, there's nothing more permanent
than a temporary hack, so this patch never got reapplied.
Recently, we've had issues with Palmetto failing to build boost::regex
with an error:
./boost/regex/v5/mem_block_cache.hpp:91:11: error: 'static_mutex' in
namespace 'boost' does not name a type

Considering OpenBMC doesn't use boost regex (or a bunch of the other
boost libraries) we shouldn't be building them.

For reference, 57acb468 was the original
patch, and contains more details on the advantages of this, but the keys
are we reduce the build times significantly by only building the two
libraries OpenBMC uses, and we avoid bugs like this in boost modules we
don't care about, as we're only building the modules we use.

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Change-Id: I4006618c6553d72bf7f47baadb0c3e35e141bdc9
parent 6896c6e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment