annotate Resources/CMake/BoostConfiguration.sh @ 1378:5dabfaf6034b

forgotten file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 11:57:53 +0200
parents a6576b478553
children 0631b56c35eb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
15 ## - Orthanc above 0.7.4: Boost 1.55.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
16
753
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
17 rm -rf /tmp/boost_1_55_0
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
18 rm -rf /tmp/bcp/boost_1_55_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
19
27d32fc6209a simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 cd /tmp
753
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
21 echo "Uncompressing the source of Boost 1.55.0..."
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
22 tar xfz boost_1_55_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
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 echo "Generating the subset..."
753
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
25 mkdir -p /tmp/bcp/boost_1_55_0
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
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
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 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
28
27d32fc6209a simplifications to cmake, use a digest of boost 1.54.0 thanks bcp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 echo "Compressing the subset..."
753
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
30 tar cfz boost_1_55_0_bcpdigest-0.7.4.tar.gz boost_1_55_0
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
31 ls -l boost_1_55_0_bcpdigest-0.7.4.tar.gz
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
32 md5sum boost_1_55_0_bcpdigest-0.7.4.tar.gz
a6576b478553 upgrade to boost 1.55.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 560
diff changeset
33 readlink -f boost_1_55_0_bcpdigest-0.7.4.tar.gz