File tree Expand file tree Collapse file tree 5 files changed +28
-5
lines changed
library/yql/parser/proto_ast/gen Expand file tree Collapse file tree 5 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ if __name__ == "__main__":
215
215
--semantic-graph \" { ydb_metadata_folder_path + '/sem.linux-aarch64.json' } \" --platforms linux-aarch64 \
216
216
--semantic-graph \" { ydb_metadata_folder_path + '/sem.darwin-x86_64.json' } \" --platforms darwin-x86_64 \
217
217
--semantic-graph \" { ydb_metadata_folder_path + '/sem.darwin-arm64.json' } \" --platforms darwin-arm64 \
218
- --semantic-graph \" { ydb_metadata_folder_path + '/sem.windows-x86_64.json' } \" --platforms windows-x86_64"
218
+ --semantic-graph \" { ydb_metadata_folder_path + '/sem.windows-x86_64.json' } \" --platforms windows-x86_64 --generator cmake "
219
219
# yexport_command = f"{yexport_binary_path} --export-root \"{ydb_tmp_folder_path}\" --target YDB \
220
220
# --semantic-graph \"{ydb_metadata_folder_path + '/sem.darwin-x86_64.json'}\" --platforms darwin-x86_64"
221
221
print (f"yexport command { yexport_command } " )
Original file line number Diff line number Diff line change 1
1
PROTO_LIBRARY()
2
2
3
- IF (CPP_PROTO )
3
+ IF (GEN_PROTO )
4
4
SET(antlr_output ${ARCADIA_BUILD_ROOT}/${MODDIR})
5
5
SET(antlr_templates ${antlr_output}/org/antlr/codegen/templates)
6
6
SET(jsonpath_grammar ${ARCADIA_ROOT}/ydb/library/yql/minikql/jsonpath/JsonPath.g)
@@ -23,11 +23,10 @@ IF (CPP_PROTO)
23
23
CWD ${antlr_output}
24
24
)
25
25
26
- EXCLUDE_TAGS(GO_PROTO JAVA_PROTO)
27
-
28
26
NO_COMPILER_WARNINGS()
29
27
30
28
ADDINCL(
29
+ # TODO Please check RUN_ANTLR with version 3, but ADDINCL for version 4
31
30
GLOBAL contrib/libs/antlr4_cpp_runtime/src
32
31
)
33
32
@@ -48,5 +47,6 @@ ENDIF()
48
47
49
48
SRCS(JsonPathParser.proto)
50
49
50
+ EXCLUDE_TAGS(GO_PROTO JAVA_PROTO)
51
51
52
52
END()
Original file line number Diff line number Diff line change
1
+ set (GRAMMAR_STRING_CORE_SINGLE "~(QUOTE_SINGLE | BACKSLASH) | (BACKSLASH .)" )
2
+ set (GRAMMAR_STRING_CORE_DOUBLE "~(QUOTE_DOUBLE | BACKSLASH) | (BACKSLASH .)" )
3
+ set (GRAMMAR_MULTILINE_COMMENT_CORE "." )
4
+ configure_file (
5
+ ${CMAKE_SOURCE_DIR} /ydb/library/yql/sql/v0/SQL.g
6
+ ${CMAKE_BINARY_DIR} /ydb/library/yql/parser/proto_ast/gen/v0/SQL.g
7
+ )
8
+
9
+
Original file line number Diff line number Diff line change
1
+ set (GRAMMAR_STRING_CORE_SINGLE "~(QUOTE_SINGLE | BACKSLASH) | (BACKSLASH .)" )
2
+ set (GRAMMAR_STRING_CORE_DOUBLE "~(QUOTE_DOUBLE | BACKSLASH) | (BACKSLASH .)" )
3
+ set (GRAMMAR_MULTILINE_COMMENT_CORE "." )
4
+
5
+ configure_file (
6
+ ${CMAKE_SOURCE_DIR} /ydb/library/yql/sql/v0/SQL.g
7
+ ${CMAKE_BINARY_DIR} /ydb/library/yql/parser/proto_ast/gen/v0_proto_split/SQL.g
8
+ )
9
+
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ RECURSE(
6
6
mvp
7
7
public
8
8
services
9
- tests
10
9
tools
11
10
yql_docs
12
11
)
12
+
13
+ IF(NOT EXPORT_CMAKE)
14
+ RECURSE(
15
+ tests
16
+ )
17
+ ENDIF()
You can’t perform that action at this time.
0 commit comments