diff --git a/.travis.yml b/.travis.yml index 9b80de1fb..977052659 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ matrix: - env: cmake=1 toolset=gcc - env: variant=test_debug crypto=openssl docs=1 tests=1 examples=1 tools=1 python=1 toolset=darwin ios=1 os: osx - osx_image: xcode9.2 + osx_image: xcode11.2 - env: arch=arm toolset=gcc-arm notifications: @@ -216,6 +216,10 @@ script: # the same, in order for builds to be reused between invocations - export B2_ARGS="crypto=$crypto debug-iterators=on picker-debugging=on asserts=on invariant-checks=full $toolset variant=$variant" + - 'if [[ $TRAVIS_OS_NAME == "osx" && "$crypto" == "openssl" ]]; then + export B2_ARGS="${B2_ARGS} openssl-lib=/usr/local/opt/openssl@1.1/lib openssl-include=/usr/local/opt/openssl@1.1/include" ; + fi' + - 'if [ "$check_headers" == "1" ]; then ${B2} -j3 check-headers ${B2_ARGS}; fi' diff --git a/Jamfile b/Jamfile index 5c490b771..0b16cc191 100644 --- a/Jamfile +++ b/Jamfile @@ -28,20 +28,21 @@ if $(BOOST_ROOT) else { local boost-lib-search-path = - /usr/local/lib + /usr/local/opt/boost/lib ; local boost-include-path = - /usr/local/include - /usr/sfw/include + /usr/local/opt/boost/include ; - # the names are decorated in MacPorts + # the names are decorated in MacPorts. lib boost_system : : darwin boost_system-mt $(boost-lib-search-path) : : $(boost-include-path) ; - lib boost_system : : boost_system $(boost-lib-search-path) - : : $(boost-include-path) ; + # we can't add /usr/local/lib to the search path on mac, as that will + # interfere with system libraries (specifically libjpeg) + lib boost_system : : boost_system $(boost-lib-search-path) /usr/local/lib + : : $(boost-include-path) /usr/local/include ; } VERSION = 1.2.2 ; @@ -211,6 +212,9 @@ rule warnings ( properties * ) # enable these warnings again, once the other ones are dealt with result += -Wno-weak-vtables ; + + result += -Wno-return-std-move-in-c++11 ; + result += -Wno-unknown-warning-option ; } if gcc in $(properties)