Browse Source

intermediate changes
ref:2fd7725f9a380208f93125e4819eee9282388396

arcadia-devtools 3 years ago
parent
commit
5082c890e9

+ 0 - 4
build/rules/library_deprecated.policy

@@ -10,10 +10,6 @@ ALLOW statbox/python-statinfra -> library/python/clickhouse_client
 ALLOW quality/ab_testing/cofe/bin/lib/files/py2/cofe_kernel_yql -> library/python/clickhouse_client
 DENY .* -> library/python/clickhouse_client
 
-# ticket_parser2
-# TODO: drop temporary rule with entire library: PASSP-30786
-DENY .* -> library/java/ticket_parser2
-
 # please use https://a.yandex-team.ru/arc/trunk/arcadia/library/python/tvmauth instead
 # https://clubs.at.yandex-team.ru/passport/3619
 ALLOW addappter/backend/addappter -> library/python/deprecated/ticket_parser2

+ 1 - 1
build/rules/library_deps.policy

@@ -16,7 +16,7 @@ ALLOW library/.*/ipreg -> ipreg
 ALLOW library/cpp/deprecated/ipreg1 -> ipreg
 ALLOW library/cpp/geobase -> geobase
 ALLOW library/python/zipatch -> vcs/svn/wc/client
-ALLOW library/(java/ticket_parser2)|(hnsw) -> iceberg
+ALLOW library/.*/hnsw -> iceberg
 ALLOW library/python/bstr -> yt/python/client
 ALLOW library/python/django -> devtools/ya/yalibrary/makelists
 ALLOW library/python/django_abc_data -> intranet/sync_tools

+ 5 - 0
build/sysincl/stl-to-libcxx.yml

@@ -11,6 +11,7 @@
   - complex.h:  contrib/libs/cxxsupp/libcxx/include/complex.h
   - ctype.h:    contrib/libs/cxxsupp/libcxx/include/ctype.h
   - errno.h:    contrib/libs/cxxsupp/libcxx/include/errno.h
+  - fenv.h:     contrib/libs/cxxsupp/libcxx/include/fenv.h
   - float.h:    contrib/libs/cxxsupp/libcxx/include/float.h
   - inttypes.h: contrib/libs/cxxsupp/libcxx/include/inttypes.h
   - limits.h:   contrib/libs/cxxsupp/libcxx/include/limits.h
@@ -155,3 +156,7 @@
 
   # TODO: there is no <corouine> in libc++. Disable this include upon its appearance
   - experimental/coroutine:    contrib/libs/cxxsupp/libcxx/include/experimental/coroutine
+
+- source_filter: "^contrib/restricted/boost"
+  includes:
+    - ../include/fenv.h: contrib/libs/cxxsupp/libcxx/include/fenv.h

+ 1 - 1
certs/CMakeLists.txt

@@ -6,7 +6,7 @@ target_link_libraries(certs INTERFACE
 )
 
 add_global_library_for(certs.global certs)
-target_link_libraries(certs.global INTERFACE
+target_link_libraries(certs.global PUBLIC
   contrib-libs-cxxsupp
   yutil
   library-cpp-resource

+ 1 - 1
contrib/libs/cctz/tzdata/CMakeLists.txt

@@ -7,7 +7,7 @@ target_link_libraries(libs-cctz-tzdata INTERFACE
 )
 
 add_global_library_for(libs-cctz-tzdata.global libs-cctz-tzdata)
-target_link_libraries(libs-cctz-tzdata.global INTERFACE
+target_link_libraries(libs-cctz-tzdata.global PUBLIC
   contrib-libs-cxxsupp
   yutil
   contrib-libs-cctz

+ 120 - 0
contrib/libs/cxxsupp/libcxx/include/fenv.h

@@ -0,0 +1,120 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_FENV_H
+#define _LIBCPP_FENV_H
+
+
+/*
+    fenv.h synopsis
+
+This entire header is C99 / C++0X
+
+Macros:
+
+    FE_DIVBYZERO
+    FE_INEXACT
+    FE_INVALID
+    FE_OVERFLOW
+    FE_UNDERFLOW
+    FE_ALL_EXCEPT
+    FE_DOWNWARD
+    FE_TONEAREST
+    FE_TOWARDZERO
+    FE_UPWARD
+    FE_DFL_ENV
+
+Types:
+
+    fenv_t
+    fexcept_t
+
+int feclearexcept(int excepts);
+int fegetexceptflag(fexcept_t* flagp, int excepts);
+int feraiseexcept(int excepts);
+int fesetexceptflag(const fexcept_t* flagp, int excepts);
+int fetestexcept(int excepts);
+int fegetround();
+int fesetround(int round);
+int fegetenv(fenv_t* envp);
+int feholdexcept(fenv_t* envp);
+int fesetenv(const fenv_t* envp);
+int feupdateenv(const fenv_t* envp);
+
+
+*/
+
+#include <__config>
+
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+#pragma GCC system_header
+#endif
+
+#ifdef _LIBCPP_COMPILER_MSVC
+#include _LIBCPP_UCRT_INCLUDE(fenv.h)
+#else
+#include_next <fenv.h>
+#endif
+
+#ifdef __cplusplus
+
+extern "C++" {
+
+#ifdef feclearexcept
+#undef feclearexcept
+#endif
+
+#ifdef fegetexceptflag
+#undef fegetexceptflag
+#endif
+
+
+#ifdef feraiseexcept
+#undef feraiseexcept
+#endif
+
+#ifdef fesetexceptflag
+#undef fesetexceptflag
+#endif
+
+
+#ifdef fetestexcept
+#undef fetestexcept
+#endif
+
+#ifdef fegetround
+#undef fegetround
+#endif
+
+#ifdef fesetround
+#undef fesetround
+#endif
+
+#ifdef fegetenv
+#undef fegetenv
+#endif
+
+#ifdef feholdexcept
+#undef feholdexcept
+#endif
+
+
+#ifdef fesetenv
+#undef fesetenv
+#endif
+
+#ifdef feupdateenv
+#undef feupdateenv
+#endif
+
+} // extern "C++"
+
+#endif // defined(__cplusplus)
+
+#endif // _LIBCPP_FENV_H

+ 1 - 1
library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt

@@ -8,7 +8,7 @@ target_link_libraries(blockcodecs-codecs-brotli INTERFACE
 )
 
 add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli)
-target_link_libraries(blockcodecs-codecs-brotli.global INTERFACE
+target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC
   contrib-libs-cxxsupp
   yutil
   libs-brotli-enc

+ 1 - 1
library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt

@@ -7,7 +7,7 @@ target_link_libraries(blockcodecs-codecs-bzip INTERFACE
 )
 
 add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip)
-target_link_libraries(blockcodecs-codecs-bzip.global INTERFACE
+target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC
   contrib-libs-cxxsupp
   yutil
   contrib-libs-libbz2

+ 1 - 1
library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt

@@ -7,7 +7,7 @@ target_link_libraries(blockcodecs-codecs-fastlz INTERFACE
 )
 
 add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz)
-target_link_libraries(blockcodecs-codecs-fastlz.global INTERFACE
+target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC
   contrib-libs-cxxsupp
   yutil
   contrib-libs-fastlz

+ 1 - 1
library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt

@@ -7,7 +7,7 @@ target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE
 )
 
 add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06)
-target_link_libraries(blockcodecs-codecs-legacy_zstd06.global INTERFACE
+target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC
   contrib-libs-cxxsupp
   yutil
   contrib-libs-zstd06

Some files were not shown because too many files changed in this diff