Skip to content

Commit fa13e40

Browse files
authored
Merge pull request #8032 from ydb-platform/mergelibs-240819-2038
Library import 240819-2038
2 parents 9d39bb3 + be98f5c commit fa13e40

File tree

6 files changed

+28
-24
lines changed

6 files changed

+28
-24
lines changed

build/conf/proto.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,10 +634,15 @@ macro _GENERATE_PY_EVS_INTERNAL(FILES...) {
634634
###
635635
### TODO: proper implementation needed
636636
macro LIST_PROTO(TO="files.proto", Files...) {
637-
.CMD=$YMAKE_PYTHON3 ${input:"build/scripts/list.py"} ${Files} ${input;hide:Files} ${stdout;output;noauto:TO} ${output_include;from_input;hide:Files} && $YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${output;noext;suf=.pb.h:TO}
637+
.CMD=$YMAKE_PYTHON3 ${input:"build/scripts/list.py"} ${Files} ${input;hide:Files} ${stdout;output;noauto:TO} ${output_include;from_input;hide:Files}
638+
_COMPILE_LIST_PROTO(${TO})
638639
_EXPOSE(${TO})
639640
}
640641

642+
macro _COMPILE_LIST_PROTO(SRC) {
643+
.CMD=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${input;hide:SRC} ${output;noext;suf=.pb.h:SRC}
644+
}
645+
641646
# tag:proto
642647
macro _PROTO_DESC_RAWPROTO_CMD(File) {
643648
.CMD=${cwd;rootdir;input:File} $YMAKE_PYTHON3 ${input:"build/scripts/desc_rawproto_wrapper.py"} --desc-output ${output;suf=.desc:File} --rawproto-output ${output;norel;suf=.${_MODDIR_HASH}.rawproto:File} --proto-file ${input;rootrel:File} -- $PROTOC -I=./$PROTO_NAMESPACE -I=$ARCADIA_ROOT/$PROTO_NAMESPACE ${pre=-I=:_PROTO__INCLUDE} -I=$ARCADIA_BUILD_ROOT -I=$PROTOBUF_INCLUDE_PATH --include_source_info $_PROTOC_FLAGS ${hide:PROTO_FAKEID}

build/export_generators/cmake/root_cmake_lists.jinja

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ endif()
77

88
project({{ project_name }} LANGUAGES
99
{%- for project_language in project_languages -%}
10-
{%- if project_language == "ASM" -%}
11-
{% set has_asm = true %}
12-
{%- else %} {{ project_language }}
10+
{%- if project_language != "ASM" %} {{ project_language }}
1311
{%- endif -%}
14-
{%- if has_asm %} ASM
12+
{%- if (loop.last) and ("ASM" in project_languages) %} ASM
1513
{%- endif -%}
16-
{%- endfor -%})
14+
{%- endfor -%}
15+
)
1716

1817
set(BUILD_SHARED_LIBS Off)
1918
set(CMAKE_CXX_STANDARD 20)

contrib/restricted/boost/interprocess/ya.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ LICENSE(
99

1010
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
1111

12-
VERSION(1.85.0)
12+
VERSION(1.86.0)
1313

14-
ORIGINAL_SOURCE(https://github.com/boostorg/interprocess/archive/boost-1.85.0.tar.gz)
14+
ORIGINAL_SOURCE(https://github.com/boostorg/interprocess/archive/boost-1.86.0.tar.gz)
1515

1616
PEERDIR(
1717
contrib/restricted/boost/assert
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Override _WIN32_WINNT
2+
#undef _WIN32_WINNT
3+
#define _WIN32_WINNT Py_WINVER
4+
5+
#define Py_NO_ENABLE_SHARED
6+
7+
#include "../PC/pyconfig.h"

contrib/tools/python3/Include/pyconfig.h

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,21 @@
2525

2626
#endif
2727

28-
#if defined(__linux__)
29-
#include "pyconfig-linux.h"
28+
#if !defined(NDEBUG) && !defined(Py_DEBUG) && !defined(Py_LIMITED_API) && !defined(DISABLE_PYDEBUG)
29+
#define Py_DEBUG
30+
#define GC_NDEBUG
3031
#endif
3132

3233
#if defined(__APPLE__) && (defined(__aarch64__) || defined(_M_ARM64))
3334
# include "pyconfig-osx-arm64.h"
3435
#elif defined(__APPLE__) && (defined(__x86_64__) || defined(_M_X64))
3536
# include "pyconfig-osx-x86_64.h"
36-
#endif
37-
38-
#if defined(_MSC_VER)
39-
#define NTDDI_VERSION 0x06020000
40-
#define _WIN32_WINNT 0x0602
41-
#define Py_NO_ENABLE_SHARED
42-
#include "../PC/pyconfig.h"
37+
#elif defined(_MSC_VER)
38+
# include "pyconfig-win.h"
39+
#else
40+
# include "pyconfig-linux.h"
4341
#endif
4442

4543
#if defined(_musl_)
46-
#include "pyconfig-musl.h"
47-
#endif
48-
49-
#if !defined(NDEBUG) && !defined(Py_DEBUG) && !defined(Py_LIMITED_API) && !defined(DISABLE_PYDEBUG)
50-
#define Py_DEBUG
51-
#define GC_NDEBUG
44+
# include "pyconfig-musl.h"
5245
#endif

ydb/ci/rightlib.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6736ef52165b42c9537dc7e81346c5ef1568f2a1
1+
397a82f8ab18a1a8a252dcb9b5420720a316677c

0 commit comments

Comments
 (0)