Skip to content

Commit

Permalink
Merge pull request grpc#24870 from jtattermusch/protoc_x86_macos_remove
Browse files Browse the repository at this point in the history
Stop building protoc x86 artifacts on macos
  • Loading branch information
jtattermusch committed Dec 3, 2020
2 parents a6d9e49 + db521f5 commit 010d9f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/csharp/Grpc.Tools/Grpc.Tools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,13 @@ 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) -->
<_Asset PackagePath="tools/windows_x86/" Include="$(Assets_GrpcPlugins)protoc_windows_x86/grpc_csharp_plugin.exe" />
<_Asset PackagePath="tools/windows_x64/" Include="$(Assets_GrpcPlugins)protoc_windows_x64/grpc_csharp_plugin.exe" />
<_Asset PackagePath="tools/linux_x86/" Include="$(Assets_GrpcPlugins)protoc_linux_x86/grpc_csharp_plugin" />
<_Asset PackagePath="tools/linux_x64/" Include="$(Assets_GrpcPlugins)protoc_linux_x64/grpc_csharp_plugin" />
<_Asset PackagePath="tools/macosx_x86/" Include="$(Assets_GrpcPlugins)protoc_macos_x86/grpc_csharp_plugin" />
<_Asset PackagePath="tools/macosx_x64/" Include="$(Assets_GrpcPlugins)protoc_macos_x64/grpc_csharp_plugin" />

<None Include="@(_Asset)" Pack="true" Visible="false" />
Expand Down
1 change: 0 additions & 1 deletion tools/run_tests/artifacts/artifact_targets.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 010d9f3

Please sign in to comment.