Skip to content

Commit 2389e77

Browse files
committed
Library import 7
1 parent e4b78b4 commit 2389e77

File tree

156 files changed

+1292
-640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+1292
-640
lines changed

build/conf/go.conf

-7
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,11 @@ GO_LINK_EXE=
250250
GO_LINK_EXE+=$GENERATE_MF
251251
GO_LINK_EXE+=&& $GENERATE_VCS_C_INFO_NODEP
252252
GO_LINK_EXE+=&& $GENERATE_VCS_GO_INFO_NODEP
253-
GO_LINK_EXE+=&& $COPY_PROFILE_RUNTIME
254253
GO_LINK_EXE+=&& $_GO_LINK_EXE_IMPL($_GO_SRCS_VALUE CGO_FILES $_CGO_SRCS_VALUE EXTRA_TEXT_INPUTS $_GO_EMBED_INPUTS)
255254

256255
GO_LINK_TEST=
257256
GO_LINK_TEST+=$GENERATE_VCS_C_INFO_NODEP
258257
GO_LINK_TEST+=&& $GENERATE_VCS_GO_INFO_NODEP
259-
GO_LINK_TEST+=&& $COPY_PROFILE_RUNTIME
260258
GO_LINK_TEST+=&& $_GO_LINK_TEST_IMPL($_GO_SRCS_VALUE CGO_FILES $_CGO_SRCS_VALUE EXTRA_TEXT_INPUTS $_GO_EMBED_INPUTS GO_TEST_FILES $_GO_TEST_SRCS_VALUE GO_XTEST_FILES $_GO_XTEST_SRCS_VALUE)
261259

262260
GO_LINK_DLL=
@@ -873,11 +871,6 @@ module GO_PROGRAM: _GO_BASE_UNIT {
873871
_GO_BUILDMODE=++buildmode=pie
874872
}
875873

876-
when ($NEED_PROFILE_RUNTIME == "yes") {
877-
LDFLAGS+=-resource-dir=contrib/libs/clang-rt
878-
PEERDIR+=contrib/libs/clang${CLANG_VER}-rt/lib/profile
879-
}
880-
881874
when ($OPENSOURCE == "yes" && $AUTOCHECK == "yes") {
882875
# FIXME: Replace AUTOCHECK == yes with _not a host platform_ check after YMAKE-218
883876
MODULE_LICENSES_RESTRICTION_TYPES = ALLOW_ONLY
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"by_platform": {
33
"darwin": {
4-
"uri": "sbr:5562968267"
4+
"uri": "sbr:5641379824"
55
},
66
"darwin-arm64": {
7-
"uri": "sbr:5562965675"
7+
"uri": "sbr:5641378801"
88
},
99
"linux": {
10-
"uri": "sbr:5562947428"
10+
"uri": "sbr:5641398951"
1111
}
1212
}
1313
}
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"by_platform": {
33
"darwin": {
4-
"uri": "sbr:5569062376"
4+
"uri": "sbr:5622651213"
55
},
66
"darwin-arm64": {
7-
"uri": "sbr:5569072879"
7+
"uri": "sbr:5622657921"
88
},
99
"linux": {
10-
"uri": "sbr:5569070627"
10+
"uri": "sbr:5622653964"
1111
},
1212
"linux-aarch64": {
13-
"uri": "sbr:5569095361"
13+
"uri": "sbr:5622652638"
1414
},
1515
"win32-clang-cl": {
16-
"uri": "sbr:5569066861"
16+
"uri": "sbr:5622653810"
1717
}
1818
}
1919
}
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"by_platform": {
33
"darwin": {
4-
"uri": "sbr:5569055879"
4+
"uri": "sbr:5622649543"
55
},
66
"darwin-arm64": {
7-
"uri": "sbr:5569046692"
7+
"uri": "sbr:5622648352"
88
},
99
"linux": {
10-
"uri": "sbr:5569080477"
10+
"uri": "sbr:5622649049"
1111
},
1212
"linux-aarch64": {
13-
"uri": "sbr:5569058127"
13+
"uri": "sbr:5622653320"
1414
},
1515
"win32-clang-cl": {
16-
"uri": "sbr:5569069854"
16+
"uri": "sbr:5622653040"
1717
}
1818
}
1919
}

