aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.com>2023-11-21 07:04:16 +0300
committerspreis <spreis@yandex-team.com>2023-11-21 07:39:53 +0300
commitbe2ec3b4d7ddb1afab6967ccf561750b840953cf (patch)
tree0736fb8d0524b90fc060fef6be4d7e66a632a2b7 /build
parenta4dca696db802127945391cef62a30b91201a2af (diff)
downloadydb-be2ec3b4d7ddb1afab6967ccf561750b840953cf.tar.gz
Enable prebuilt protoc for Linux host, Darwin target
Diffstat (limited to 'build')
-rw-r--r--build/ymake.core.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 805f07d7b7..151b31ce24 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -94,6 +94,13 @@ when ($USE_PREBUILT_TOOLS == "yes") {
_TOOL_PROTOC_GEN_GO=${_PREBUILT_TOOLS_ROOT}/vendor/github.com/golang/protobuf/protoc-gen-go
}
}
+
+ when ($HOST_ARCH_X86_64 == "yes" && $HOST_OS_LINUX == "yes" && $OS_DARWIN == "yes") {
+ when ($ARCH_ARM64 == "yes" || $ARCH_X86_64 == "yes") {
+ _TOOL_PROTOC_GEN_GO=${_PREBUILT_TOOLS_ROOT}/vendor/github.com/golang/protobuf/protoc-gen-go
+ }
+ }
+
}
FAIL_MODULE_CMD=$YMAKE_PYTHON3 ${input:"build/scripts/fail_module_cmd.py"} $TARGET ${kv;hide:"p ER"} ${kv;hide:"pc red"}