aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2025-02-13 01:32:19 +0300
committerpg <pg@yandex-team.com>2025-02-13 01:51:54 +0300
commit0d53cb646786cb840d4a1c95925466c6c2d75334 (patch)
tree0313983a42f4c74732607229c95d402c31a23d05 /build
parentdded852651714124ae7df8a98f06d3f0bc797b46 (diff)
downloadydb-0d53cb646786cb840d4a1c95925466c6c2d75334.tar.gz
use plugin for musl
commit_hash:e97d8794f04c155eaca0fa4161658142d04e4788
Diffstat (limited to 'build')
-rw-r--r--build/scripts/link_exe.py15
-rw-r--r--build/ymake.core.conf1
2 files changed, 0 insertions, 16 deletions
diff --git a/build/scripts/link_exe.py b/build/scripts/link_exe.py
index 89695f2b98..de5e215ab5 100644
--- a/build/scripts/link_exe.py
+++ b/build/scripts/link_exe.py
@@ -27,9 +27,6 @@ def get_leaks_suppressions(cmd):
return supp, newcmd
-MUSL_LIBS = '-lc', '-lcrypt', '-ldl', '-lm', '-lpthread', '-lrt', '-lutil'
-
-
CUDA_LIBRARIES = {
'-lcublas_static': '-lcublas',
'-lcublasLt_static': '-lcublasLt',
@@ -258,14 +255,6 @@ def fix_sanitize_flag(cmd, opts):
return flags
-def fix_cmd_for_musl(cmd):
- flags = []
- for flag in cmd:
- if flag not in MUSL_LIBS:
- flags.append(flag)
- return flags
-
-
def fix_cmd_for_dynamic_cuda(cmd):
flags = []
for flag in cmd:
@@ -325,7 +314,6 @@ def fix_blas_resolving(cmd):
def parse_args(args):
parser = optparse.OptionParser()
parser.disable_interspersed_args()
- parser.add_option('--musl', action='store_true')
parser.add_option('--custom-step')
parser.add_option('--python')
parser.add_option('--source-root')
@@ -364,9 +352,6 @@ if __name__ == '__main__':
cmd = fix_blas_resolving(args)
cmd = fix_py2(cmd)
cmd = remove_excessive_flags(cmd)
- if opts.musl:
- cmd = fix_cmd_for_musl(cmd)
-
cmd = fix_sanitize_flag(cmd, opts)
if opts.dynamic_cuda:
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index b051651ec3..34a2f5dbb2 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -770,7 +770,6 @@ module _BASE_UNIT: _BARE_UNIT {
when ($MUSL == "yes") {
CFLAGS += -D_musl_
LINK_DYN_LIB_FLAGS += --musl
- LINK_SCRIPT_EXE_FLAGS += --musl
PEERDIR+=contrib/libs/musl/include
}