Skip to content

Commit

Permalink
Update Boost to 1.76.0 (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmallon authored May 3, 2021
1 parent 2a0023f commit 02955d5
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if(MINGW)
# https://github.com/boostorg/build/issues/301
hunter_default_version(Boost VERSION 1.64.0)
else()
hunter_default_version(Boost VERSION 1.75.0)
hunter_default_version(Boost VERSION 1.76.0)
endif()

hunter_default_version(BoostCompute VERSION 0.5-p0)
Expand Down
7 changes: 5 additions & 2 deletions cmake/projects/Boost/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
# Copyright (c) 2013, Ruslan Baratov
# All rights reserved.

# Try ./b2 --show-libraries to look for new libraries
BOOST_LIBS="
atomic
chrono
context
container
coroutine
context
contract
coroutine
date_time
exception
fiber
Expand All @@ -22,6 +23,7 @@ BOOST_LIBS="
log
math
mpi
nowide
program_options
python
random
Expand All @@ -33,6 +35,7 @@ BOOST_LIBS="
test
thread
timer
type_erasure
wave
"

Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/Boost/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,17 @@ hunter_add_version(
SHA1
6109efd3bdd8b9220d7d85b5e125f7f28721b9a9
)

hunter_add_version(
PACKAGE_NAME
Boost
VERSION
"1.76.0"
URL
"${_hunter_boost_base_url}/1.76.0/source/boost_1_76_0.tar.bz2"
SHA1
8064156508312dde1d834fec3dca9b11006555b6
)
# up until 1.63 sourcefourge was used
set(_hunter_boost_base_url "https://downloads.sourceforge.net/project/boost/boost/")
hunter_add_version(
Expand Down
22 changes: 22 additions & 0 deletions cmake/projects/Boost/nowide/hunter.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2013, Ruslan Baratov
# All rights reserved.

# !!! DO NOT PLACE HEADER GUARDS HERE !!!

include(hunter_download)
include(hunter_pick_scheme)

hunter_pick_scheme(
DEFAULT
url_sha1_boost_library
IPHONEOS
url_sha1_boost_ios_library
)

hunter_download(
PACKAGE_NAME
Boost
PACKAGE_COMPONENT
nowide
PACKAGE_INTERNAL_DEPS_ID "49"
)
22 changes: 22 additions & 0 deletions cmake/projects/Boost/type_erasure/hunter.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2013, Ruslan Baratov
# All rights reserved.

# !!! DO NOT PLACE HEADER GUARDS HERE !!!

include(hunter_download)
include(hunter_pick_scheme)

hunter_pick_scheme(
DEFAULT
url_sha1_boost_library
IPHONEOS
url_sha1_boost_ios_library
)

hunter_download(
PACKAGE_NAME
Boost
PACKAGE_COMPONENT
type_erasure
PACKAGE_INTERNAL_DEPS_ID "49"
)

0 comments on commit 02955d5

Please sign in to comment.