comparison Resources/CMake/BoostConfiguration.sh @ 2432:5a650eef0794

Upgrade to Boost 1.65.1 in static builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Nov 2017 17:49:57 +0100
parents 415450f11cc7
children 94423976888e
comparison
equal deleted inserted replaced
2431:14537babc1e6 2432:5a650eef0794
14 ## - Orthanc between 0.6.2 and 0.7.3: Boost 1.54.0 14 ## - Orthanc between 0.6.2 and 0.7.3: Boost 1.54.0
15 ## - Orthanc between 0.7.4 and 0.9.1: Boost 1.55.0 15 ## - Orthanc between 0.7.4 and 0.9.1: Boost 1.55.0
16 ## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0 16 ## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0
17 ## - Orthanc between 0.9.5 and 1.0.0: Boost 1.59.0 17 ## - Orthanc between 0.9.5 and 1.0.0: Boost 1.59.0
18 ## - Orthanc between 1.1.0 and 1.2.0: Boost 1.60.0 18 ## - Orthanc between 1.1.0 and 1.2.0: Boost 1.60.0
19 ## - Orthanc >= 1.3.0: Boost 1.64.0 19 ## - Orthanc 1.3.0: Boost 1.64.0
20 ## - Orthanc >= 1.3.1: Boost 1.65.1
20 21
21 rm -rf /tmp/boost_1_64_0 22 BOOST_VERSION=1_65_1
22 rm -rf /tmp/bcp/boost_1_64_0 23 ORTHANC_VERSION=1.3.1
24
25 rm -rf /tmp/boost_${BOOST_VERSION}
26 rm -rf /tmp/bcp/boost_${BOOST_VERSION}
23 27
24 cd /tmp 28 cd /tmp
25 echo "Uncompressing the sources of Boost 1.64.0..." 29 echo "Uncompressing the sources of Boost ${BOOST_VERSION}..."
26 tar xfz ./boost_1_64_0.tar.gz 30 tar xfz ./boost_${BOOST_VERSION}.tar.gz
27 31
28 echo "Generating the subset..." 32 echo "Generating the subset..."
29 mkdir -p /tmp/bcp/boost_1_64_0 33 mkdir -p /tmp/bcp/boost_${BOOST_VERSION}
30 bcp --boost=/tmp/boost_1_64_0 thread system locale date_time filesystem math/special_functions algorithm uuid atomic iostreams program_options numeric/ublas /tmp/bcp/boost_1_64_0 34 bcp --boost=/tmp/boost_${BOOST_VERSION} thread system locale date_time filesystem math/special_functions algorithm uuid atomic iostreams program_options numeric/ublas geometry polygon /tmp/bcp/boost_${BOOST_VERSION}
31 cd /tmp/bcp 35 cd /tmp/bcp
32 36
33 echo "Compressing the subset..." 37 echo "Compressing the subset..."
34 tar cfz boost_1_64_0_bcpdigest-1.3.0.tar.gz boost_1_64_0 38 tar cfz boost_${BOOST_VERSION}_bcpdigest-${ORTHANC_VERSION}.tar.gz boost_${BOOST_VERSION}
35 ls -l boost_1_64_0_bcpdigest-1.3.0.tar.gz 39 ls -l boost_${BOOST_VERSION}_bcpdigest-${ORTHANC_VERSION}.tar.gz
36 md5sum boost_1_64_0_bcpdigest-1.3.0.tar.gz 40 md5sum boost_${BOOST_VERSION}_bcpdigest-${ORTHANC_VERSION}.tar.gz
37 readlink -f boost_1_64_0_bcpdigest-1.3.0.tar.gz 41 readlink -f boost_${BOOST_VERSION}_bcpdigest-${ORTHANC_VERSION}.tar.gz