Skip to content

Commit

Permalink
Merge branch 'rightlib' into merge-libs-250201-0050
Browse files Browse the repository at this point in the history
  • Loading branch information
alexv-smirnov committed Feb 1, 2025
2 parents 28b4207 + 6bdb839 commit bc8b47b
Show file tree
Hide file tree
Showing 43 changed files with 1,300 additions and 285 deletions.
2 changes: 0 additions & 2 deletions build/sysincl/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,3 @@
- emscripten/websocket.h: contrib/restricted/emscripten/system/include/emscripten/websocket.h

- stdc-predef.h: contrib/restricted/emscripten/system/lib/libc/musl/include/stdc-predef.h

- cxxabi.h: contrib/libs/cxxsupp/libcxxabi/include/cxxabi.h
6 changes: 3 additions & 3 deletions build/sysincl/stl-to-libcxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@

- includes:
- cxxabi.h:
- contrib/libs/cxxsupp/libcxxabi/include/cxxabi.h
- contrib/libs/cxxsupp/libcxxrt/include/cxxabi.h
- __cxxabi_config.h:
- contrib/libs/cxxsupp/libcxxabi/include/__cxxabi_config.h
- omp.h:
- contrib/libs/cxxsupp/openmp/omp.h
- unwind.h:
Expand All @@ -44,9 +47,6 @@
- math_cuda.h:
- contrib/libs/cxxsupp/libcxx/include/math_cuda.h

- source_filter: "^contrib/libs/cxxsupp/libcxxabi/"
includes:
- cxxabi.h: contrib/libs/cxxsupp/libcxxabi/include/cxxabi.h

# Though these are headers provided by libcxx, we do not want to allow them to be included.
# We are using non-existent filename to generate error instead, as there is no specific syntax for this case.
Expand Down
2 changes: 1 addition & 1 deletion contrib/libs/cxxsupp/libcxxrt/cxxabi.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace std

#ifdef __cplusplus
#if __cplusplus < 201103L
#define _LIBCXXRT_NOEXCEPT noexcept
#define _LIBCXXRT_NOEXCEPT throw()
#else
#define _LIBCXXRT_NOEXCEPT noexcept
#endif
Expand Down
2 changes: 1 addition & 1 deletion contrib/libs/cxxsupp/libcxxrt/exception.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "dwarf_eh.h"
#include "atomic.h"
#include "cxxabi.h"
#include "msan.h"
#include <sanitizer/msan_interface.h>

using namespace ABI_NAMESPACE;

Expand Down
12 changes: 0 additions & 12 deletions contrib/libs/cxxsupp/libcxxrt/msan.h

This file was deleted.

9 changes: 5 additions & 4 deletions contrib/libs/cxxsupp/libcxxrt/stdexcept.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
namespace std {

exception::exception() _LIBCXXRT_NOEXCEPT {}
exception::~exception() _LIBCXXRT_NOEXCEPT {}
exception::~exception() {}
exception::exception(const exception&) _LIBCXXRT_NOEXCEPT {}
exception& exception::operator=(const exception&) _LIBCXXRT_NOEXCEPT
{
Expand All @@ -44,7 +44,7 @@ const char* exception::what() const _LIBCXXRT_NOEXCEPT
}

bad_alloc::bad_alloc() _LIBCXXRT_NOEXCEPT {}
bad_alloc::~bad_alloc() _LIBCXXRT_NOEXCEPT {}
bad_alloc::~bad_alloc() {}
bad_alloc::bad_alloc(const bad_alloc&) _LIBCXXRT_NOEXCEPT {}
bad_alloc& bad_alloc::operator=(const bad_alloc&) _LIBCXXRT_NOEXCEPT
{
Expand All @@ -58,7 +58,7 @@ const char* bad_alloc::what() const _LIBCXXRT_NOEXCEPT


bad_cast::bad_cast() _LIBCXXRT_NOEXCEPT {}
bad_cast::~bad_cast() _LIBCXXRT_NOEXCEPT {}
bad_cast::~bad_cast() {}
bad_cast::bad_cast(const bad_cast&) _LIBCXXRT_NOEXCEPT {}
bad_cast& bad_cast::operator=(const bad_cast&) _LIBCXXRT_NOEXCEPT
{
Expand All @@ -70,7 +70,7 @@ const char* bad_cast::what() const _LIBCXXRT_NOEXCEPT
}

bad_typeid::bad_typeid() _LIBCXXRT_NOEXCEPT {}
bad_typeid::~bad_typeid() _LIBCXXRT_NOEXCEPT {}
bad_typeid::~bad_typeid() {}
bad_typeid::bad_typeid(const bad_typeid &__rhs) _LIBCXXRT_NOEXCEPT {}
bad_typeid& bad_typeid::operator=(const bad_typeid &__rhs) _LIBCXXRT_NOEXCEPT
{
Expand All @@ -96,3 +96,4 @@ const char* bad_array_new_length::what() const _LIBCXXRT_NOEXCEPT
}

} // namespace std

8 changes: 4 additions & 4 deletions contrib/libs/cxxsupp/libcxxrt/stdexcept.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace std
exception() _LIBCXXRT_NOEXCEPT;
exception(const exception&) _LIBCXXRT_NOEXCEPT;
exception& operator=(const exception&) _LIBCXXRT_NOEXCEPT;
virtual ~exception() _LIBCXXRT_NOEXCEPT;
virtual ~exception();
virtual const char* what() const _LIBCXXRT_NOEXCEPT;
};

