Skip to content

protoc-gen-rust-grpc: fix macos universal build#2662

Closed
dfawley wants to merge 1 commit into
grpc:masterfrom
dfawley:macuniv
Closed

protoc-gen-rust-grpc: fix macos universal build#2662
dfawley wants to merge 1 commit into
grpc:masterfrom
dfawley:macuniv

Conversation

@dfawley
Copy link
Copy Markdown
Member

@dfawley dfawley commented May 28, 2026

The cmake flags were not properly quoted, so when the mac universal build used a semicolon in them, it was treated as the end of the command by bash. This fixes that by quoting the flags.

@dfawley dfawley enabled auto-merge (squash) May 28, 2026 18:22
-DBUILD_PLUGIN=ON \
-DRUST_GRPC_VERSION="$VERSION_FROM_TAG" \
${{ matrix.cmake_flags }}
"${{ matrix.cmake_flags }}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this make -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=s390x -DCMAKE_C_COMPILER=s390x-linux-gnu-gcc -DCMAKE_CXX_COMPILER=s390x-linux-gnu-g++ be a single argument. That is not going to do what you want. I don't know if Github allows us to use an array here.

@dfawley dfawley closed this May 29, 2026
auto-merge was automatically disabled May 29, 2026 21:51

Pull request was closed

@dfawley dfawley deleted the macuniv branch May 29, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants