Mercurial > hg > orthanc
comparison Resources/CMake/BoostConfiguration.sh @ 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 | 0631b56c35eb |
children | 687ff92d173b |
comparison
equal
deleted
inserted
replaced
1829:31df3b48925e | 1830:2921384cc352 |
---|---|
11 ## This script generates this subset. | 11 ## This script generates this subset. |
12 ## | 12 ## |
13 ## History: | 13 ## History: |
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 >= 0.9.2: Boost 1.58.0 | 16 ## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0 |
17 ## - Orthanc >= 0.9.5: Boost 1.59.0 | |
17 | 18 |
18 rm -rf /tmp/boost_1_58_0 | 19 rm -rf /tmp/boost_1_59_0 |
19 rm -rf /tmp/bcp/boost_1_58_0 | 20 rm -rf /tmp/bcp/boost_1_59_0 |
20 | 21 |
21 cd /tmp | 22 cd /tmp |
22 echo "Uncompressing the sources of Boost 1.58.0..." | 23 echo "Uncompressing the sources of Boost 1.59.0..." |
23 tar xfz ./boost_1_58_0.tar.gz | 24 tar xfz ./boost_1_59_0.tar.gz |
24 | 25 |
25 echo "Generating the subset..." | 26 echo "Generating the subset..." |
26 mkdir -p /tmp/bcp/boost_1_58_0 | 27 mkdir -p /tmp/bcp/boost_1_59_0 |
27 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 | 28 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 |
28 cd /tmp/bcp | 29 cd /tmp/bcp |
29 | 30 |
30 echo "Compressing the subset..." | 31 echo "Compressing the subset..." |
31 tar cfz boost_1_58_0_bcpdigest-0.9.2.tar.gz boost_1_58_0 | 32 tar cfz boost_1_59_0_bcpdigest-0.9.5.tar.gz boost_1_59_0 |
32 ls -l boost_1_58_0_bcpdigest-0.9.2.tar.gz | 33 ls -l boost_1_59_0_bcpdigest-0.9.5.tar.gz |
33 md5sum boost_1_58_0_bcpdigest-0.9.2.tar.gz | 34 md5sum boost_1_59_0_bcpdigest-0.9.5.tar.gz |
34 readlink -f boost_1_58_0_bcpdigest-0.9.2.tar.gz | 35 readlink -f boost_1_59_0_bcpdigest-0.9.5.tar.gz |