File tree 6 files changed +28
-24
lines changed
restricted/boost/interprocess
6 files changed +28
-24
lines changed Original file line number Diff line number Diff line change @@ -634,10 +634,15 @@ macro _GENERATE_PY_EVS_INTERNAL(FILES...) {
634
634
###
635
635
### TODO: proper implementation needed
636
636
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})
638
639
_EXPOSE(${TO})
639
640
}
640
641
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
+
641
646
# tag:proto
642
647
macro _PROTO_DESC_RAWPROTO_CMD(File) {
643
648
.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}
Original file line number Diff line number Diff line change @@ -7,13 +7,12 @@ endif()
7
7
8
8
project({{ project_name }} LANGUAGES
9
9
{% - 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 }}
13
11
{% - endif -%}
14
- {% - if has_asm %} ASM
12
+ {% - if ( loop . last ) and ( "ASM" in project_languages ) %} ASM
15
13
{% - endif -%}
16
- {% - endfor -%} )
14
+ {% - endfor -%}
15
+ )
17
16
18
17
set(BUILD_SHARED_LIBS Off)
19
18
set(CMAKE_CXX_STANDARD 20)
Original file line number Diff line number Diff line change 9
9
10
10
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
11
11
12
- VERSION(1.85 .0)
12
+ VERSION(1.86 .0)
13
13
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)
15
15
16
16
PEERDIR(
17
17
contrib/restricted/boost/assert
Original file line number Diff line number Diff line change
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"
Original file line number Diff line number Diff line change 25
25
26
26
#endif
27
27
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
30
31
#endif
31
32
32
33
#if defined(__APPLE__ ) && (defined(__aarch64__ ) || defined(_M_ARM64 ))
33
34
# include "pyconfig-osx-arm64.h"
34
35
#elif defined(__APPLE__ ) && (defined(__x86_64__ ) || defined(_M_X64 ))
35
36
# 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"
43
41
#endif
44
42
45
43
#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"
52
45
#endif
Original file line number Diff line number Diff line change 1
- 6736ef52165b42c9537dc7e81346c5ef1568f2a1
1
+ 397a82f8ab18a1a8a252dcb9b5420720a316677c
You can’t perform that action at this time.
0 commit comments