Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] update libboost version from 1.74 to 1.83 #6582

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
7 changes: 5 additions & 2 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
@@ -88,10 +88,13 @@ else # Linux
fi
if [[ $TASK == "gpu" ]]; then
if [[ $IN_UBUNTU_BASE_CONTAINER == "true" ]]; then
sudo apt-get install --no-install-recommends -y \
gpg-agent
sudo add-apt-repository ppa:mhier/libboost-latest -y
sudo apt-get update
sudo apt-get install --no-install-recommends -y \
libboost1.74-dev \
libboost-filesystem1.74-dev \
libboost1.83-dev \
libboost-filesystem1.83-dev \
ocl-icd-opencl-dev
else # in manylinux image
sudo yum update -y
5 changes: 4 additions & 1 deletion cmake/IntegratedOpenCL.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
set(BOOST_VERSION_DOT "1.74")
set(BOOST_VERSION_DOT "1.83")
string(REPLACE "." "_" BOOST_VERSION_UNDERSCORE ${BOOST_VERSION_DOT})

set(OPENCL_HEADER_REPOSITORY "https://github.com/KhronosGroup/OpenCL-Headers.git")
@@ -104,6 +104,7 @@ list(
"libs/any"
"libs/array"
"libs/assert"
"libs/atomic"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

"libs/bind"
"libs/chrono"
"libs/compute"
@@ -112,6 +113,7 @@ list(
"libs/container"
"libs/container_hash"
"libs/core"
"libs/describe"
"libs/detail"
"libs/filesystem"
"libs/foreach"
@@ -126,6 +128,7 @@ list(
"libs/lexical_cast"
"libs/math"
"libs/move"
"libs/mp11"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Starting from 1.81 container_hash module requires describe and mp11 modules
https://github.com/boostorg/container_hash/blob/bd5b7a359c285a65836674d963e1137b067983ac/CMakeLists.txt#L18-L19

"libs/mpl"
"libs/multi_index"
"libs/numeric/conversion"
Loading
Oops, something went wrong.