Mercurial > hg > orthanc
annotate Resources/CMake/BoostConfiguration.sh @ 2354:415450f11cc7
rename Orthanc 1.2.1 as 1.3.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 19 Jul 2017 09:09:53 +0200 |
parents | 423d3b692bb9 |
children | 5a650eef0794 |
rev | line source |
---|---|
553
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 #!/bin/bash |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 set -e |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 set -u |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 ## Starting with version 0.6.2, Orthanc is shipped with a subset of the |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 ## Boost libraries that is generated with the BCP tool: |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 ## |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 ## http://www.boost.org/doc/libs/1_54_0/tools/bcp/doc/html/index.html |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 ## |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 ## This script generates this subset. |
753
a6576b478553
upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
560
diff
changeset
|
12 ## |
a6576b478553
upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
560
diff
changeset
|
13 ## History: |
a6576b478553
upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
560
diff
changeset
|
14 ## - Orthanc between 0.6.2 and 0.7.3: Boost 1.54.0 |
1473
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
15 ## - Orthanc between 0.7.4 and 0.9.1: Boost 1.55.0 |
1830
2921384cc352
Upgrade to Boost 1.59.0 for static builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1473
diff
changeset
|
16 ## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0 |
1931
687ff92d173b
Upgrade to Boost 1.60.0 for static builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1830
diff
changeset
|
17 ## - Orthanc between 0.9.5 and 1.0.0: Boost 1.59.0 |
2326
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
18 ## - Orthanc between 1.1.0 and 1.2.0: Boost 1.60.0 |
2354
415450f11cc7
rename Orthanc 1.2.1 as 1.3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2326
diff
changeset
|
19 ## - Orthanc >= 1.3.0: Boost 1.64.0 |
553
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 |
2326
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
21 rm -rf /tmp/boost_1_64_0 |
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
22 rm -rf /tmp/bcp/boost_1_64_0 |
553
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 cd /tmp |
2326
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
25 echo "Uncompressing the sources of Boost 1.64.0..." |
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
26 tar xfz ./boost_1_64_0.tar.gz |
553
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
27 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
28 echo "Generating the subset..." |
2326
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
29 mkdir -p /tmp/bcp/boost_1_64_0 |
423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1990
diff
changeset
|
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 |
553
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
31 cd /tmp/bcp |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
32 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
33 echo "Compressing the subset..." |
2354
415450f11cc7
rename Orthanc 1.2.1 as 1.3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2326
diff
changeset
|
34 tar cfz boost_1_64_0_bcpdigest-1.3.0.tar.gz boost_1_64_0 |
415450f11cc7
rename Orthanc 1.2.1 as 1.3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2326
diff
changeset
|
35 ls -l boost_1_64_0_bcpdigest-1.3.0.tar.gz |
415450f11cc7
rename Orthanc 1.2.1 as 1.3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2326
diff
changeset
|
36 md5sum boost_1_64_0_bcpdigest-1.3.0.tar.gz |
415450f11cc7
rename Orthanc 1.2.1 as 1.3.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2326
diff
changeset
|
37 readlink -f boost_1_64_0_bcpdigest-1.3.0.tar.gz |