Mercurial > hg > orthanc
annotate Resources/CMake/BoostConfiguration.sh @ 1815:2abfdca9b915
OrthancPluginGetInstanceOrigin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Nov 2015 11:38:14 +0100 |
parents | 0631b56c35eb |
children | 2921384cc352 |
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 |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
16 ## - Orthanc >= 0.9.2: Boost 1.58.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
|
17 |
1473
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
18 rm -rf /tmp/boost_1_58_0 |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
19 rm -rf /tmp/bcp/boost_1_58_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 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 cd /tmp |
1473
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
22 echo "Uncompressing the sources of Boost 1.58.0..." |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
23 tar xfz ./boost_1_58_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
|
24 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
25 echo "Generating the subset..." |
1473
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
26 mkdir -p /tmp/bcp/boost_1_58_0 |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
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 |
553
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
28 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
|
29 |
27d32fc6209a
simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
30 echo "Compressing the subset..." |
1473
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
31 tar cfz boost_1_58_0_bcpdigest-0.9.2.tar.gz boost_1_58_0 |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
32 ls -l boost_1_58_0_bcpdigest-0.9.2.tar.gz |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
33 md5sum boost_1_58_0_bcpdigest-0.9.2.tar.gz |
0631b56c35eb
Update to Boost 1.58.0 for static and Windows builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
753
diff
changeset
|
34 readlink -f boost_1_58_0_bcpdigest-0.9.2.tar.gz |