aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-11-02 05:29:16 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-11-02 05:50:17 +0300
commit0cf5e643b3d7bc9fa2a99e428b0a7321c2b5f2f1 (patch)
tree6ae8a2a4dcaa578c6ce62cee5449858473bb8b90 /build/plugins
parentbca3674c13f0c9f70af994eaae1a1d7a3b5bc7e8 (diff)
downloadydb-0cf5e643b3d7bc9fa2a99e428b0a7321c2b5f2f1.tar.gz
move matrixnet out of public
Diffstat (limited to 'build/plugins')
-rw-r--r--build/plugins/build_mn_files.py29
-rw-r--r--build/plugins/mx_archive.py17
2 files changed, 0 insertions, 46 deletions
diff --git a/build/plugins/build_mn_files.py b/build/plugins/build_mn_files.py
deleted file mode 100644
index 4da76f1852..0000000000
--- a/build/plugins/build_mn_files.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from os.path import basename, splitext
-
-
-def on_build_mns_files(unit, *args):
- files = []
- name = ''
- ranking_suffix = ''
- check = ''
- index = 0
- fml_unused_tool = ''
- while index < len(args):
- if args[index] == 'NAME':
- index += 1
- name = args[index]
- elif args[index] == 'RANKING_SUFFIX':
- index += 1
- ranking_suffix = args[index]
- elif args[index] == 'CHECK':
- check = 'CHECK'
- fml_unused_tool = unit.get('FML_UNUSED_TOOL') or '$FML_UNUSED_TOOL'
- else:
- files.append(args[index])
- index += 1
-
- for filename in files:
- file_basename, _ = splitext(basename(filename))
- asmdataname = "staticMn{0}{1}Ptr".format(ranking_suffix, file_basename)
- output_name = 'mn.staticMn{0}{1}Ptr.cpp'.format(ranking_suffix, file_basename)
- unit.on_build_mns_file([filename, name, output_name, ranking_suffix, check, fml_unused_tool, asmdataname])
diff --git a/build/plugins/mx_archive.py b/build/plugins/mx_archive.py
deleted file mode 100644
index 76b785fcde..0000000000
--- a/build/plugins/mx_archive.py
+++ /dev/null
@@ -1,17 +0,0 @@
-def onmx_formulas(unit, *args):
- """
- @usage: MX_FORMULAS(BinFiles...) # deprecated, matrixnet
- Create MatrixNet formulas archive
- """
-
- def iter_infos():
- for a in args:
- if a.endswith('.bin'):
- unit.on_mx_bin_to_info([a])
- yield a[:-3] + 'info'
- else:
- yield a
-
- infos = list(iter_infos())
- unit.onarchive_asm(['NAME', 'MxFormulas'] + infos)
- unit.on_mx_gen_table(infos)