Mercurial > hg > orthanc
changeset 1830:2921384cc352
Upgrade to Boost 1.59.0 for static builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 26 Nov 2015 15:56:32 +0100 |
parents | 31df3b48925e |
children | 3ae2ff249675 |
files | NEWS Resources/CMake/BoostConfiguration.cmake Resources/CMake/BoostConfiguration.sh UnitTestsSources/VersionsTests.cpp |
diffstat | 4 files changed, 18 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Wed Nov 25 17:35:52 2015 +0100 +++ b/NEWS Thu Nov 26 15:56:32 2015 +0100 @@ -69,6 +69,7 @@ * "--logdir" flag creates a single log file instead of 3 separate files for errors/warnings/infos * "--errors" flag lists the error codes that could be returned by Orthanc * Under Windows, the exit status of Orthanc corresponds to the encountered error code +* Upgrade to Boost 1.59.0 for static builds Version 0.9.4 (2015/09/16)
--- a/Resources/CMake/BoostConfiguration.cmake Wed Nov 25 17:35:52 2015 +0100 +++ b/Resources/CMake/BoostConfiguration.cmake Thu Nov 26 15:56:32 2015 +0100 @@ -39,10 +39,10 @@ if (BOOST_STATIC) - # Parameters for Boost 1.58.0 - set(BOOST_NAME boost_1_58_0) - set(BOOST_BCP_SUFFIX bcpdigest-0.9.2) - set(BOOST_MD5 "704b110917cbda903e07cb53934b47ac") + # Parameters for Boost 1.59.0 + set(BOOST_NAME boost_1_59_0) + set(BOOST_BCP_SUFFIX bcpdigest-0.9.5) + set(BOOST_MD5 "08abb7cdbea0b380f9ab0d5cce476f12") set(BOOST_URL "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/${BOOST_NAME}_${BOOST_BCP_SUFFIX}.tar.gz") set(BOOST_FILESYSTEM_SOURCES_DIR "${BOOST_NAME}/libs/filesystem/src") set(BOOST_SOURCES_DIR ${CMAKE_BINARY_DIR}/${BOOST_NAME})
--- a/Resources/CMake/BoostConfiguration.sh Wed Nov 25 17:35:52 2015 +0100 +++ b/Resources/CMake/BoostConfiguration.sh Thu Nov 26 15:56:32 2015 +0100 @@ -13,22 +13,23 @@ ## History: ## - Orthanc between 0.6.2 and 0.7.3: Boost 1.54.0 ## - Orthanc between 0.7.4 and 0.9.1: Boost 1.55.0 -## - Orthanc >= 0.9.2: Boost 1.58.0 +## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0 +## - Orthanc >= 0.9.5: Boost 1.59.0 -rm -rf /tmp/boost_1_58_0 -rm -rf /tmp/bcp/boost_1_58_0 +rm -rf /tmp/boost_1_59_0 +rm -rf /tmp/bcp/boost_1_59_0 cd /tmp -echo "Uncompressing the sources of Boost 1.58.0..." -tar xfz ./boost_1_58_0.tar.gz +echo "Uncompressing the sources of Boost 1.59.0..." +tar xfz ./boost_1_59_0.tar.gz echo "Generating the subset..." -mkdir -p /tmp/bcp/boost_1_58_0 -bcp --boost=/tmp/boost_1_58_0 thread system locale date_time filesystem math/special_functions algorithm uuid atomic /tmp/bcp/boost_1_58_0 +mkdir -p /tmp/bcp/boost_1_59_0 +bcp --boost=/tmp/boost_1_59_0 thread system locale date_time filesystem math/special_functions algorithm uuid atomic iostreams /tmp/bcp/boost_1_59_0 cd /tmp/bcp echo "Compressing the subset..." -tar cfz boost_1_58_0_bcpdigest-0.9.2.tar.gz boost_1_58_0 -ls -l boost_1_58_0_bcpdigest-0.9.2.tar.gz -md5sum boost_1_58_0_bcpdigest-0.9.2.tar.gz -readlink -f boost_1_58_0_bcpdigest-0.9.2.tar.gz +tar cfz boost_1_59_0_bcpdigest-0.9.5.tar.gz boost_1_59_0 +ls -l boost_1_59_0_bcpdigest-0.9.5.tar.gz +md5sum boost_1_59_0_bcpdigest-0.9.5.tar.gz +readlink -f boost_1_59_0_bcpdigest-0.9.5.tar.gz
--- a/UnitTestsSources/VersionsTests.cpp Wed Nov 25 17:35:52 2015 +0100 +++ b/UnitTestsSources/VersionsTests.cpp Thu Nov 26 15:56:32 2015 +0100 @@ -102,7 +102,7 @@ TEST(Versions, BoostStatic) { - ASSERT_STREQ("1_58", BOOST_LIB_VERSION); + ASSERT_STREQ("1_59", BOOST_LIB_VERSION); } TEST(Versions, CurlStatic)