diff options
author | spreis <spreis@yandex-team.com> | 2023-11-21 07:04:16 +0300 |
---|---|---|
committer | spreis <spreis@yandex-team.com> | 2023-11-21 07:39:53 +0300 |
commit | be2ec3b4d7ddb1afab6967ccf561750b840953cf (patch) | |
tree | 0736fb8d0524b90fc060fef6be4d7e66a632a2b7 /build | |
parent | a4dca696db802127945391cef62a30b91201a2af (diff) | |
download | ydb-be2ec3b4d7ddb1afab6967ccf561750b840953cf.tar.gz |
Enable prebuilt protoc for Linux host, Darwin target
Diffstat (limited to 'build')
-rw-r--r-- | build/ymake.core.conf | 7 |
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"} |