build/mapping.conf.json

+16
Original file line numberDiff line numberDiff line change
@@ -127,34 +127,42 @@
127127
"5498749381": "https://devtools-registry.s3.yandex.net/5498749381",
128128
"5534092912": "https://devtools-registry.s3.yandex.net/5534092912",
129129
"5562971772": "https://devtools-registry.s3.yandex.net/5562971772",
130+
"5641388522": "https://devtools-registry.s3.yandex.net/5641388522",
130131
"5486590469": "https://devtools-registry.s3.yandex.net/5486590469",
131132
"5498750509": "https://devtools-registry.s3.yandex.net/5498750509",
132133
"5534043120": "https://devtools-registry.s3.yandex.net/5534043120",
133134
"5562958333": "https://devtools-registry.s3.yandex.net/5562958333",
135+
"5641392899": "https://devtools-registry.s3.yandex.net/5641392899",
134136
"5486590393": "https://devtools-registry.s3.yandex.net/5486590393",
135137
"5498735180": "https://devtools-registry.s3.yandex.net/5498735180",
136138
"5534059422": "https://devtools-registry.s3.yandex.net/5534059422",
137139
"5562961825": "https://devtools-registry.s3.yandex.net/5562961825",
140+
"5641386025": "https://devtools-registry.s3.yandex.net/5641386025",
138141
"5476908047": "https://devtools-registry.s3.yandex.net/5476908047",
139142
"5509380757": "https://devtools-registry.s3.yandex.net/5509380757",
140143
"5550834592": "https://devtools-registry.s3.yandex.net/5550834592",
141144
"5569062376": "https://devtools-registry.s3.yandex.net/5569062376",
145+
"5622651213": "https://devtools-registry.s3.yandex.net/5622651213",
142146
"5476891477": "https://devtools-registry.s3.yandex.net/5476891477",
143147
"5509369518": "https://devtools-registry.s3.yandex.net/5509369518",
144148
"5550838146": "https://devtools-registry.s3.yandex.net/5550838146",
145149
"5569072879": "https://devtools-registry.s3.yandex.net/5569072879",
150+
"5622657921": "https://devtools-registry.s3.yandex.net/5622657921",
146151
"5476896849": "https://devtools-registry.s3.yandex.net/5476896849",
147152
"5509364024": "https://devtools-registry.s3.yandex.net/5509364024",
148153
"5550826871": "https://devtools-registry.s3.yandex.net/5550826871",
149154
"5569070627": "https://devtools-registry.s3.yandex.net/5569070627",
155+
"5622653964": "https://devtools-registry.s3.yandex.net/5622653964",
150156
"5476895322": "https://devtools-registry.s3.yandex.net/5476895322",
151157
"5509360013": "https://devtools-registry.s3.yandex.net/5509360013",
152158
"5550843115": "https://devtools-registry.s3.yandex.net/5550843115",
153159
"5569095361": "https://devtools-registry.s3.yandex.net/5569095361",
160+
"5622652638": "https://devtools-registry.s3.yandex.net/5622652638",
154161
"5476896707": "https://devtools-registry.s3.yandex.net/5476896707",
155162
"5509388614": "https://devtools-registry.s3.yandex.net/5509388614",
156163
"5550838970": "https://devtools-registry.s3.yandex.net/5550838970",
157164
"5569066861": "https://devtools-registry.s3.yandex.net/5569066861",
165+
"5622653810": "https://devtools-registry.s3.yandex.net/5622653810",
158166
"2980468199": "https://devtools-registry.s3.yandex.net/2980468199",
159167
"5562224408": "https://devtools-registry.s3.yandex.net/5562224408"
160168
},
@@ -285,34 +293,42 @@
285293
"5498749381": "yexport for darwin",
286294
"5534092912": "yexport for darwin",
287295
"5562971772": "yexport for darwin",
296+
"5641388522": "yexport for darwin",
288297
"5486590469": "yexport for darwin-arm64",
289298
"5498750509": "yexport for darwin-arm64",
290299
"5534043120": "yexport for darwin-arm64",
291300
"5562958333": "yexport for darwin-arm64",
301+
"5641392899": "yexport for darwin-arm64",
292302
"5486590393": "yexport for linux",
293303
"5498735180": "yexport for linux",
294304
"5534059422": "yexport for linux",
295305
"5562961825": "yexport for linux",
306+
"5641386025": "yexport for linux",
296307
"5476908047": "ymake for darwin",
297308
"5509380757": "ymake for darwin",
298309
"5550834592": "ymake for darwin",
299310
"5569062376": "ymake for darwin",
311+
"5622651213": "ymake for darwin",
300312
"5476891477": "ymake for darwin-arm64",
301313
"5509369518": "ymake for darwin-arm64",
302314
"5550838146": "ymake for darwin-arm64",
303315
"5569072879": "ymake for darwin-arm64",
316+
"5622657921": "ymake for darwin-arm64",
304317
"5476896849": "ymake for linux",
305318
"5509364024": "ymake for linux",
306319
"5550826871": "ymake for linux",
307320
"5569070627": "ymake for linux",
321+
"5622653964": "ymake for linux",
308322
"5476895322": "ymake for linux-aarch64",
309323
"5509360013": "ymake for linux-aarch64",
310324
"5550843115": "ymake for linux-aarch64",
311325
"5569095361": "ymake for linux-aarch64",
326+
"5622652638": "ymake for linux-aarch64",
312327
"5476896707": "ymake.exe for win32-clang-cl",
313328
"5509388614": "ymake.exe for win32-clang-cl",
314329
"5550838970": "ymake.exe for win32-clang-cl",
315330
"5569066861": "ymake.exe for win32-clang-cl",
331+
"5622653810": "ymake.exe for win32-clang-cl",
316332
"2980468199": "ytexec for linux",
317333
"5562224408": "ytexec for linux"
318334
},

