Mercurial > hg > orthanc
comparison Resources/CMake/BoostConfiguration.sh @ 1473:0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 31 Jul 2015 11:10:27 +0200 |
parents | a6576b478553 |
children | 2921384cc352 |
comparison
equal
deleted
inserted
replaced
1472:237d83694d82 | 1473:0631b56c35eb |
---|---|
10 ## | 10 ## |
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 above 0.7.4: 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 | 17 |
17 rm -rf /tmp/boost_1_55_0 | 18 rm -rf /tmp/boost_1_58_0 |
18 rm -rf /tmp/bcp/boost_1_55_0 | 19 rm -rf /tmp/bcp/boost_1_58_0 |
19 | 20 |
20 cd /tmp | 21 cd /tmp |
21 echo "Uncompressing the source of Boost 1.55.0..." | 22 echo "Uncompressing the sources of Boost 1.58.0..." |
22 tar xfz boost_1_55_0.tar.gz | 23 tar xfz ./boost_1_58_0.tar.gz |
23 | 24 |
24 echo "Generating the subset..." | 25 echo "Generating the subset..." |
25 mkdir -p /tmp/bcp/boost_1_55_0 | 26 mkdir -p /tmp/bcp/boost_1_58_0 |
26 bcp --boost=/tmp/boost_1_55_0 thread system locale date_time filesystem math/special_functions algorithm uuid /tmp/bcp/boost_1_55_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 |
27 cd /tmp/bcp | 28 cd /tmp/bcp |
28 | 29 |
29 echo "Compressing the subset..." | 30 echo "Compressing the subset..." |
30 tar cfz boost_1_55_0_bcpdigest-0.7.4.tar.gz boost_1_55_0 | 31 tar cfz boost_1_58_0_bcpdigest-0.9.2.tar.gz boost_1_58_0 |
31 ls -l boost_1_55_0_bcpdigest-0.7.4.tar.gz | 32 ls -l boost_1_58_0_bcpdigest-0.9.2.tar.gz |
32 md5sum boost_1_55_0_bcpdigest-0.7.4.tar.gz | 33 md5sum boost_1_58_0_bcpdigest-0.9.2.tar.gz |
33 readlink -f boost_1_55_0_bcpdigest-0.7.4.tar.gz | 34 readlink -f boost_1_58_0_bcpdigest-0.9.2.tar.gz |