aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-12-02 19:15:43 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-12-02 19:31:00 +0300
commite4293e758af131e7ef7ca74bfa1ef6f9b74b58cb (patch)
tree14483aaaf2e865976326b16d0a21a3bd4d81bf6b /build/platform
parent24211947581091f2f54c8e50e3427e6621dfec3d (diff)
downloadydb-e4293e758af131e7ef7ca74bfa1ef6f9b74b58cb.tar.gz
Add missing configs + add mold and coverage to piglet YDB config
commit_hash:c0112c0409a0972eb859b32a014980020df7ce0a
Diffstat (limited to 'build/platform')
-rw-r--r--build/platform/mold/mold.json16
-rw-r--r--build/platform/mold/ya.make13
2 files changed, 29 insertions, 0 deletions
diff --git a/build/platform/mold/mold.json b/build/platform/mold/mold.json
new file mode 100644
index 0000000000..ee314b2a2e
--- /dev/null
+++ b/build/platform/mold/mold.json
@@ -0,0 +1,16 @@
+{
+ "by_platform": {
+ "darwin-arm64": {
+ "uri": "sbr:7421008516"
+ },
+ "darwin-x86_64": {
+ "uri": "sbr:7421180051"
+ },
+ "linux-aarch64": {
+ "uri": "sbr:7421207790"
+ },
+ "linux-x86_64": {
+ "uri": "sbr:7421606584"
+ }
+ }
+}
diff --git a/build/platform/mold/ya.make b/build/platform/mold/ya.make
new file mode 100644
index 0000000000..2d5f8cde45
--- /dev/null
+++ b/build/platform/mold/ya.make
@@ -0,0 +1,13 @@
+RESOURCES_LIBRARY()
+
+TOOLCHAIN(mold)
+VERSION(2.34.1)
+
+DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE_BY_JSON(MOLD_ROOT mold.json)
+
+LDFLAGS(
+ -fuse-ld=mold
+ --ld-path=${MOLD_ROOT_RESOURCE_GLOBAL}/bin/ld.mold
+)
+
+END()