aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-08-20 11:40:49 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-08-20 12:23:58 +0300
commitf24ca00f1401d08ed1beced3a93b3985d806dcef (patch)
treeab2ab5b269d7ee2db8ee8f5cc634a2379dccdb5d
parent7081f7fd671773554680049b1c59213891e08eeb (diff)
downloadydb-f24ca00f1401d08ed1beced3a93b3985d806dcef.tar.gz
Update contrib/restricted/boost/assert to 1.86.0
2e37a39c10bebc34441ebd2c99a27d4cae188a3c
-rw-r--r--contrib/restricted/boost/assert/include/boost/assert/source_location.hpp5
-rw-r--r--contrib/restricted/boost/assert/ya.make4
2 files changed, 6 insertions, 3 deletions
diff --git a/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp b/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
index c4d5f1b173..c6eae32515 100644
--- a/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
+++ b/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
@@ -174,9 +174,12 @@ template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ost
# define BOOST_CURRENT_LOCATION ::boost::source_location(__builtin_FILE(), __builtin_LINE(), __builtin_FUNCTION(), __builtin_COLUMN())
-#elif defined(BOOST_GCC) && BOOST_GCC >= 70000
+#elif defined(BOOST_GCC) && BOOST_GCC >= 80000
// The built-ins are available in 4.8+, but are not constant expressions until 7
+// In addition, reproducible builds require -ffile-prefix-map, which is GCC 8
+// https://github.com/boostorg/assert/issues/38
+
# define BOOST_CURRENT_LOCATION ::boost::source_location(__builtin_FILE(), __builtin_LINE(), __builtin_FUNCTION())
#elif defined(BOOST_GCC) && BOOST_GCC >= 50000
diff --git a/contrib/restricted/boost/assert/ya.make b/contrib/restricted/boost/assert/ya.make
index 62b683cdd1..7b6847c934 100644
--- a/contrib/restricted/boost/assert/ya.make
+++ b/contrib/restricted/boost/assert/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.85.0)
+VERSION(1.86.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/assert/archive/boost-1.85.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/assert/archive/boost-1.86.0.tar.gz)
PEERDIR(
contrib/restricted/boost/config