changeset 5397:e7f6ec8cbc35

upgraded boost to 1.83.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 11 Oct 2023 14:47:39 +0200
parents c5f1865aaa3b
children 08b5516c6e5e
files NEWS OrthancFramework/Resources/CMake/BoostConfiguration.cmake OrthancFramework/Resources/CMake/BoostConfiguration.sh OrthancServer/UnitTestsSources/VersionsTests.cpp
diffstat 4 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Wed Oct 11 12:41:41 2023 +0200
+++ b/NEWS	Wed Oct 11 14:47:39 2023 +0200
@@ -26,6 +26,8 @@
 * Housekeeper: Introduced a 'sleep' to lower CPU usage when idle.
 * Support multiple values in SpecificCharacterSet in C-Find answers:
   https://discourse.orthanc-server.org/t/c-find-fails-on-unknown-specific-character-set-iso-2022-ir-6-iso-2022-ir-100/3947
+* Upgraded dependencies for static builds:
+  - boost 1.83.0
   
 
 
--- a/OrthancFramework/Resources/CMake/BoostConfiguration.cmake	Wed Oct 11 12:41:41 2023 +0200
+++ b/OrthancFramework/Resources/CMake/BoostConfiguration.cmake	Wed Oct 11 14:47:39 2023 +0200
@@ -90,10 +90,10 @@
   ## Parameters for static compilation of Boost 
   ##
   
-  set(BOOST_NAME boost_1_82_0)
-  set(BOOST_VERSION 1.82.0)
-  set(BOOST_BCP_SUFFIX bcpdigest-1.12.1)
-  set(BOOST_MD5 "9d02d026c61870b1838b53293692326f")
+  set(BOOST_NAME boost_1_83_0)
+  set(BOOST_VERSION 1.83.0)
+  set(BOOST_BCP_SUFFIX bcpdigest-1.12.2)
+  set(BOOST_MD5 "6a9c4af273635301ed1e221054c34c69")
   set(BOOST_URL "https://orthanc.uclouvain.be/third-party-downloads/${BOOST_NAME}_${BOOST_BCP_SUFFIX}.tar.gz")
   set(BOOST_SOURCES_DIR ${CMAKE_BINARY_DIR}/${BOOST_NAME})
 
--- a/OrthancFramework/Resources/CMake/BoostConfiguration.sh	Wed Oct 11 12:41:41 2023 +0200
+++ b/OrthancFramework/Resources/CMake/BoostConfiguration.sh	Wed Oct 11 14:47:39 2023 +0200
@@ -23,10 +23,11 @@
 ##   - Orthanc between 1.5.0 and 1.5.4: Boost 1.68.0
 ##   - Orthanc between 1.5.5 and 1.11.1: Boost 1.69.0
 ##   - Orthanc between 1.11.2 and 1.12.0: Boost 1.80.0
-##   - Orthanc >= 1.12.1: Boost 1.82.0
+##   - Orthanc 1.12.1: Boost 1.82.0
+##   - Orthanc > 1.12.1: Boost 1.83.0
 
-BOOST_VERSION=1_82_0
-ORTHANC_VERSION=1.12.1
+BOOST_VERSION=1_83_0
+ORTHANC_VERSION=1.12.2
 
 rm -rf /tmp/boost_${BOOST_VERSION}
 rm -rf /tmp/bcp/boost_${BOOST_VERSION}
--- a/OrthancServer/UnitTestsSources/VersionsTests.cpp	Wed Oct 11 12:41:41 2023 +0200
+++ b/OrthancServer/UnitTestsSources/VersionsTests.cpp	Wed Oct 11 14:47:39 2023 +0200
@@ -112,7 +112,7 @@
 
 TEST(Versions, BoostStatic)
 {
-  ASSERT_TRUE(std::string(BOOST_LIB_VERSION) == "1_82" ||
+  ASSERT_TRUE(std::string(BOOST_LIB_VERSION) == "1_83" ||
               std::string(BOOST_LIB_VERSION) == "1_69" /* if USE_LEGACY_BOOST */);
 }