aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-08-15 22:10:42 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-08-15 22:10:42 +0300
commit0e031cf98cb8e09a9b8fd304b62cc1351c001ea9 (patch)
treef2359144d0349e9fc1b223de3864b1a18fce2206 /contrib
parentd9fbef9fe6370e3b86bab8759ee0b6fd44b0effe (diff)
downloadydb-0e031cf98cb8e09a9b8fd304b62cc1351c001ea9.tar.gz
Reimport boost/filesystem as a separate project
Diffstat (limited to 'contrib')
-rw-r--r--contrib/restricted/boost/boost/filesystem.hpp21
-rw-r--r--contrib/restricted/boost/boost/filesystem/detail/macro_value.hpp44
-rw-r--r--contrib/restricted/boost/boost/filesystem/exception.hpp9
-rw-r--r--contrib/restricted/boost/boost/filesystem/string_file.hpp43
-rw-r--r--contrib/restricted/boost/filesystem/CMakeLists.txt39
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/config.hpp (renamed from contrib/restricted/boost/boost/filesystem/config.hpp)0
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/convenience.hpp (renamed from contrib/restricted/boost/boost/filesystem/convenience.hpp)0
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/detail/utf8_codecvt_facet.hpp (renamed from contrib/restricted/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp)0
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/fstream.hpp (renamed from contrib/restricted/boost/boost/filesystem/fstream.hpp)6
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/operations.hpp (renamed from contrib/restricted/boost/boost/filesystem/operations.hpp)4
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/path.hpp (renamed from contrib/restricted/boost/boost/filesystem/path.hpp)0
-rw-r--r--contrib/restricted/boost/filesystem/include/boost/filesystem/path_traits.hpp (renamed from contrib/restricted/boost/boost/filesystem/path_traits.hpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/codecvt_error_category.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/operations.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/operations.cpp)19
-rw-r--r--contrib/restricted/boost/filesystem/src/path.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/path.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/path_traits.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/path_traits.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/portability.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/portability.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/unique_path.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/unique_path.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/utf8_codecvt_facet.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/windows_file_codecvt.cpp (renamed from contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp)0
-rw-r--r--contrib/restricted/boost/filesystem/src/windows_file_codecvt.hpp (renamed from contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.hpp)0
-rw-r--r--contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt48
-rw-r--r--contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt47
-rw-r--r--contrib/restricted/boost/libs/filesystem/CMakeLists.txt13
-rw-r--r--contrib/restricted/boost/libs/graph/CMakeLists.txt2
25 files changed, 52 insertions, 243 deletions
diff --git a/contrib/restricted/boost/boost/filesystem.hpp b/contrib/restricted/boost/boost/filesystem.hpp
deleted file mode 100644
index 0122634d36..0000000000
--- a/contrib/restricted/boost/boost/filesystem.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// boost/filesystem.hpp --------------------------------------------------------------//
-
-// Copyright Beman Dawes 2010
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-//--------------------------------------------------------------------------------------//
-
-#ifndef BOOST_FILESYSTEM_FILESYSTEM_HPP
-#define BOOST_FILESYSTEM_FILESYSTEM_HPP
-
-# include <boost/filesystem/config.hpp>
-# include <boost/filesystem/path.hpp>
-# include <boost/filesystem/operations.hpp>
-# include <boost/filesystem/convenience.hpp>
-# include <boost/filesystem/string_file.hpp>
-
-#endif // BOOST_FILESYSTEM_FILESYSTEM_HPP
diff --git a/contrib/restricted/boost/boost/filesystem/detail/macro_value.hpp b/contrib/restricted/boost/boost/filesystem/detail/macro_value.hpp
deleted file mode 100644
index 2c4a16a628..0000000000
--- a/contrib/restricted/boost/boost/filesystem/detail/macro_value.hpp
+++ /dev/null
@@ -1,44 +0,0 @@
-// boost/filesystem/detail/macro_value.hpp -------------------------------------------//
-
-// (C) Copyright John Maddock 2001 - 2003
-// (C) Copyright Jens Maurer 2001
-// (C) Copyright Peter Dimov 2001
-// (C) Copyright Darin Adler 2001
-// (C) Copyright Beman Dawes 2002
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-//--------------------------------------------------------------------------------------//
-
-#ifndef BOOST_FILESYSTEM_MACRO_VALUE_HPP
-#define BOOST_FILESYSTEM_MACRO_VALUE_HPP
-
-#include <boost/config.hpp>
-#include <boost/assert.hpp>
-#include <cstdlib>
-
-namespace boost
-{
- namespace detail
- {
- inline const char* macro_value(const char* name, const char* value)
- {
- static const char* no_value = "[no value]";
- static const char* not_defined = "[not defined]";
-
- BOOST_ASSERT_MSG(name, "name argument must not be a null pointer");
- BOOST_ASSERT_MSG(value, "value argument must not be a null pointer");
-
- return strcmp(name, value + 1)
- ? ((*value && *(value+1)) ? (value+1) : no_value)
- : not_defined; // name == value+1 so the macro is not defined
- }
- } // detail
-} // boost
-
-#define BOOST_MACRO_VALUE(X) boost::detail::macro_value(#X, BOOST_STRINGIZE(=X))
-
-#endif // BOOST_FILESYSTEM_MACRO_VALUE_HPP
diff --git a/contrib/restricted/boost/boost/filesystem/exception.hpp b/contrib/restricted/boost/boost/filesystem/exception.hpp
deleted file mode 100644
index 985cd8f715..0000000000
--- a/contrib/restricted/boost/boost/filesystem/exception.hpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// boost/filesystem/exception.hpp -----------------------------------------------------//
-
-// Copyright Beman Dawes 2003
-// Use, modification, and distribution is subject to 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)
-
-// This header is no longer used. The contents have been moved to path.hpp.
-// It is provided so that user code #includes do not have to be changed.
diff --git a/contrib/restricted/boost/boost/filesystem/string_file.hpp b/contrib/restricted/boost/boost/filesystem/string_file.hpp
deleted file mode 100644
index 015f659080..0000000000
--- a/contrib/restricted/boost/boost/filesystem/string_file.hpp
+++ /dev/null
@@ -1,43 +0,0 @@
-// filesystem/string_file.hpp --------------------------------------------------------//
-
-// Copyright Beman Dawes 2015
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// Library home page: http://www.boost.org/libs/filesystem
-
-#ifndef BOOST_FILESYSTEM_STRING_FILE_HPP
-#define BOOST_FILESYSTEM_STRING_FILE_HPP
-
-#include <string>
-#include <boost/filesystem/fstream.hpp>
-#include <boost/filesystem/operations.hpp>
-
-namespace boost
-{
-namespace filesystem
-{
-inline
-void save_string_file(const path& p, const std::string& str)
-{
- ofstream file;
- file.exceptions(std::ofstream::failbit | std::ofstream::badbit);
- file.open(p, std::ios_base::binary);
- file.write(str.c_str(), str.size());
-}
-
-inline
-void load_string_file(const path& p, std::string& str)
-{
- ifstream file;
- file.exceptions(std::ifstream::failbit | std::ifstream::badbit);
- file.open(p, std::ios_base::binary);
- std::size_t sz = static_cast<std::size_t>(file_size(p));
- str.resize(sz, '\0');
- file.read(&str[0], sz);
-}
-} // namespace filesystem
-} // namespace boost
-
-#endif // include guard
diff --git a/contrib/restricted/boost/filesystem/CMakeLists.txt b/contrib/restricted/boost/filesystem/CMakeLists.txt
new file mode 100644
index 0000000000..983f00da27
--- /dev/null
+++ b/contrib/restricted/boost/filesystem/CMakeLists.txt
@@ -0,0 +1,39 @@
+
+# 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-filesystem)
+target_include_directories(restricted-boost-filesystem PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/include
+)
+target_link_libraries(restricted-boost-filesystem PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-boost-assert
+ restricted-boost-config
+ restricted-boost-container_hash
+ restricted-boost-core
+ restricted-boost-detail
+ restricted-boost-io
+ restricted-boost-iterator
+ restricted-boost-range
+ restricted-boost-smart_ptr
+ restricted-boost-static_assert
+ restricted-boost-system
+ restricted-boost-type_traits
+)
+target_sources(restricted-boost-filesystem PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/codecvt_error_category.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/operations.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/path_traits.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/portability.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/unique_path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/utf8_codecvt_facet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/filesystem/src/windows_file_codecvt.cpp
+)
diff --git a/contrib/restricted/boost/boost/filesystem/config.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/config.hpp
index 815976959a..815976959a 100644
--- a/contrib/restricted/boost/boost/filesystem/config.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/config.hpp
diff --git a/contrib/restricted/boost/boost/filesystem/convenience.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/convenience.hpp
index f0bd986909..f0bd986909 100644
--- a/contrib/restricted/boost/boost/filesystem/convenience.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/convenience.hpp
diff --git a/contrib/restricted/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/detail/utf8_codecvt_facet.hpp
index 3b78fb1b66..3b78fb1b66 100644
--- a/contrib/restricted/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/detail/utf8_codecvt_facet.hpp
diff --git a/contrib/restricted/boost/boost/filesystem/fstream.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/fstream.hpp
index 0dff2dfe4a..a87dc9433d 100644
--- a/contrib/restricted/boost/boost/filesystem/fstream.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/fstream.hpp
@@ -7,7 +7,7 @@
// Library home page: http://www.boost.org/libs/filesystem
-//--------------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
#ifndef BOOST_FILESYSTEM3_FSTREAM_HPP
#define BOOST_FILESYSTEM3_FSTREAM_HPP
@@ -60,7 +60,7 @@ namespace filesystem
virtual ~basic_filebuf() {}
basic_filebuf<charT,traits>*
- open(const path& p, std::ios_base::openmode mode)
+ open(const path& p, std::ios_base::openmode mode)
{
return std::basic_filebuf<charT,traits>::open(p.BOOST_FILESYSTEM_C_STR, mode)
? this : 0;
@@ -179,7 +179,7 @@ namespace filesystem
typedef basic_ifstream<wchar_t> wifstream;
typedef basic_ofstream<wchar_t> wofstream;
typedef basic_fstream<wchar_t> wfstream;
-
+
} // namespace filesystem
} // namespace boost
diff --git a/contrib/restricted/boost/boost/filesystem/operations.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/operations.hpp
index a4f652fbf8..b0ea42a308 100644
--- a/contrib/restricted/boost/boost/filesystem/operations.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/operations.hpp
@@ -66,8 +66,8 @@ namespace boost
// all functions are inline to avoid issues with crossing dll boundaries
- // functions previously noexcept are now BOOST_NOEXCEPT_OR_NOTHROW
- // functions previously without noexcept are now BOOST_NOEXCEPT
+ // functions previously throw() are now BOOST_NOEXCEPT_OR_NOTHROW
+ // functions previously without throw() are now BOOST_NOEXCEPT
public:
// compiler generates copy constructor and copy assignment
diff --git a/contrib/restricted/boost/boost/filesystem/path.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/path.hpp
index 65e27b17da..65e27b17da 100644
--- a/contrib/restricted/boost/boost/filesystem/path.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/path.hpp
diff --git a/contrib/restricted/boost/boost/filesystem/path_traits.hpp b/contrib/restricted/boost/filesystem/include/boost/filesystem/path_traits.hpp
index 129044a469..129044a469 100644
--- a/contrib/restricted/boost/boost/filesystem/path_traits.hpp
+++ b/contrib/restricted/boost/filesystem/include/boost/filesystem/path_traits.hpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp b/contrib/restricted/boost/filesystem/src/codecvt_error_category.cpp
index 165c6ea7b8..165c6ea7b8 100644
--- a/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp
+++ b/contrib/restricted/boost/filesystem/src/codecvt_error_category.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/operations.cpp b/contrib/restricted/boost/filesystem/src/operations.cpp
index 044019ceb9..6a72f89196 100644
--- a/contrib/restricted/boost/libs/filesystem/src/operations.cpp
+++ b/contrib/restricted/boost/filesystem/src/operations.cpp
@@ -10,9 +10,6 @@
//--------------------------------------------------------------------------------------//
-#if defined(__ANDROID__) && defined(__ANDROID_API__) && __ANDROID_API__ < 24
-// Android fully supports 64-bit file offsets only for API 24 and above.
-#else
// define 64-bit offset macros BEFORE including boost/config.hpp (see ticket #5355)
#if defined(__ANDROID__) && defined(__ANDROID_API__) && __ANDROID_API__ < 24
// Android fully supports 64-bit file offsets only for API 24 and above.
@@ -55,7 +52,6 @@
// systems as well.
#define _FILE_OFFSET_BITS 64
#endif
-#endif
// define BOOST_FILESYSTEM_SOURCE so that <boost/filesystem/config.hpp> knows
// the library is being built (possibly exporting rather than importing code)
@@ -450,7 +446,7 @@ namespace
bool not_found_error(int errval)
{
- return errno == ENOENT || errno == ENOTDIR;
+ return errval == ENOENT || errval == ENOTDIR;
}
bool // true if ok
@@ -919,20 +915,20 @@ namespace detail
BOOST_FILESYSTEM_DECL
void copy(const path& from, const path& to, system::error_code* ec)
{
- file_status s(symlink_status(from, ec));
+ file_status s(detail::symlink_status(from, ec));
if (ec != 0 && *ec) return;
if(is_symlink(s))
{
- copy_symlink(from, to, *ec);
+ detail::copy_symlink(from, to, ec);
}
else if(is_directory(s))
{
- copy_directory(from, to, *ec);
+ detail::copy_directory(from, to, ec);
}
else if(is_regular_file(s))
{
- copy_file(from, to, fs::copy_option::fail_if_exists, *ec);
+ detail::copy_file(from, to, detail::fail_if_exists, ec);
}
else
{
@@ -1919,6 +1915,7 @@ namespace detail
path system_complete(const path& p, system::error_code* ec)
{
# ifdef BOOST_POSIX_API
+ (void)ec;
return (p.empty() || p.is_absolute())
? p : current_path()/ p;
@@ -2345,9 +2342,7 @@ namespace detail
&& (filename.size()== 1
|| (filename[1] == dot
&& filename.size()== 2)))
- {
- detail::directory_iterator_increment(it, ec);
- }
+ { detail::directory_iterator_increment(it, ec); }
}
}
diff --git a/contrib/restricted/boost/libs/filesystem/src/path.cpp b/contrib/restricted/boost/filesystem/src/path.cpp
index a4588654ba..a4588654ba 100644
--- a/contrib/restricted/boost/libs/filesystem/src/path.cpp
+++ b/contrib/restricted/boost/filesystem/src/path.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp b/contrib/restricted/boost/filesystem/src/path_traits.cpp
index 07b92c0f12..07b92c0f12 100644
--- a/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp
+++ b/contrib/restricted/boost/filesystem/src/path_traits.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/portability.cpp b/contrib/restricted/boost/filesystem/src/portability.cpp
index b1a1352d9a..b1a1352d9a 100644
--- a/contrib/restricted/boost/libs/filesystem/src/portability.cpp
+++ b/contrib/restricted/boost/filesystem/src/portability.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp b/contrib/restricted/boost/filesystem/src/unique_path.cpp
index 1b05c83944..1b05c83944 100644
--- a/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp
+++ b/contrib/restricted/boost/filesystem/src/unique_path.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp b/contrib/restricted/boost/filesystem/src/utf8_codecvt_facet.cpp
index 8a5af1e07c..8a5af1e07c 100644
--- a/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp
+++ b/contrib/restricted/boost/filesystem/src/utf8_codecvt_facet.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp b/contrib/restricted/boost/filesystem/src/windows_file_codecvt.cpp
index 998db60221..998db60221 100644
--- a/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp
+++ b/contrib/restricted/boost/filesystem/src/windows_file_codecvt.cpp
diff --git a/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.hpp b/contrib/restricted/boost/filesystem/src/windows_file_codecvt.hpp
index d4ad1b7daf..d4ad1b7daf 100644
--- a/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.hpp
+++ b/contrib/restricted/boost/filesystem/src/windows_file_codecvt.hpp
diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt
deleted file mode 100644
index 21e5971cb5..0000000000
--- a/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-
-# 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(boost-libs-filesystem)
-target_compile_options(boost-libs-filesystem PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
- -D_DARWIN_C_SOURCE=1
- -DBOOST_FILESYSTEM_STATIC_LINK=1
- -Wno-everything
-)
-target_link_libraries(boost-libs-filesystem PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
- restricted-boost-system
-)
-target_sources(boost-libs-filesystem PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/operations.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/portability.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp
-)
diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt
deleted file mode 100644
index ffde8c638e..0000000000
--- a/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-
-# 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(boost-libs-filesystem)
-target_compile_options(boost-libs-filesystem PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
- -DBOOST_FILESYSTEM_STATIC_LINK=1
- -Wno-everything
-)
-target_link_libraries(boost-libs-filesystem PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
- restricted-boost-system
-)
-target_sources(boost-libs-filesystem PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/operations.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/portability.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp
-)
diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.txt
deleted file mode 100644
index fc7b1ee73c..0000000000
--- a/contrib/restricted/boost/libs/filesystem/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-
-# 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.
-
-
-if (APPLE)
- include(CMakeLists.darwin.txt)
-elseif (UNIX AND NOT APPLE)
- include(CMakeLists.linux.txt)
-endif()
diff --git a/contrib/restricted/boost/libs/graph/CMakeLists.txt b/contrib/restricted/boost/libs/graph/CMakeLists.txt
index bff7dae152..7c75519d35 100644
--- a/contrib/restricted/boost/libs/graph/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/graph/CMakeLists.txt
@@ -13,6 +13,6 @@ target_link_libraries(boost-libs-graph INTERFACE
contrib-restricted-boost
restricted-boost-atomic
restricted-boost-exception
- boost-libs-filesystem
+ restricted-boost-filesystem
boost-libs-thread
)