Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

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

Merged
haberman merged 1 commit intoprotocolbuffers:masterfrom
haberman:codegen-uniquefiles
Dec 19, 2020
Merged

Split the code generators for .upb and .upbdefs.#356
haberman merged 1 commit intoprotocolbuffers:masterfrom
haberman:codegen-uniquefiles

Conversation

@haberman
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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