Joshua Haberman
7303304585
Merge pull request #9941 from haberman/toolchain-flags
...
Updated toolchain to support optimization flags, and updated to the latest upb
3 years ago
Joshua Haberman
6018e9edef
Minor CHANGES.txt fix and pulled one more upb commit.
3 years ago
Joshua Haberman
915d439df0
Updated the release notes and the upb version.
...
Also removed the obsolete PROTOBUF_VERSION variable now that
upb is updated.
3 years ago
Joshua Haberman
14803e6f63
Optimization is now working.
3 years ago
Joshua Haberman
1f3c00eaac
Added default flags for all of the compilation modes.
3 years ago
David L. Jones
354aba886e
Add a test for bazel-built dist archives ( #9929 )
...
This also fixes some packaging rules that are needed for the result to be buildable.
3 years ago
Adam Cozzette
b180b2809f
Use __constinit only in GCC 12.2 and up ( #9936 )
...
Fixes #9916 . GCC appears to have a bug preventing our use of __constinit
from working correctly, but this bug will be fixed in GCC 12.2.
3 years ago
deannagarcia
32d99bb00a
Merge pull request #9928 from veblush/cmake-abseil
...
Added cmake abseil include guard
3 years ago
Esun Kim
b6ee841d7c
Added cmake abseil include guard
3 years ago
David L. Jones
637a699969
[Bazel] Move conformance test targets to //conformance. ( #9922 )
3 years ago
David L. Jones
52655b1f5e
[Bazel] Move C++ build-related logic into //build_defs ( #9921 )
...
These are all "toolchain-y" things, like copts, link_opts, and config_settings. These are very different from what is in //toolchain, though, so I chose the somewhat common name build_defs for the package. For now, I am only using this package for purely internal things. (Most public "defs"-type things should come from rules_proto/rules_cc, anyhow.)
3 years ago
deannagarcia
e305932431
Merge pull request #9891 from deannagarcia/osx_toolchain
...
Add macosx action environment variable
3 years ago
Adam Cozzette
4ebe8ffef4
Merge pull request #9927 from acozzette/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
Joshua Haberman
d8b0884442
Merge pull request #9536 from bshaffer/patch-2
...
chore: [PHP] fix phpdoc for MapField keys
3 years ago
Adam Cozzette
48cb9d10fe
Sync from Piper @447000875
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
f026a14caa
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
zhangskz
0e6ac3d789
Increment python major version in version.json for python upb ( #9926 )
3 years ago
Joshua Haberman
29d5ca825a
Merge pull request #9923 from haberman/update-upb2
...
Updated to upb for -rc1.
3 years ago
Joshua Haberman
49d6b35576
Updated to upb for -rc1.
3 years ago
David L. Jones
5ebde5bd20
[Bazel] Expand lists of protos in BUILD files ( #9915 )
...
This unrolls several lists based on WELL_KNOWN_PROTO maps, and move internal java codegen rules next to the corresponding java_library targets that expose them.
3 years ago
Adam Cozzette
152249204b
Merge pull request #9912 from acozzette/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
David L. Jones
67823fe8dc
[Bazel] Fix broken build rules or mark them manual ( #9913 )
...
* Fix filename for unittest_gen_import.proto.
* Add 'manual' tags to jvm_export rules so they aren't selected by wildcard
* Run buildifier
3 years ago
Adam Cozzette
df00695437
Remove unused ShouldVerifyInt32() function
3 years ago
Adam Cozzette
a3193ed5ee
Fix spelling error
3 years ago
Adam Cozzette
f744bddb63
Sync from Piper @446575720
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
e94aa9ff0b
Merge tag 'refs/tags/sync-piper' into sync-stage
3 years ago
David L. Jones
3c5ad8c524
Remove references to //:composer.json and JS compiler. ( #9910 )
3 years ago
Ryan VanderMeulen
a1fca10ddc
Use PROTOBUF_CONSTEXPR instead of constexpr for kRepHeaderSize. ( #9885 )
...
Fixes "no matching function for call to 'CalculateReserveSize'" compiler errors with older clang versions.
3 years ago
deannagarcia
f2a126e349
Merge pull request #9909 from deannagarcia/ktDuplicates
...
Remove duplicate java generated code
3 years ago
David L. Jones
24ec0b9ffb
Add Starlark utilities to generate files with lists of files ( #9882 )
...
This adds logic to generate files with lists of files in cmake and automake syntax. This will allow Bazel to serve as the single Source of Truth for library sources, with cmake and automake using Bazel-derived definitions.
The definition files are not yet generated or checked in, but that will be a fairly straightforward set of follow-up changes.
3 years ago
Deanna Garcia
7bd1da828b
Remove duplicate java generated code
3 years ago
Thomas Van Lenten
35e2f8cd5a
ObjC: Revise the minimal extension deps algorithm.
...
When generating, it isn't uncommon to have generate >1 file at a time, and it is
likely that one file will include another. So cache the results as the
calculation is done so the work isn't repeated.
The previous pruning method didn't have any concept of tracking already done
work, this changes the algorithm to avoid the repeated work to make things more
minimal on the way up.
Some extremely deep proto graphs, this takes the generation time from around 15
min to under 45 seconds.
3 years ago
Thomas Van Lenten
0a73ec7e88
Remove the support for the kokoro cocoapods integration tests.
3 years ago
Adam Cozzette
c03eb88a87
Merge pull request #9907 from acozzette/sync-stage
...
Integrate from Piper for C++, Java, and Python
3 years ago
mkruskal-google
d93d6cc295
Rollforward of #9852 ( #9886 )
...
* Rollback pull request #9852 , which will break clients who don't IWYU and depend on us for these STL headers
* Rolling forward https://github.com/protocolbuffers/protobuf/pull/9852 after confirming it doesn't break google internals
3 years ago
Adam Cozzette
5718cfc757
Merge tag 'refs/tags/sync-piper' into sync-stage
...
# Conflicts:
# BUILD.bazel
3 years ago
Adam Cozzette
c693ba3c87
Sync from Piper @446230931
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
5eafa23c98
Update CHANGES.txt ( #9897 )
3 years ago
zhangskz
b37b613436
Update protobuf_version.bzl to separate protoc and per-language java major version ( #9900 )
3 years ago
Adam Cozzette
ec91c0e929
Sync from Piper @446048300
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
cdc11c2d2d
Remove cuda.list from apt sources ( #9896 )
...
This will fix the collect_all_artifacts.sh script, which was broken
recently when NVidia stopped publishing Cuda packages for Ubuntu 16.04.
3 years ago
David L. Jones
95da0ba5b4
Rename all BUILD files to BUILD.bazel ( #9892 )
...
This avoids conflicting names in a couple of cases.
1. Within google, we want to sync files but not name them BUILD (since the structure doesn't match).
2. On case-insensitive filesystems, `build` may be used for a build directory. Naming `BUILD.bazel` avoids potentioal conflicts.
3 years ago
FaBrand
cd4a8156fa
Be explicit with empty globs ( #9890 )
...
There are empty globs that prevent to use com_google_protobuf with
--incompatible_disallow_empty_glob
Introduced in https://github.com/bazelbuild/bazel/issues/8195
3 years ago
David L. Jones
7d48c4accd
Add forwarding lang_generator.h headers for cpp, java, and python. ( #9883 )
...
These filenames stutter, but are still being used by some users. So, these forward to the correct header. They should eventually be deprecated and removed.
3 years ago
Deanna Garcia
53002af603
Add macosx action env
3 years ago
FaBrand
244bbd6f95
Make genrule portable for windows ( #9889 )
...
* Make genrule portable for windows
Using this does remove a user dependency on a bash under windows
* Use portable genrule for zlib dependency
3 years ago
David L. Jones
c4ddd84918
Factor out MSVC-only `version.rc` logic, and ensure other variables are always initialized ( #9880 )
3 years ago
David L. Jones
4e5e8d325a
Specify full path to proto files. ( #9881 )
...
This makes proto path handling more uniform with other source files.
3 years ago
Elliotte Rusty Harold
e22db322e4
Fail JDK 17 build when unit tests fail ( #9878 )
3 years ago
Adam Cozzette
860f8ad171
Remove the JavaScript implementation ( #9874 )
...
This implementation is about to be split out into a separate Git repo.
3 years ago