diff options
author | robot-piglet <[email protected]> | 2025-08-25 22:17:06 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-08-25 22:27:52 +0300 |
commit | e31d2717840121992c74c489015975e498bc3dfa (patch) | |
tree | a529531635d008e14e6ec62d6821401296462b23 | |
parent | 2054c6cffa45ef20e2c64998215d3bf710b0395d (diff) |
Intermediate changes
commit_hash:cded2280e3c68705464f59e163ca36287e89109d
18 files changed, 44 insertions, 34 deletions
diff --git a/contrib/restricted/boost/describe/.yandex_meta/default.nix b/contrib/restricted/boost/describe/.yandex_meta/default.nix index 152aada3e71..e81161f1fa9 100644 --- a/contrib/restricted/boost/describe/.yandex_meta/default.nix +++ b/contrib/restricted/boost/describe/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_describe = stdenv.mkDerivation rec { pname = "boost_describe"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "describe"; rev = "boost-${version}"; - hash = "sha256-cjsYoyl4Vd8g5gSHyHQOJDUujWJOa6mPt6qAaOv9jFg="; + hash = "sha256-nZohSKFU6tQfBQa8GTd0jLe1qgqFoJlMUaISrmPP4Ng="; }; }; } diff --git a/contrib/restricted/boost/describe/ya.make b/contrib/restricted/boost/describe/ya.make index f48eb62ea46..e8de159140e 100644 --- a/contrib/restricted/boost/describe/ya.make +++ b/contrib/restricted/boost/describe/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/describe/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/describe/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/mp11 diff --git a/contrib/restricted/boost/foreach/.yandex_meta/default.nix b/contrib/restricted/boost/foreach/.yandex_meta/default.nix index 12997a74543..722dc2e87c9 100644 --- a/contrib/restricted/boost/foreach/.yandex_meta/default.nix +++ b/contrib/restricted/boost/foreach/.yandex_meta/default.nix @@ -1,7 +1,7 @@ self: super: with self; { boost_foreach = stdenv.mkDerivation rec { pname = "boost_foreach"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; diff --git a/contrib/restricted/boost/foreach/ya.make b/contrib/restricted/boost/foreach/ya.make index 9b4f0056603..82ba7aba34c 100644 --- a/contrib/restricted/boost/foreach/ya.make +++ b/contrib/restricted/boost/foreach/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/foreach/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/foreach/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/config diff --git a/contrib/restricted/boost/lambda/.yandex_meta/default.nix b/contrib/restricted/boost/lambda/.yandex_meta/default.nix index 451a99165b5..b9582e44836 100644 --- a/contrib/restricted/boost/lambda/.yandex_meta/default.nix +++ b/contrib/restricted/boost/lambda/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_lambda = stdenv.mkDerivation rec { pname = "boost_lambda"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "lambda"; rev = "boost-${version}"; - hash = "sha256-5revBfxl90zjfbwipY7Se4J/h/RBWsoGICc66WVSsmY="; + hash = "sha256-IbsR0TS+6FOsG6EBIsd4qTA25voKFCAZQK7qYVvgJeQ="; }; }; } diff --git a/contrib/restricted/boost/lambda/ya.make b/contrib/restricted/boost/lambda/ya.make index 61e321ce389..74676e21b0a 100644 --- a/contrib/restricted/boost/lambda/ya.make +++ b/contrib/restricted/boost/lambda/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/lambda/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/lambda/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/bind diff --git a/contrib/restricted/boost/move/.yandex_meta/default.nix b/contrib/restricted/boost/move/.yandex_meta/default.nix index c867c72a43e..8783f01154d 100644 --- a/contrib/restricted/boost/move/.yandex_meta/default.nix +++ b/contrib/restricted/boost/move/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_move = stdenv.mkDerivation rec { pname = "boost_move"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "move"; rev = "boost-${version}"; - hash = "sha256-9DntfxeB2cQnOSc8d+OtGncurSpTx1qwmKmj0iN5Aas="; + hash = "sha256-eXS9ooLEzzItTcfTH0lzoyjDykr+dCGzJcTj/v9V8k4="; }; }; } diff --git a/contrib/restricted/boost/move/ya.make b/contrib/restricted/boost/move/ya.make index 573701393c9..f386638be3b 100644 --- a/contrib/restricted/boost/move/ya.make +++ b/contrib/restricted/boost/move/ya.make @@ -9,9 +9,9 @@ LICENSE( LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/move/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/move/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/config diff --git a/contrib/restricted/boost/preprocessor/.yandex_meta/default.nix b/contrib/restricted/boost/preprocessor/.yandex_meta/default.nix index 7b3e7f2fae3..bcd75e0ce3d 100644 --- a/contrib/restricted/boost/preprocessor/.yandex_meta/default.nix +++ b/contrib/restricted/boost/preprocessor/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_preprocessor = stdenv.mkDerivation rec { pname = "boost_preprocessor"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "preprocessor"; rev = "boost-${version}"; - hash = "sha256-AqEYAPuU4GyEAb8i0fVoGUp0XQC+o29ljvoxSglfkNo="; + hash = "sha256-4GTIVg58rx21Sqpj5fQH8VXVdHCGI9reauZ64ZlDhfA="; }; }; } diff --git a/contrib/restricted/boost/preprocessor/ya.make b/contrib/restricted/boost/preprocessor/ya.make index e1788dd9952..e6fd57bacc7 100644 --- a/contrib/restricted/boost/preprocessor/ya.make +++ b/contrib/restricted/boost/preprocessor/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/preprocessor/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/preprocessor/archive/boost-1.89.0.tar.gz) ADDINCL( GLOBAL contrib/restricted/boost/preprocessor/include diff --git a/contrib/restricted/boost/random/.yandex_meta/default.nix b/contrib/restricted/boost/random/.yandex_meta/default.nix index c5cb731b7b5..14df6ea000f 100644 --- a/contrib/restricted/boost/random/.yandex_meta/default.nix +++ b/contrib/restricted/boost/random/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_random = stdenv.mkDerivation rec { pname = "boost_random"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "random"; rev = "boost-${version}"; - hash = "sha256-cdB9ZHf2P9//plPnZD7ke+OR6c1iJwpRytYrB4lXKJY="; + hash = "sha256-pdUF6U8hI1+FTmIev9rsLYkQXfTBMfM3g7oKik9Uxxc="; }; }; } diff --git a/contrib/restricted/boost/random/include/boost/random/beta_distribution.hpp b/contrib/restricted/boost/random/include/boost/random/beta_distribution.hpp index 145bf9750ec..0a863d5ff20 100644 --- a/contrib/restricted/boost/random/include/boost/random/beta_distribution.hpp +++ b/contrib/restricted/boost/random/include/boost/random/beta_distribution.hpp @@ -101,8 +101,18 @@ public: template<class URNG> RealType operator()(URNG& urng) const { - RealType a = gamma_distribution<RealType>(_alpha, RealType(1.0))(urng); - RealType b = gamma_distribution<RealType>(_beta, RealType(1.0))(urng); + const auto alpha_dist = gamma_distribution<RealType>(_alpha, RealType(1.0)); + const auto beta_dist = gamma_distribution<RealType>(_beta, RealType(1.0)); + + RealType a = 0; + RealType b = 0; + + do + { + a = alpha_dist(urng); + b = beta_dist(urng); + } while (a + b == RealType(0)); + return a / (a + b); } diff --git a/contrib/restricted/boost/random/include/boost/random/gamma_distribution.hpp b/contrib/restricted/boost/random/include/boost/random/gamma_distribution.hpp index c9bda4ca9d3..34d0452aaf7 100644 --- a/contrib/restricted/boost/random/include/boost/random/gamma_distribution.hpp +++ b/contrib/restricted/boost/random/include/boost/random/gamma_distribution.hpp @@ -159,7 +159,7 @@ public: * the gamma distribution. */ template<class Engine> - result_type operator()(Engine& eng) + result_type operator()(Engine& eng) const { #ifndef BOOST_NO_STDC_NAMESPACE // allow for Koenig lookup diff --git a/contrib/restricted/boost/random/ya.make b/contrib/restricted/boost/random/ya.make index 4acae772aa9..10d7c4e669f 100644 --- a/contrib/restricted/boost/random/ya.make +++ b/contrib/restricted/boost/random/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/random/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/random/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/assert diff --git a/contrib/restricted/boost/system/.yandex_meta/default.nix b/contrib/restricted/boost/system/.yandex_meta/default.nix index feecc1758d1..8b8447c9d1a 100644 --- a/contrib/restricted/boost/system/.yandex_meta/default.nix +++ b/contrib/restricted/boost/system/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_system = stdenv.mkDerivation rec { pname = "boost_system"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "system"; rev = "boost-${version}"; - hash = "sha256-wI/Hs+kS/jPg90iE5E6ZFhQ41O34JCh0N17iRjteYyk="; + hash = "sha256-XRXaDEbnDSgbaTzlHb4Rf42mU37ODAuBKnpjiwlpP7E="; }; }; } diff --git a/contrib/restricted/boost/system/ya.make b/contrib/restricted/boost/system/ya.make index 4f7edb28d90..55ccbd0ab4e 100644 --- a/contrib/restricted/boost/system/ya.make +++ b/contrib/restricted/boost/system/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/system/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/system/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/assert diff --git a/contrib/restricted/boost/thread/.yandex_meta/default.nix b/contrib/restricted/boost/thread/.yandex_meta/default.nix index a9010697a26..d0e3d3eab18 100644 --- a/contrib/restricted/boost/thread/.yandex_meta/default.nix +++ b/contrib/restricted/boost/thread/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_thread = stdenv.mkDerivation rec { pname = "boost_thread"; - version = "1.88.0"; + version = "1.89.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "thread"; rev = "boost-${version}"; - hash = "sha256-H9iOI5SHWv893L/opKS9eDQNpzSkwnx4CW51b+ilOGM="; + hash = "sha256-vkLjfL6x4jwnBDIpcRA9ZOIz9058Tx0Z7u7kw67wihY="; }; }; } diff --git a/contrib/restricted/boost/thread/ya.make b/contrib/restricted/boost/thread/ya.make index bdc3b07b050..3fd9a38e0fe 100644 --- a/contrib/restricted/boost/thread/ya.make +++ b/contrib/restricted/boost/thread/ya.make @@ -10,9 +10,9 @@ LICENSE( LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.88.0) +VERSION(1.89.0) -ORIGINAL_SOURCE(https://github.com/boostorg/thread/archive/boost-1.88.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/thread/archive/boost-1.89.0.tar.gz) PEERDIR( contrib/restricted/boost/assert |