Commit Graph

9126 Commits

Author SHA1 Message Date
Deanna Garcia
73c57034aa Adding windows toolchains 2021-11-24 19:48:16 +00:00
deannagarcia
61e0395c89
Merge pull request #9244 from protocolbuffers/deannagarcia-patch-2
Update toolchains.bazelrc
2021-11-22 13:13:40 -08:00
deannagarcia
221169d2ac
Update toolchains.bazelrc
One more darwin->osx rewrite.
2021-11-22 11:10:44 -08:00
deannagarcia
8f034a8d77
Merge pull request #9243 from protocolbuffers/deannagarcia-patch-2
Update BUILD
2021-11-22 10:45:27 -08:00
deannagarcia
3ad04bd4d9
Update BUILD
Change darwin to osx in two more places.
2021-11-22 10:40:37 -08:00
deannagarcia
ed10979c5e
Merge pull request #9242 from protocolbuffers/deannagarcia-patch-2
Update BUILD
2021-11-22 10:18:59 -08:00
deannagarcia
a49dbd73d6
Update BUILD
Change all the instances of "darwin" to "osx" to be consistent.
2021-11-22 10:14:26 -08:00
Thomas Van Lenten
6af72f96c5
Merge pull request #9234 from thomasvl/expect_prefix_for_no_package
Support no_package:FILE in the expected prefixes file.
2021-11-22 11:07:53 -05:00
Thomas Van Lenten
ba5eb3a7e9
Merge pull request #9233 from thomasvl/package_as_prefix_prefix
Add a envvar to provide a prefix on all proto package prefixed symbols.
2021-11-22 11:07:39 -05:00
Thomas Van Lenten
ef9b7036e7 Support no_package:FILE in the expected prefixes file.
When a file doesn't have a proto package, allow validation to still be supported
via entries with that consist of 'no_package:FILE'. This allows someone using an
expected prefixes file to also list these exceptional cases, and allows them to
becomes error cases with requiring all prefixes to be registered.
2021-11-22 11:01:43 -05:00
Thomas Van Lenten
f7a58bb060 Add a envvar to provide a prefix on all proto package prefixed symbols.
While at it, fix a header comment.
2021-11-22 09:43:43 -05:00
deannagarcia
93f7659565
Merge pull request #9235 from protocolbuffers/fixingBuilds
Change sysroot flags
2021-11-19 15:41:12 -08:00
Deanna Garcia
8608ee97da Change sysroot flags 2021-11-19 22:56:15 +00:00
James Newton-King
22462b0c52
Fix trim warnings 2021-11-17 14:01:25 +13:00
deannagarcia
edc8a31828
Merge pull request #9227 from protocolbuffers/deannagarcia-patch-2
Update include directories
2021-11-16 16:10:06 -08:00
deannagarcia
6cc68c5c59
Update include directories
Add /usr/local/include to cpp builtin include directories.
2021-11-16 16:01:15 -08:00
deannagarcia
840a4f721d
Merge pull request #9226 from protocolbuffers/deannagarcia-patch-2
Update BUILD
2021-11-16 15:18:20 -08:00
deannagarcia
25c818e3f1
Update BUILD
Change sysroot to be specific to the folder where all the include files are.
2021-11-16 15:15:46 -08:00
deannagarcia
be9fba9fd1
Merge pull request #9224 from protocolbuffers/deannagarcia-patch-2
Update BUILD paths
2021-11-16 13:08:00 -08:00
deannagarcia
a162273515
Update BUILD paths
Update paths for apple sdks
2021-11-16 11:38:16 -08:00
Jan Tattermusch
845db63ced
Fix dotnet aarch64 (#9222)
* fix C# aarch64 test after .NET SDK upgrade

* simplify C# aarch64 tests (net60 can build under emulator)

* Revert "simplify C# aarch64 tests (net60 can build under emulator)"

This reverts commit 6b2aa5f006.
2021-11-16 09:26:30 -08:00
Jan Tattermusch
83641bd36e
Merge pull request #8466 from JamesNK/jamesnk/nuget-package-update
Fix .NET SourceLink and warnings in NuGet package
2021-11-15 09:52:42 +01:00
deannagarcia
cc411dcdf8
Merge pull request #9217 from protocolbuffers/deannagarcia-patch-2
Update BUILD paths
2021-11-12 16:08:26 -08:00
deannagarcia
76f57fd6df
Update BUILD paths
Prefix all tools paths with /root/
2021-11-12 16:06:54 -08:00
deannagarcia
e75207f009
Merge pull request #9214 from protocolbuffers/fixCppVersion
Changing cpp version back to 8
2021-11-12 12:55:43 -08:00
James Newton-King
4c09e43f74
Fix .NET SourceLink and warnings in NuGet package 2021-11-13 07:46:20 +13:00
Jan Tattermusch
0ca4c1a768
Merge pull request #9205 from JamesNK/jamesnk/dotnet-sdk-update
[C#] Update .NET SDKs to LTS versions
2021-11-12 14:20:47 +01:00
Jan Tattermusch
7569df0f58 add NuGet.config to Makefile.am 2021-11-12 11:22:19 +01:00
James Newton-King
c685d79368
Fix test 2021-11-12 12:57:47 +13:00
James Newton-King
90afe0cfc6
Add nuget.config 2021-11-12 12:38:05 +13:00
Deanna Garcia
627bb4b60e Changing cpp version back to 8 2021-11-11 19:30:49 +00:00
tomerv
47e05427e3
Fix typo in docstring (#9208) 2021-11-10 17:03:55 -08:00
Rose
ef1c9fd907
[C++] Fix missing #ifdef for undefined identifiers (#9201)
* Fix #if for undefined identifiers

* port_undef.inc
2021-11-10 16:37:03 -08:00
deannagarcia
d5b7f705f3
Merge pull request #9210 from protocolbuffers/osxToolchain
Creating bazel toolchains to compile for macOS.
2021-11-10 13:54:30 -08:00
Deanna Garcia
97c901cfb6 Fixing formatting 2021-11-10 21:27:20 +00:00
Deanna Garcia
a5fa4fb019 Creating bazel toolchains to compile for macOS. 2021-11-10 21:12:44 +00:00
James Newton-King
0f33dc4380
Fix tests 2021-11-10 09:02:28 +13:00
James Newton-King
aa15931050
Update .NET SDKs to LTS versions 2021-11-10 08:49:53 +13:00
Oliver Eikemeier
d37dcf9e34
remove unnecessary dependency (#9195)
Signed-off-by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
2021-11-09 05:20:11 -08:00
Adam Cozzette
13d559beb6
Update our build script to publish Mac aarch_64 binaries (#9203)
These are still x86-64 binaries at the moment (see #8557), but should be
usable on M1 Macs in the Rosetta compatibility mode. Let's start
publishing them on our GitHub release page and then eventually we can
make them into true aarch_64 binaries.

This fixes #9200.
2021-11-08 13:40:52 -08:00
Derek Perez
3a4d9316aa
Creates a protoc release zip (#9188)
* Creates a protoc release zip

Mimics what we're doing manually today but powered by Bazel.

* don't special case this.

* Addressing feedback.

* adding comment about _cc_toolchain
2021-11-04 15:57:29 -07:00
Xùdōng Yáng
11de748d66
Use repo-relative labels wherever possible (#9187)
* Use repo-relative labels wherever possible

The label `@com_google_protobuf//:foo` within the protobuf repo is often synonymous with just `//:foo`. We should prefer the latter as it allows us to use a shorter name for the module in the Bazel Central Registry (so just "protobuf" instead of "com_google_protobuf").

Note that the semantics can be subtle: in a macro, plain strings are anchored to the *calling* repo, so if we just use `//:foo` as the default value of a macro argument, it will be resolved to `@myrepo//:foo` if the macro is called from the repo `@myrepo`. In this case, it's necessary to directly call the `Label()` constructor to anchor the string label to the repo where the .bzl file lives.

See https://github.com/bazelbuild/bazel-central-registry/pull/28#issuecomment-954741081 for a bit more context.

* fix protobuf_deps.bzl
2021-11-04 07:56:32 -07:00
Kent Ross
d88c8d5d4b
Implement unambiguous comparisons for RepeatedPtrIterator in C++20 (#9139) 2021-11-04 07:16:02 -07:00
Adam Cozzette
7ccf4d8f67
Merge pull request #9169 from protocolbuffers/3.19.x
Merge 3.19.x into master
2021-11-02 10:10:47 -07:00
JongChan Choi
c4c7e2b8f9
Add pbkit to third_party.md (#9177) 2021-11-01 13:53:04 -07:00
Adam Cozzette
31dd7b71cc
Fix benchmark by making sure we use Python 3 (#9170) (#9176)
The benchmark runs have been failing since we started requiring Python
3, so this changes fixes the benchmarks by ensuring we always use Python
3.
2021-11-01 11:44:58 -07:00
Adam Cozzette
6a9cf18cba
Fix benchmark by making sure we use Python 3 (#9170)
The benchmark runs have been failing since we started requiring Python
3, so this changes fixes the benchmarks by ensuring we always use Python
3.
2021-11-01 09:00:31 -07:00
Thomas Hisch
26603a1466
Remove unittest2 imports (#9171)
They were only needed for python versions <= 2.6

Related: #6658
2021-10-30 11:56:40 -07:00
Elliotte Rusty Harold
201c1fc918
Merge pull request #9162 from belugabehr/ArrayList-copyof
Standardize on Array copyOf
2021-10-29 11:51:56 +00:00
Adam Cozzette
7c40b2df1f
Update protobuf version (#9167) 2021-10-28 14:07:53 -07:00