Skip to content

boost: update to 1.72.0 #1627

Merged
merged 2 commits into from
Jan 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 5 additions & 9 deletions boost.be0
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
#!/bin/env beesh

# BEE_VERSION boost-1.63.0-2
# BEE_VERSION boost-1.72.0-0

SRCURL[0]="https://downloads.sourceforge.net/project/boost/boost/${PKGVERSION}/boost_${PKGVERSION//./_}.tar.bz2"
SRCURL[0]="https://dl.bintray.com/boostorg/release/${PKGVERSION}/source/boost_${PKGVERSION//./_}.tar.gz"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change SRCURL to

SRCURL[0]="https://beehive.molgen.mpg.de/e2b0b1eac302880461bcbef097171758/boost_1_72_0.tar.gz"

might be more stable... just look at this...

root:invidia:/scratch/local2/# wget "https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz"
--2020-01-29 09:16:32--  https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
Resolving dl.bintray.com... 52.29.129.139, 52.28.187.224
Connecting to dl.bintray.com|52.29.129.139|:443... connected.
HTTP request sent, awaiting response... 302 
Location: https://d29vzk4ow07wi7.cloudfront.net/c66e88d5786f2ca4dbebb14e06b566fb642a1a6947ad8cc9091f9f445134143f?response-content-disposition=attachment%3Bfilename%3D%22boost_1_72_0.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvYzY2ZTg4ZDU3ODZmMmNhNGRiZWJiMTRlMDZiNTY2ZmI2NDJhMWE2OTQ3YWQ4Y2M5MDkxZjlmNDQ1MTM0MTQzZj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmJvb3N0XzFfNzJfMC50YXIuZ3olMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1ODAyODY1MTJ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=kfAw0K4uHMB63RhOX-nZwfRHcWb0OjOR9kCqw4T9yHdNSsg3-1-q4AneXVLyXNCdN8O~8mWj53ed5m9CSv~Tum61TI~RaDaf8awoAADm8QZLF9ckJ~95qt2d0MkgI~zcldR72icNVor4Dwdt3IQUEiscmk8fYpHWlW8aEbtPvTvloE7NVJ3EmGgS-oYkJ6HOqWgKfZdcZ6xj0K3kJ9meagYCfAR7oT4IWfGCOBnZNerUOm-q8Q8iFpCavwN8BA1aP641dLp7PNPlPruasd7JOofMQ8KlY1knZWJYNcboT1~t4Y8gHixht-vOMwapl~t0k~HuMDldsTx3975CTBdNxQ__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA [following]
--2020-01-29 09:16:32--  https://d29vzk4ow07wi7.cloudfront.net/c66e88d5786f2ca4dbebb14e06b566fb642a1a6947ad8cc9091f9f445134143f?response-content-disposition=attachment%3Bfilename%3D%22boost_1_72_0.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvYzY2ZTg4ZDU3ODZmMmNhNGRiZWJiMTRlMDZiNTY2ZmI2NDJhMWE2OTQ3YWQ4Y2M5MDkxZjlmNDQ1MTM0MTQzZj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmJvb3N0XzFfNzJfMC50YXIuZ3olMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1ODAyODY1MTJ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=kfAw0K4uHMB63RhOX-nZwfRHcWb0OjOR9kCqw4T9yHdNSsg3-1-q4AneXVLyXNCdN8O~8mWj53ed5m9CSv~Tum61TI~RaDaf8awoAADm8QZLF9ckJ~95qt2d0MkgI~zcldR72icNVor4Dwdt3IQUEiscmk8fYpHWlW8aEbtPvTvloE7NVJ3EmGgS-oYkJ6HOqWgKfZdcZ6xj0K3kJ9meagYCfAR7oT4IWfGCOBnZNerUOm-q8Q8iFpCavwN8BA1aP641dLp7PNPlPruasd7JOofMQ8KlY1knZWJYNcboT1~t4Y8gHixht-vOMwapl~t0k~HuMDldsTx3975CTBdNxQ__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA
Resolving d29vzk4ow07wi7.cloudfront.net... 99.84.158.147, 99.84.158.49, 99.84.158.16, ...
Connecting to d29vzk4ow07wi7.cloudfront.net|99.84.158.147|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 126580835 (121M) [application/gzip]
Saving to: ‘boost_1_72_0.tar.gz’

boost_1_72_0.tar.gz                              100%[=======================================================================================================>] 120.72M  29.1MB/s    in 4.9s    

2020-01-29 09:16:38 (24.6 MB/s) - ‘boost_1_72_0.tar.gz’ saved [126580835/126580835]

root:invidia:/scratch/local2/# /src/mariux/md5repo.sh boost_1_72_0.tar.gz 
boost_1_72_0.tar.gz has e2b0b1eac302880461bcbef097171758
mkdir: created directory '/src/mariux/md5repo/e2b0b1eac302880461bcbef097171758'
'boost_1_72_0.tar.gz' -> '/src/mariux/md5repo/e2b0b1eac302880461bcbef097171758/boost_1_72_0.tar.gz'
SRCURL[0]="https://beehive.molgen.mpg.de/e2b0b1eac302880461bcbef097171758/boost_1_72_0.tar.gz"
SRCURL[0]="/src/mariux/md5repo/e2b0b1eac302880461bcbef097171758/boost_1_72_0.tar.gz"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.


PATCHURL[0]=""

eval set -- "$( beegetopt -n option -o j= -- $BEE_MAKEFLAGS )"
[ $1 = '-j' ] && BEE_BJAMFLAGS="-j $2"

mee_configure() {
cd ${S}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have build_in_sourcedir for that now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build_in_sourcedir symlinks $B to $S . Later on you will find --build-dir=${B}.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

start_cmd ${S}/bootstrap.sh \
--prefix=${PREFIX} \
--libdir=${LIBDIR}
--libdir=${LIBDIR} \
--with-libraries=headers
}

mee_install() {
cd ${S}
start_cmd ${S}/bjam \
start_cmd ${S}/b2 \
--prefix=${D}${PREFIX} \
--build-dir=${B} \
--without-mpi \
${BEE_BJAMFLAGS} \
install
}