Skip to content

Commit dab2911

Browse files
Library import 5, delete go dependencies (#832)
* Library import 5, delete go dependencies * Fix yt client
1 parent 63660ad commit dab2911

File tree

13,261 files changed

+2654
-4938588
lines changed

Some content is hidden

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

13,261 files changed

+2654
-4938588
lines changed

build/conf/bison_lex.conf

+12-5
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,20 @@ _CPP_BISON_SKELS=\
2626
_BISON_GEN_EXT=.cpp
2727
_FLEX_GEN_EXT=.cpp
2828

29-
_BISON_HEADER=--defines=${nopath;noext;output;main;addincl;norel;suf=.h:SRC}
30-
_BISON_PP=$YMAKE_PYTHON ${input:"build/scripts/preprocess.py"} $_ADD_HIDDEN_INPUTS($_CPP_BISON_SKELS) ${nopath;noext;tmp:SRC.h}
31-
32-
_FLEX_TOOL=${tool:"contrib/tools/flex-old"}
33-
_FLEX_TOOL_DIR=contrib/tools/flex-old
29+
_BISON_HEADER=
30+
_BISON_PP=
31+
_FLEX_TOOL=
32+
_FLEX_TOOL_DIR=
3433
_FLEX_HEADER=
3534

35+
when ($_BISON_FLEX_SET_DEFAULTS == "yes") {
36+
_BISON_HEADER=--defines=${nopath;noext;output;main;addincl;norel;suf=.h:SRC}
37+
_BISON_PP=$YMAKE_PYTHON ${input:"build/scripts/preprocess.py"} $_ADD_HIDDEN_INPUTS($_CPP_BISON_SKELS) ${nopath;noext;tmp:SRC.h}
38+
_FLEX_TOOL=${tool:"contrib/tools/flex-old"}
39+
_FLEX_TOOL_DIR=contrib/tools/flex-old
40+
_FLEX_HEADER=
41+
}
42+
3643
### @usage: FLEX_FLAGS(<flags>)
3744
###
3845
### Set flags for Lex tool (flex) invocations.

build/scripts/clang_tidy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def ensure_clean_dir(path):
158158
"-p",
159159
compile_command_path,
160160
"--warnings-as-errors",
161-
"*",
161+
"*,-clang-diagnostic-#pragma-messages",
162162
"--config-file",
163163
result_config_file,
164164
"--header-filter",

build/ymake.core.conf

+1
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ module _BASE_UNIT: _BARE_UNIT {
783783
}
784784

785785
ENABLE(USE_YASM_ASSEMBLER)
786+
ENABLE(_BISON_FLEX_SET_DEFAULTS)
786787
}
787788

788789
_LINKER_ID=

build/ymake_conf.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def __init__(self, name, os, arch):
7575
self.is_riscv32 = self.is_rv32imc
7676

7777
self.is_nds32 = self.arch in ('nds32le_elf_mculib_v5f',)
78+
self.is_tc32 = self.arch in ('tc32_elf',)
7879

7980
self.is_xtensa = self.arch in ('xtensa_hifi5',)
8081

@@ -100,7 +101,7 @@ def __init__(self, name, os, arch):
100101
self.is_wasm64 = self.arch == 'wasm64'
101102
self.is_wasm = self.is_wasm64
102103

103-
self.is_32_bit = self.is_x86 or self.is_armv7 or self.is_armv8m or self.is_riscv32 or self.is_nds32 or self.is_armv7em or self.is_xtensa
104+
self.is_32_bit = self.is_x86 or self.is_armv7 or self.is_armv8m or self.is_riscv32 or self.is_nds32 or self.is_armv7em or self.is_xtensa or self.is_tc32
104105
self.is_64_bit = self.is_x86_64 or self.is_armv8 or self.is_powerpc or self.is_wasm64
105106

106107
assert self.is_32_bit or self.is_64_bit
@@ -183,6 +184,7 @@ def arch_variables(self):
183184
(self.is_riscv32, 'ARCH_RISCV32'),
184185
(self.is_xtensa, 'ARCH_XTENSA'),
185186
(self.is_nds32, 'ARCH_NDS32'),
187+
(self.is_tc32, 'ARCH_TC32'),
186188
(self.is_wasm64, 'ARCH_WASM64'),
187189
(self.is_32_bit, 'ARCH_TYPE_32'),
188190
(self.is_64_bit, 'ARCH_TYPE_64'),
@@ -1047,7 +1049,7 @@ def __init__(self, build, detector):
10471049

10481050
self.os_sdk_local = False
10491051

1050-
if build.target.is_apple and to_bool(preset('APPLE_SDK_LOCAL'), default=False):
1052+
if build.host.is_apple and build.target.is_apple and to_bool(preset('APPLE_SDK_LOCAL'), default=False):
10511053
self.os_sdk_local = True
10521054

10531055
if self.os_sdk == 'local':
@@ -1406,8 +1408,8 @@ def __init__(self, tc, build):
14061408
'-fdebug-default-version=4',
14071409
]
14081410
elif self.tc.is_gcc:
1409-
if self.target.is_xtensa:
1410-
# Xtensa toolchain does not support this flag
1411+
if self.target.is_xtensa or self.target.is_tc32:
1412+
# Xtensa and tc32 toolchains does not support this flag
14111413
pass
14121414
else:
14131415
self.c_foptions += [

contrib/clickhouse/base/base/BorrowedObjectPool.h

-158
This file was deleted.

contrib/clickhouse/base/base/DayNum.h

-14
This file was deleted.

0 commit comments

Comments
 (0)