Skip to content

Commit

Permalink
backport of #24870
Browse files Browse the repository at this point in the history
  • Loading branch information
yulin-liang committed Jan 12, 2021
1 parent 255d354 commit 1633fdd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/csharp/Grpc.Tools/Grpc.Tools.csproj
Expand Up @@ -62,7 +62,6 @@ Linux and MacOS. Managed runtime is supplied separately in the Grpc.Core package
<_Asset PackagePath="tools/windows_x64/" Include="$(Assets_ProtoCompiler)windows_x64/protoc.exe" />
<_Asset PackagePath="tools/linux_x86/" Include="$(Assets_ProtoCompiler)linux_x86/protoc" />
<_Asset PackagePath="tools/linux_x64/" Include="$(Assets_ProtoCompiler)linux_x64/protoc" />
<_Asset PackagePath="tools/macosx_x86/" Include="$(Assets_ProtoCompiler)macos_x86/protoc" /> <!-- GPB: macosx-->
<_Asset PackagePath="tools/macosx_x64/" Include="$(Assets_ProtoCompiler)macos_x64/protoc" /> <!-- GPB: macosx-->

<!-- gRPC assets (for Grpc.Tools) -->
Expand Down
1 change: 0 additions & 1 deletion tools/run_tests/artifacts/artifact_targets.py
Expand Up @@ -348,7 +348,6 @@ def targets():
ProtocArtifact('linux', 'x64'),
ProtocArtifact('linux', 'x86'),
ProtocArtifact('macos', 'x64'),
ProtocArtifact('macos', 'x86'),
ProtocArtifact('windows', 'x64'),
ProtocArtifact('windows', 'x86'),
CSharpExtArtifact('linux', 'x64'),
Expand Down
5 changes: 5 additions & 0 deletions tools/run_tests/artifacts/build_package_ruby.sh
Expand Up @@ -41,6 +41,11 @@ for arch in {x86,x64}; do
;;
esac
for plat in {windows,linux,macos}; do
# skip non-existent macos x86 protoc artifact
if [[ "${plat}_${arch}" == "macos_x86" ]]
then
continue
fi
input_dir="${EXTERNAL_GIT_ROOT}/input_artifacts/protoc_${plat}_${arch}"
output_dir="$base/src/ruby/tools/bin/${ruby_arch}-${plat}"
mkdir -p "$output_dir"/google/protobuf
Expand Down

0 comments on commit 1633fdd

Please sign in to comment.