-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
base: master
Are you sure you want to change the base?
Changes from all commits
98fa5da
d656b75
6432925
b8241fd
355e26d
c6ed624
01555d6
955e32b
83d6c27
3b08215
144f092
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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") | ||
|
@@ -64,6 +64,7 @@ ProcessorCount(J) | |
set(BOOST_BASE "${PROJECT_BINARY_DIR}/Boost") | ||
set(BOOST_INCLUDE "${BOOST_BASE}/source" CACHE PATH "") | ||
set(BOOST_LIBRARY "${BOOST_BASE}/source/stage/lib" CACHE PATH "") | ||
set(BOOST_ADDRESS_MODEL 64) | ||
if(WIN32) | ||
if(MSVC) | ||
if(${MSVC_VERSION} GREATER 1929) | ||
|
@@ -77,6 +78,9 @@ if(WIN32) | |
else() | ||
message(FATAL_ERROR "Unrecognized MSVC version number: ${MSVC_VERSION}") | ||
endif() | ||
if("${CMAKE_GENERATOR_PLATFORM}" MATCHES "Win32") | ||
set(BOOST_ADDRESS_MODEL 32) | ||
endif() | ||
list( | ||
APPEND | ||
BOOST_BUILD_BYPRODUCTS | ||
|
@@ -110,6 +114,7 @@ list( | |
"libs/any" | ||
"libs/array" | ||
"libs/assert" | ||
"libs/atomic" | ||
"libs/bind" | ||
"libs/chrono" | ||
"libs/compute" | ||
|
@@ -118,6 +123,7 @@ list( | |
"libs/container" | ||
"libs/container_hash" | ||
"libs/core" | ||
"libs/describe" | ||
"libs/detail" | ||
"libs/filesystem" | ||
"libs/foreach" | ||
|
@@ -132,6 +138,7 @@ list( | |
"libs/lexical_cast" | ||
"libs/math" | ||
"libs/move" | ||
"libs/mp11" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Starting from |
||
"libs/mpl" | ||
"libs/multi_index" | ||
"libs/numeric/conversion" | ||
|
@@ -185,6 +192,7 @@ ExternalProject_Add( | |
runtime-link=shared | ||
variant=release | ||
threading=multi | ||
address-model=${BOOST_ADDRESS_MODEL} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To fix the following error on Windows:
|
||
cxxflags="${BOOST_FLAGS}" | ||
INSTALL_COMMAND "" | ||
# BUILD_BYPRODUCTS is necessary to support 'Ninja' builds. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting from
1.77
filesystem
module requiresatomic
modulehttps://github.com/boostorg/filesystem/blob/9794725bda2e612f1fdcadd98cdce5b7bfb548f1/CMakeLists.txt#L180