Skip to content

Commit fef5d8c

Browse files
committed
Release lld16 #1
https://github.com/yandex/toolchain-registry/releases/tag/lld16-v1 Если этот pr вам что-то сломал - смело откатывайте 1e3ff1754d81d2e09aff40ac0b9ca78c5e3f481b
1 parent afa2ad4 commit fef5d8c

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

build/mapping.conf.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@
8484
"5709310220": "https://devtools-registry.s3.yandex.net/5709310220",
8585
"5709435327": "https://devtools-registry.s3.yandex.net/5709435327",
8686
"5758120203": "https://devtools-registry.s3.yandex.net/5758120203",
87+
"6657744758": "https://devtools-registry.s3.yandex.net/6657744758",
88+
"6657746696": "https://devtools-registry.s3.yandex.net/6657746696",
89+
"6657765589": "https://devtools-registry.s3.yandex.net/6657765589",
90+
"6657758332": "https://devtools-registry.s3.yandex.net/6657758332",
8791
"360916612": "https://devtools-registry.s3.yandex.net/360916612",
8892
"4312064267": "https://devtools-registry.s3.yandex.net/4312064267",
8993
"4312063561": "https://devtools-registry.s3.yandex.net/4312063561",
@@ -719,6 +723,10 @@
719723
"5709310220": "bin-gdb-reloc-ya-linux-x86_64-70970b31ef83c56b51291cd8fe4f24449b582b59",
720724
"5709435327": "bin-gdb-reloc-ya-linux-x86_64-70970b31ef83c56b51291cd8fe4f24449b582b59",
721725
"5758120203": "bin-gdb-reloc-ya-linux-x86_64-b544ce3aae71e89238d6b1b85032a6b6f6412369",
726+
"6657744758": "bin-lld-16-optimized-darwin-arm64-6fcb1f9a0ea89cca05d938ce61f89490b56940c4",
727+
"6657746696": "bin-lld-16-optimized-darwin-x86_64-6fcb1f9a0ea89cca05d938ce61f89490b56940c4",
728+
"6657765589": "bin-lld-16-optimized-linux-aarch64-6fcb1f9a0ea89cca05d938ce61f89490b56940c4",
729+
"6657758332": "bin-lld-16-optimized-linux-x86_64-6fcb1f9a0ea89cca05d938ce61f89490b56940c4",
722730
"360916612": "binutils 2.26 for linux_ubuntu_10.04_lucid",
723731
"4312064267": "black_linter for linux",
724732
"4312063561": "black_linter for linux-aarch64",

build/platform/lld/lld16.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
22
"by_platform": {
33
"darwin-arm64": {
4-
"uri": "sbr:5465946272"
4+
"uri": "sbr:6657744758"
55
},
66
"darwin-x86_64": {
7-
"uri": "sbr:5453803895"
7+
"uri": "sbr:6657746696"
88
},
99
"linux-aarch64": {
10-
"uri": "sbr:5458408674"
10+
"uri": "sbr:6657765589"
1111
},
1212
"linux-x86_64": {
13-
"uri": "sbr:5463300202"
13+
"uri": "sbr:6657758332"
1414
}
1515
}
1616
}
17-

build/platform/lld/ya.make

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ IF (OS_ANDROID)
3939
ELSEIF (OS_LINUX)
4040
LDFLAGS(
4141
-fuse-ld=lld
42-
--ld-path=${LLD_ROOT_RESOURCE_GLOBAL}/ld.lld
42+
--ld-path=${LLD_ROOT_RESOURCE_GLOBAL}/bin/ld.lld
4343

4444
# dynlinker on auld ubuntu versions can not handle .rodata stored in standalone segment [citation needed]
4545
-Wl,--no-rosegment
@@ -49,21 +49,21 @@ ELSEIF (OS_LINUX)
4949
ELSEIF (OS_DARWIN OR OS_IOS)
5050
IF (MAPSMOBI_BUILD_TARGET AND XCODE)
5151
LDFLAGS(
52-
-fuse-ld=${LLD_ROOT_RESOURCE_GLOBAL}/ld64.lld
52+
-fuse-ld=${LLD_ROOT_RESOURCE_GLOBAL}/bin/ld64.lld
5353
)
5454
ELSEIF (XCODE)
5555
LDFLAGS(-DYA_XCODE)
5656
ELSE()
5757
LDFLAGS(
5858
-fuse-ld=lld
59-
--ld-path=${LLD_ROOT_RESOURCE_GLOBAL}/ld64.lld
59+
--ld-path=${LLD_ROOT_RESOURCE_GLOBAL}/bin/ld64.lld
6060
# FIXME: Remove fake linker version flag when clang 16 version arrives
6161
-mlinker-version=705
6262
)
6363
ENDIF()
6464
ELSEIF (OS_EMSCRIPTEN)
6565
LDFLAGS(
66-
-fuse-ld=${LLD_ROOT_RESOURCE_GLOBAL}/wasm-ld
66+
-fuse-ld=${LLD_ROOT_RESOURCE_GLOBAL}/bin/wasm-ld
6767
# FIXME: Linker does not capture "ld-path" and therefore it can not find "wasm-ld"
6868
)
6969
ENDIF()

build/ymake.core.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4815,7 +4815,7 @@ when($OS_LINUX) {
48154815
### Emit eBPF bytecode from .c file.
48164816
### Note: Output name is used as is, no extension added.
48174817
macro BPF_STATIC(Input, Output, Opts...) {
4818-
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS ${CLANG_RESOURCE_GLOBAL}/bin/clang ${pre=-I:_C__INCLUDE} $C_FLAGS_PLATFORM -target bpf -c ${input:Input} -o ${noauto;output:Output} $Opts ${hide;kv:"p BP"} ${hide;kv:"pc light-green"} && ${cwd:BINDIR} $LLD_ROOT_RESOURCE_GLOBAL/$LD_BINARY_NAME -r -b binary -m elf_x86_64 -o ${noauto;output;suf=.bpf.o:Input} ${noauto;nopath:Output}
4818+
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS ${CLANG_RESOURCE_GLOBAL}/bin/clang ${pre=-I:_C__INCLUDE} $C_FLAGS_PLATFORM -target bpf -c ${input:Input} -o ${noauto;output:Output} $Opts ${hide;kv:"p BP"} ${hide;kv:"pc light-green"} && ${cwd:BINDIR} $LLD_ROOT_RESOURCE_GLOBAL/bin/$LD_BINARY_NAME -r -b binary -m elf_x86_64 -o ${noauto;output;suf=.bpf.o:Input} ${noauto;nopath:Output}
48194819
PEERDIR(build/platform/clang build/platform/lld)
48204820
}
48214821

0 commit comments

Comments
 (0)