aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-04-30 10:46:13 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-04-30 11:17:14 +0300
commit7acf1f5351381ef9a2fb235c3dbc829c1ee340ad (patch)
treede5dd143b7f6e0b5c41c86132b592f10162f251b
parentaeb35183844b44327d6ff16b50b6dcc95d3ae06a (diff)
downloadydb-7acf1f5351381ef9a2fb235c3dbc829c1ee340ad.tar.gz
Update contrib/restricted/boost/interprocess to 1.85.0
0beb4d7d42efc55c520c55d1e6f676b46795585c
-rw-r--r--contrib/restricted/boost/interprocess/include/boost/interprocess/detail/workaround.hpp7
-rw-r--r--contrib/restricted/boost/interprocess/ya.make4
2 files changed, 7 insertions, 4 deletions
diff --git a/contrib/restricted/boost/interprocess/include/boost/interprocess/detail/workaround.hpp b/contrib/restricted/boost/interprocess/include/boost/interprocess/detail/workaround.hpp
index 01b6c6eb05..328616e1e8 100644
--- a/contrib/restricted/boost/interprocess/include/boost/interprocess/detail/workaround.hpp
+++ b/contrib/restricted/boost/interprocess/include/boost/interprocess/detail/workaround.hpp
@@ -37,7 +37,7 @@
//////////////////////////////////////////////////////
//Check for XSI shared memory objects. They are available in nearly all UNIX platforms
//////////////////////////////////////////////////////
- #if !defined(__QNXNTO__) && !defined(__ANDROID__) && !defined(__HAIKU__) && !(__VXWORKS__)
+ #if !defined(__QNXNTO__) && !defined(__ANDROID__) && !defined(__HAIKU__) && !(__VXWORKS__) && !(__EMSCRIPTEN__)
#define BOOST_INTERPROCESS_XSI_SHARED_MEMORY_OBJECTS
#endif
@@ -226,8 +226,11 @@
#elif defined(BOOST_MSVC) && (_MSC_VER < 1900 || defined(_DEBUG))
//"__forceinline" and MSVC seems to have some bugs in old versions and in debug mode
#define BOOST_INTERPROCESS_FORCEINLINE inline
-#elif defined(BOOST_GCC) && (__GNUC__ <= 5)
+#elif defined(BOOST_CLANG) || (defined(BOOST_GCC) && ((__GNUC__ <= 5) || defined(__MINGW32__)))
//Older GCCs have problems with forceinline
+ //Clang can have code bloat issues with forceinline, see
+ //https://lists.boost.org/boost-users/2023/04/91445.php and
+ //https://github.com/llvm/llvm-project/issues/62202
#define BOOST_INTERPROCESS_FORCEINLINE inline
#else
#define BOOST_INTERPROCESS_FORCEINLINE BOOST_FORCEINLINE
diff --git a/contrib/restricted/boost/interprocess/ya.make b/contrib/restricted/boost/interprocess/ya.make
index 78346f1c86..60b2727bfa 100644
--- a/contrib/restricted/boost/interprocess/ya.make
+++ b/contrib/restricted/boost/interprocess/ya.make
@@ -9,9 +9,9 @@ LICENSE(
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.84.0)
+VERSION(1.85.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/interprocess/archive/boost-1.84.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/interprocess/archive/boost-1.85.0.tar.gz)
PEERDIR(
contrib/restricted/boost/assert