build/plugins/lib/test_const/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
"coverage_extractor",
140140
"exectest",
141141
"gtest",
142+
"go_test",
142143
# java tests might use shared libraries
143144
"java",
144145
"py2test",

build/plugins/yql_python_udf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def onregister_yql_python_udf(unit, *args):
4444

4545
path = name + '.yql_python_udf.cpp'
4646
libra_flag = '1' if add_libra_modules else '0'
47-
unit.onpython(
47+
unit.onrun_python2(
4848
[
4949
'build/scripts/gen_yql_python_udf.py',
5050
flavor,

build/scripts/clang_static_analyzer.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import os
44
import re
55
import argparse
6-
import yaml
6+
import json
77

8-
CLANG_SA_CONFIG='static_analyzer.yaml'
8+
CLANG_SA_CONFIG='static_analyzer.json'
99

1010
def parse_args():
1111
parser = argparse.ArgumentParser()
@@ -31,7 +31,7 @@ def parse_config(config_file):
3131
conf = None
3232
try:
3333
with open(config_file, 'r') as afile:
34-
conf = yaml.safe_load(afile)
34+
conf = json.load(afile)
3535
except:
3636
conf = None
3737
return conf
@@ -61,6 +61,10 @@ def main():
6161
config_file = find_config(args.config_file)
6262
conf = parse_config(config_file)
6363

64+
# Ensure we can read config
65+
if not conf:
66+
raise ValueError(f"Cant parse config file, check its syntax: {config_file}")
67+
6468
# Ensure we have at least one check
6569
if ('checks' not in conf) or (not conf['checks']):
6670
raise ValueError("There are no checks in the config file")

0 commit comments

Comments
 (0)