Expand All @@ -54,7 +54,7 @@ namespace std
bad_alloc() _LIBCXXRT_NOEXCEPT;
bad_alloc(const bad_alloc&) _LIBCXXRT_NOEXCEPT;
bad_alloc& operator=(const bad_alloc&) _LIBCXXRT_NOEXCEPT;
~bad_alloc() _LIBCXXRT_NOEXCEPT;
~bad_alloc();
virtual const char* what() const _LIBCXXRT_NOEXCEPT;
};

Expand All @@ -66,7 +66,7 @@ namespace std
bad_cast() _LIBCXXRT_NOEXCEPT;
bad_cast(const bad_cast&) _LIBCXXRT_NOEXCEPT;
bad_cast& operator=(const bad_cast&) _LIBCXXRT_NOEXCEPT;
virtual ~bad_cast() _LIBCXXRT_NOEXCEPT;
virtual ~bad_cast();
virtual const char* what() const _LIBCXXRT_NOEXCEPT;
};

Expand All @@ -78,7 +78,7 @@ namespace std
public:
bad_typeid() _LIBCXXRT_NOEXCEPT;
bad_typeid(const bad_typeid &__rhs) _LIBCXXRT_NOEXCEPT;
virtual ~bad_typeid() _LIBCXXRT_NOEXCEPT;
virtual ~bad_typeid();
bad_typeid& operator=(const bad_typeid &__rhs) _LIBCXXRT_NOEXCEPT;
virtual const char* what() const _LIBCXXRT_NOEXCEPT;
};
Expand Down
15 changes: 5 additions & 10 deletions contrib/libs/cxxsupp/libcxxrt/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,18 @@ VERSION(2024-10-14)

ORIGINAL_SOURCE(https://github.com/libcxxrt/libcxxrt/archive/76435c4451aeb5e04e9500b090293347a38cef8d.tar.gz)

ADDINCL(
contrib/libs/cxxsupp/libcxxrt
PEERDIR(
contrib/libs/libunwind
library/cpp/sanitizer/include
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CXXFLAGS(-nostdinc++)
NO_UTIL()

IF (CXX_UNWIND == "glibcxx_dynamic" OR ARCH_PPC64LE)
LDFLAGS(-lgcc_s)
ELSE()
PEERDIR(
contrib/libs/libunwind
)
ENDIF()
CXXFLAGS(-nostdinc++)

IF (SANITIZER_TYPE == undefined OR FUZZING)
NO_SANITIZE()
Expand Down
10 changes: 7 additions & 3 deletions contrib/python/more-itertools/py3/.dist-info/METADATA
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
Metadata-Version: 2.1
Name: more-itertools
Version: 10.5.0
Version: 10.6.0
Summary: More routines for operating on iterables, beyond itertools
Keywords: itertools,iterator,iteration,filter,peek,peekable,chunk,chunked
Author-email: Erik Rose <[email protected]>
Requires-Python: >=3.8
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Project-URL: Documentation, https://more-itertools.readthedocs.io/en/stable/
Project-URL: Homepage, https://github.com/more-itertools/more-itertools

==============
Expand Down Expand Up @@ -142,6 +143,8 @@ Python iterables.
| | `convolve <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.convolve>`_, |
| | `dotproduct <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.dotproduct>`_, |
| | `factor <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.factor>`_, |
| | `is_prime <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.is_prime>`_, |
| | `nth_prime <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_prime>`_, |
| | `matmul <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.matmul>`_, |
| | `polynomial_from_roots <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_from_roots>`_, |
| | `polynomial_derivative <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_derivative>`_, |
Expand Down Expand Up @@ -185,6 +188,7 @@ Python iterables.
| | `numeric_range <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.numeric_range>`_, |
| | `side_effect <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.side_effect>`_, |
| | `iterate <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iterate>`_, |
| | `loops <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.loops>`_, |
| | `difference <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.difference>`_, |
| | `make_decorator <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.make_decorator>`_, |
| | `SequenceView <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.SequenceView>`_, |
Expand Down
3 changes: 3 additions & 0 deletions contrib/python/more-itertools/py3/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ Python iterables.
| | `convolve <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.convolve>`_, |
| | `dotproduct <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.dotproduct>`_, |
| | `factor <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.factor>`_, |
| | `is_prime <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.is_prime>`_, |
| | `nth_prime <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_prime>`_, |
| | `matmul <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.matmul>`_, |
| | `polynomial_from_roots <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_from_roots>`_, |
| | `polynomial_derivative <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_derivative>`_, |
Expand Down Expand Up @@ -161,6 +163,7 @@ Python iterables.
| | `numeric_range <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.numeric_range>`_, |
| | `side_effect <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.side_effect>`_, |
| | `iterate <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iterate>`_, |
| | `loops <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.loops>`_, |
| | `difference <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.difference>`_, |
| | `make_decorator <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.make_decorator>`_, |
| | `SequenceView <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.SequenceView>`_, |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from .more import * # noqa
from .recipes import * # noqa

__version__ = '10.5.0'
__version__ = '10.6.0'
Loading

0 comments on commit bc8b47b

Please sign in to comment.