Patch Boost to suppress warnings on clang

This commit is contained in:
Nik Bougalis
2014-07-03 10:16:41 -07:00
parent baaa45f8c7
commit 10150a7352
4 changed files with 34 additions and 5 deletions

View File

@@ -17,6 +17,9 @@ before_install:
mkdir -p $BOOST_ROOT/stage
ln -s /usr/lib/x86_64-linux-gnu $BOOST_ROOT/stage/lib
ln -s /usr/include/boost $BOOST_ROOT/boost
- | # Try to patch boost
sudo patch /usr/include/boost/bimap/detail/debug/static_error.hpp Builds/travis/static_error.boost.patch
sudo patch /usr/include/boost/config/compiler/clang.hpp Builds/travis/clang.boost.patch
- sudo apt-get install -qq mlocate
- sudo updatedb
- sudo locate libboost | grep /lib | grep -e ".a$"