comparison Resources/CMake/BoostConfiguration.sh @ 2679:ee9a6cd63891

boost 1.67.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Jun 2018 18:02:36 +0200
parents a6c2d8a2a2ec
children 8341256c6941
comparison
equal deleted inserted replaced
2661:62cc762d1fb0 2679:ee9a6cd63891
16 ## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0 16 ## - Orthanc between 0.9.2 and 0.9.4: Boost 1.58.0
17 ## - Orthanc between 0.9.5 and 1.0.0: Boost 1.59.0 17 ## - Orthanc between 0.9.5 and 1.0.0: Boost 1.59.0
18 ## - Orthanc between 1.1.0 and 1.2.0: Boost 1.60.0 18 ## - Orthanc between 1.1.0 and 1.2.0: Boost 1.60.0
19 ## - Orthanc 1.3.0: Boost 1.64.0 19 ## - Orthanc 1.3.0: Boost 1.64.0
20 ## - Orthanc 1.3.1: Boost 1.65.1 20 ## - Orthanc 1.3.1: Boost 1.65.1
21 ## - Orthanc >= 1.3.2: Boost 1.66.0 21 ## - Orthanc 1.3.2: Boost 1.66.0
22 ## - Orthanc >= 1.4.0: Boost 1.67.0
22 23
23 BOOST_VERSION=1_66_0 24 BOOST_VERSION=1_67_0
24 ORTHANC_VERSION=1.3.2 25 ORTHANC_VERSION=1.4.0
25 26
26 rm -rf /tmp/boost_${BOOST_VERSION} 27 rm -rf /tmp/boost_${BOOST_VERSION}
27 rm -rf /tmp/bcp/boost_${BOOST_VERSION} 28 rm -rf /tmp/bcp/boost_${BOOST_VERSION}
28 29
29 cd /tmp 30 cd /tmp
30 echo "Uncompressing the sources of Boost ${BOOST_VERSION}..." 31 echo "Uncompressing the sources of Boost ${BOOST_VERSION}..."
31 tar xfz ./boost_${BOOST_VERSION}.tar.gz 32 tar xfz ./boost_${BOOST_VERSION}.tar.gz
32 33
33 echo "Generating the subset..." 34 echo "Generating the subset..."
34 mkdir -p /tmp/bcp/boost_${BOOST_VERSION} 35 mkdir -p /tmp/bcp/boost_${BOOST_VERSION}
35 bcp --boost=/tmp/boost_${BOOST_VERSION} thread system locale date_time filesystem math/special_functions algorithm uuid atomic iostreams program_options numeric/ublas geometry polygon /tmp/bcp/boost_${BOOST_VERSION} 36 bcp --boost=/tmp/boost_${BOOST_VERSION} thread system locale date_time filesystem math/special_functions algorithm uuid atomic iostreams program_options numeric/ublas geometry polygon signals2 /tmp/bcp/boost_${BOOST_VERSION}
36 37
37 echo "Removing documentation..." 38 echo "Removing documentation..."
38 rm -rf /tmp/bcp/boost_1_66_0/libs/locale/doc/html 39 rm -rf /tmp/bcp/boost_${BOOST_VERSION}/libs/locale/doc/html
39 rm -rf /tmp/bcp/boost_1_66_0/libs/algorithm/doc/html 40 rm -rf /tmp/bcp/boost_${BOOST_VERSION}/libs/algorithm/doc/html
40 rm -rf /tmp/bcp/boost_1_66_0/libs/geometry/doc/html 41 rm -rf /tmp/bcp/boost_${BOOST_VERSION}/libs/geometry/doc/html
41 rm -rf /tmp/bcp/boost_1_66_0/libs/geometry/doc/doxy/doxygen_output/html 42 rm -rf /tmp/bcp/boost_${BOOST_VERSION}/libs/geometry/doc/doxy/doxygen_output/html
42 rm -rf /tmp/bcp/boost_1_66_0/libs/filesystem/example/ 43 rm -rf /tmp/bcp/boost_${BOOST_VERSION}/libs/filesystem/example/
43 44
44 # https://stackoverflow.com/questions/1655372/longest-line-in-a-file 45 # https://stackoverflow.com/questions/1655372/longest-line-in-a-file
45 LONGEST_FILENAME=`find /tmp/bcp/ | awk '{print length, $0}' | sort -nr | head -1` 46 LONGEST_FILENAME=`find /tmp/bcp/ | awk '{print length, $0}' | sort -nr | head -1`
46 LONGEST=`echo "$LONGEST_FILENAME" | cut -d ' ' -f 1` 47 LONGEST=`echo "$LONGEST_FILENAME" | cut -d ' ' -f 1`
47 48