Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the code generators for .upb and .upbdefs. #356

Merged
merged 1 commit into from
Dec 19, 2020

Conversation

haberman
Copy link
Member

Before there was a single code generator that generated both
.upb and .upbdefs, even though they are generated by different
rules. This worked fine as long as the codegen steps were
sandboxed, but if not it led to build errors.

Fixes https://github.com/protocolbuffers/upb/issues/354.

cc @veblush

Before there was a single code generator that generated both
.upb and .upbdefs, even though they are generated by different
rules. This worked fine as long as the codegen steps were
sandboxed, but if not it led to build errors.

Fixes https://github.com/protocolbuffers/upb/issues/354.
@haberman haberman force-pushed the codegen-uniquefiles branch from 1805fc7 to 7a54a5f Compare December 19, 2020 03:44
@haberman haberman merged commit 60607da into protocolbuffers:master Dec 19, 2020
aherrmann-da pushed a commit to digital-asset/daml that referenced this pull request Feb 2, 2021
To include grpc/grpc#24953 and
protocolbuffers/upb#356 which fix
https://github.com/protocolbuffers/upb/issues/354.

The issue manifested on Windows CI with errors of the form

```
bazel-out/x64_windows-opt/bin/external/com_google_protobuf/google/protobuf/descriptor.upb.c: Permission denied
```

See https://dev.azure.com/digitalasset/daml/_build/results?buildId=68545
aherrmann-da pushed a commit to digital-asset/daml that referenced this pull request Feb 2, 2021
To include grpc/grpc#24953 and
protocolbuffers/upb#356 which fix
https://github.com/protocolbuffers/upb/issues/354.

The issue manifested on Windows CI with errors of the form

```
bazel-out/x64_windows-opt/bin/external/com_google_protobuf/google/protobuf/descriptor.upb.c: Permission denied
```

See https://dev.azure.com/digitalasset/daml/_build/results?buildId=68545

changelog_begin
changelog_end
aherrmann-da pushed a commit to digital-asset/daml that referenced this pull request Feb 2, 2021
To include grpc/grpc#24953 and
protocolbuffers/upb#356 which fix
https://github.com/protocolbuffers/upb/issues/354.

The issue manifested on Windows CI with errors of the form

```
bazel-out/x64_windows-opt/bin/external/com_google_protobuf/google/protobuf/descriptor.upb.c: Permission denied
```

See https://dev.azure.com/digitalasset/daml/_build/results?buildId=68545

changelog_begin
changelog_end
aherrmann-da pushed a commit to digital-asset/daml that referenced this pull request Feb 2, 2021
To include grpc/grpc#24953 and
protocolbuffers/upb#356 which fix
https://github.com/protocolbuffers/upb/issues/354.

The issue manifested on Windows CI with errors of the form

```
bazel-out/x64_windows-opt/bin/external/com_google_protobuf/google/protobuf/descriptor.upb.c: Permission denied
```

See https://dev.azure.com/digitalasset/daml/_build/results?buildId=68545

changelog_begin
changelog_end
aherrmann-da added a commit to digital-asset/daml that referenced this pull request Feb 3, 2021
To include grpc/grpc#24953 and
protocolbuffers/upb#356 which fix
https://github.com/protocolbuffers/upb/issues/354.

The issue manifested on Windows CI with errors of the form

```
bazel-out/x64_windows-opt/bin/external/com_google_protobuf/google/protobuf/descriptor.upb.c: Permission denied
```

See https://dev.azure.com/digitalasset/daml/_build/results?buildId=68545

changelog_begin
changelog_end

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
@haberman haberman deleted the codegen-uniquefiles branch April 3, 2021 21:01
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.

Code generation ends up with permission error when bazel building with local spawn_strategy
1 participant