diff options
author | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-25 10:20:37 +0300 |
---|---|---|
committer | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-25 10:20:37 +0300 |
commit | 16c7dd1294f2f29c28bf33269571e3a021f35ea4 (patch) | |
tree | 422da1128e830ee8da2ae6c3ae156f55535c8126 | |
parent | 81cb05cecc7fbf7612c331cda57c4a1ce9175372 (diff) | |
download | ydb-16c7dd1294f2f29c28bf33269571e3a021f35ea4.tar.gz |
Reimport boost/integer as a separate project
15 files changed, 24 insertions, 16 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt index 8663209280b..9c42e63afba 100644 --- a/CMakeLists.darwin.txt +++ b/CMakeLists.darwin.txt @@ -141,6 +141,7 @@ add_subdirectory(contrib/restricted/boost/static_assert) add_subdirectory(contrib/restricted/boost/throw_exception) add_subdirectory(contrib/restricted/boost/array) add_subdirectory(contrib/restricted/boost/bind) +add_subdirectory(contrib/restricted/boost/integer) add_subdirectory(contrib/restricted/boost/io) add_subdirectory(contrib/restricted/boost/logic) add_subdirectory(contrib/restricted/boost/move) diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt index 7e8ce0f4eac..4ec5ce20bd3 100644 --- a/CMakeLists.linux.txt +++ b/CMakeLists.linux.txt @@ -219,6 +219,7 @@ add_subdirectory(contrib/restricted/boost/static_assert) add_subdirectory(contrib/restricted/boost/throw_exception) add_subdirectory(contrib/restricted/boost/array) add_subdirectory(contrib/restricted/boost/bind) +add_subdirectory(contrib/restricted/boost/integer) add_subdirectory(contrib/restricted/boost/io) add_subdirectory(contrib/restricted/boost/logic) add_subdirectory(contrib/restricted/boost/move) diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt index e9d502974b5..e6e3cbdc286 100644 --- a/contrib/restricted/boost/CMakeLists.txt +++ b/contrib/restricted/boost/CMakeLists.txt @@ -19,6 +19,7 @@ target_link_libraries(contrib-restricted-boost INTERFACE restricted-boost-bind restricted-boost-config restricted-boost-core + restricted-boost-integer restricted-boost-io restricted-boost-logic restricted-boost-move diff --git a/contrib/restricted/boost/boost/integer/common_factor.hpp b/contrib/restricted/boost/boost/integer/common_factor.hpp deleted file mode 100644 index fab919937ca..00000000000 --- a/contrib/restricted/boost/boost/integer/common_factor.hpp +++ /dev/null @@ -1,16 +0,0 @@ -// Boost common_factor.hpp header file -------------------------------------// - -// (C) Copyright Daryle Walker 2001-2002. -// Distributed under the Boost Software License, Version 1.0. (See -// accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for updates, documentation, and revision history. - -#ifndef BOOST_INTEGER_COMMON_FACTOR_HPP -#define BOOST_INTEGER_COMMON_FACTOR_HPP - -#include <boost/integer/common_factor_ct.hpp> -#include <boost/integer/common_factor_rt.hpp> - -#endif // BOOST_INTEGER_COMMON_FACTOR_HPP diff --git a/contrib/restricted/boost/integer/CMakeLists.txt b/contrib/restricted/boost/integer/CMakeLists.txt new file mode 100644 index 00000000000..5b5575efc5e --- /dev/null +++ b/contrib/restricted/boost/integer/CMakeLists.txt @@ -0,0 +1,21 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-integer INTERFACE) +target_include_directories(restricted-boost-integer INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/integer/include +) +target_link_libraries(restricted-boost-integer INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-static_assert +) diff --git a/contrib/restricted/boost/boost/integer.hpp b/contrib/restricted/boost/integer/include/boost/integer.hpp index 9fa00194845..9fa00194845 100644 --- a/contrib/restricted/boost/boost/integer.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer.hpp diff --git a/contrib/restricted/boost/boost/integer/common_factor_ct.hpp b/contrib/restricted/boost/integer/include/boost/integer/common_factor_ct.hpp index 0671d161c37..0671d161c37 100644 --- a/contrib/restricted/boost/boost/integer/common_factor_ct.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer/common_factor_ct.hpp diff --git a/contrib/restricted/boost/boost/integer/common_factor_rt.hpp b/contrib/restricted/boost/integer/include/boost/integer/common_factor_rt.hpp index 341b316501c..341b316501c 100644 --- a/contrib/restricted/boost/boost/integer/common_factor_rt.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer/common_factor_rt.hpp diff --git a/contrib/restricted/boost/boost/integer/integer_log2.hpp b/contrib/restricted/boost/integer/include/boost/integer/integer_log2.hpp index 8b34ce7440a..8b34ce7440a 100644 --- a/contrib/restricted/boost/boost/integer/integer_log2.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer/integer_log2.hpp diff --git a/contrib/restricted/boost/boost/integer/integer_mask.hpp b/contrib/restricted/boost/integer/include/boost/integer/integer_mask.hpp index eee4679b84b..eee4679b84b 100644 --- a/contrib/restricted/boost/boost/integer/integer_mask.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer/integer_mask.hpp diff --git a/contrib/restricted/boost/boost/integer/static_log2.hpp b/contrib/restricted/boost/integer/include/boost/integer/static_log2.hpp index 56c7a001251..56c7a001251 100644 --- a/contrib/restricted/boost/boost/integer/static_log2.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer/static_log2.hpp diff --git a/contrib/restricted/boost/boost/integer/static_min_max.hpp b/contrib/restricted/boost/integer/include/boost/integer/static_min_max.hpp index ee76fd424a1..ee76fd424a1 100644 --- a/contrib/restricted/boost/boost/integer/static_min_max.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer/static_min_max.hpp diff --git a/contrib/restricted/boost/boost/integer_fwd.hpp b/contrib/restricted/boost/integer/include/boost/integer_fwd.hpp index 18519dd696d..18519dd696d 100644 --- a/contrib/restricted/boost/boost/integer_fwd.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer_fwd.hpp diff --git a/contrib/restricted/boost/boost/integer_traits.hpp b/contrib/restricted/boost/integer/include/boost/integer_traits.hpp index 94eb00d31e4..94eb00d31e4 100644 --- a/contrib/restricted/boost/boost/integer_traits.hpp +++ b/contrib/restricted/boost/integer/include/boost/integer_traits.hpp diff --git a/contrib/restricted/boost/boost/pending/integer_log2.hpp b/contrib/restricted/boost/integer/include/boost/pending/integer_log2.hpp index 023ec7af038..023ec7af038 100644 --- a/contrib/restricted/boost/boost/pending/integer_log2.hpp +++ b/contrib/restricted/boost/integer/include/boost/pending/integer_log2.hpp |