Deanna Garcia
f0c0385a5a
Fix workspace
2 years ago
Deanna Garcia
9880136636
Add bazel target for source distribution
2 years ago
Mike Kruskal
ea1996f40d
Separate pip and fuzzing_py wrappers into separate files.
...
This will allow cases where downstream repos don't depend on fuzzing_py but do use pip.
PiperOrigin-RevId: 494767924
2 years ago
Deanna Garcia
92dbe4b8bb
Add license file to pypi wheels.
...
Addresses https://github.com/protocolbuffers/protobuf/issues/10936 .
This requires updating to the newest version of rules_python to use the new py_wheel API that includes a parameter for extra distinfo files
PiperOrigin-RevId: 493060514
2 years ago
Mike Kruskal
3e078f5fe4
Add CMake+Bazel dependencies on utf8_range repo
2 years ago
Mike Kruskal
248ed86f2b
Add better handling for systems without python3 installed.
...
The current behavior will crash any Bazel command immediately, due to our declared pip dependencies in WORKSPACE, if python3 can't be found. The new behavior will mock out these workspace dependencies and allow any non-python targets to run. Python targets will be skipped by wildcard expressions if there's no system python3, and will fail when run directly, due to compatibility mismatch.
PiperOrigin-RevId: 492085254
2 years ago
Protobuf Team Bot
306123e2e8
C++ Code generator
...
PiperOrigin-RevId: 486158566
2 years ago
Protobuf Team Bot
9b8785ebd3
Pin Upb to C++ 17
...
Update rules_fuzzing to v0.3.2
PiperOrigin-RevId: 485902979
2 years ago
Protobuf Team Bot
04363f7bae
Update workspace_deps.bzl protobuf main commit
...
PiperOrigin-RevId: 479635174
2 years ago
Xùdōng Yáng
830100abd8
update googletest version
...
Fixing https://github.com/bazelbuild/continuous-integration/issues/1404
2 years ago
Deanna Garcia
24febb01c8
Move python deps to workspace_deps
3 years ago
Joshua Haberman
a0bc6693b0
Avoid registering a toolchain in upb_deps(), to avoid errors in cases where system_python was not available.
...
PiperOrigin-RevId: 444358333
3 years ago
Joshua Haberman
1fc983f35f
Added Python deps to upb_deps().
...
PiperOrigin-RevId: 442669011
3 years ago
Joshua Haberman
57e272449c
Revert "Moved system_python dep into upb_deps()."
...
This reverts commit 17052fce40
.
3 years ago
Joshua Haberman
17052fce40
Moved system_python dep into upb_deps().
3 years ago
Protobuf Team
ee6b1abb35
Create targets for UPB release
...
PiperOrigin-RevId: 441496547
3 years ago
Joshua Haberman
f73ff8a8f3
Put load statement back where it was.
3 years ago
Joshua Haberman
56c59c10ed
Call protobuf_deps() ourselves instead of from upb_deps().
3 years ago
Joshua Haberman
022ccf54d4
Updated to the HEAD version of Protobuf.
...
This brings in a few new Python tests that are failing.
3 years ago
Joshua Haberman
5a10ce7025
Added a Bazel rule to build a binary wheel.
3 years ago
Joshua Haberman
4423e917ad
All tests in the repo are passing.
3 years ago
Joshua Haberman
9f45814dd7
Removed sha256 for our build which follows the master branch.
3 years ago
Joshua Haberman
ca8eadca41
Updated version of google-benchmark so we can use interleaving.
3 years ago
Joshua Haberman
36485c0a40
Updated rules_fuzzing which brings GCC compatibility.
...
The fix we are pulling in is: https://github.com/bazelbuild/rules_fuzzing/pull/177
3 years ago
Joshua Haberman
7183780b60
Added a Valgrind test that works for Python!
3 years ago
Joshua Haberman
94ece04552
Initial commit of Python+upb.
3 years ago
Joshua Haberman
eabb77458a
Fixes to make upb's tests compatible with a minimal Docker container.
3 years ago
Joshua Haberman
f5796aa607
Updated Bazel fuzzing to use the newest fuzz rules.
3 years ago
Joshua Haberman
f5d2d55007
Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name.
...
This is possible now that all users have been migrated to the new
upb_msg APIs.
4 years ago
Joshua Haberman
c3b5637646
Added benchmark for loading ads descriptor.
...
Generally this seems to track the speed of loading descriptor.proto.
----------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------------------------
BM_LoadDescriptor_Upb 59091 ns 59086 ns 11747 121.182MB/s
BM_LoadAdsDescriptor_Upb 4218587 ns 4218582 ns 166 120.544MB/s
BM_LoadDescriptor_Proto2 241083 ns 241049 ns 2903 29.7043MB/s
BM_LoadAdsDescriptor_Proto2 13442631 ns 13442099 ns 52 34.8975MB/s
4 years ago
Joshua Haberman
901463e41e
Added benchmark of parsing.
6 years ago
Joshua Haberman
5611ff267b
Moved bazel files to bazel/ directory.
6 years ago
Joshua Haberman
f74cb51f11
Refactored workspace deps into a separate file.
6 years ago
Joshua Haberman
717db51700
Updated protobuf to the main branch again.
6 years ago
Joshua Haberman
1cf4af7b2c
A (final?) round of Blaze fixes.
6 years ago
Joshua Haberman
5e5e0cf24a
More Blaze fixes.
6 years ago
Joshua Haberman
f060528396
Updated protobuf to point to main repo.
6 years ago
Joshua Haberman
0fea70b4d9
Works with Bazel 0.24.1 and Bazel 0.25.2!
6 years ago
Joshua Haberman
cbe051a09c
Re-enabled conformance tests.
6 years ago
Joshua Haberman
6c1b78f095
Update Skylib and update to newer Sandwich API.
6 years ago
Joshua Haberman
20d849a5e0
Fixes for Bazel 0.25.
...
Disabled the conformance tests for now because I didn't push
the necessary changes to the protobuf repo yet.
6 years ago
Joshua Haberman
239d4a90db
Fixed upb_proto_library() for macOS.
6 years ago
Josh Haberman
02e26c5004
Replaced upb_proto_library() with a truly aspect-based rule.
6 years ago
Josh Haberman
9ce4a77f61
Updates to build system for upb C++ compiler.
6 years ago
Josh Haberman
a7ebe54eb1
Conformance tests work under Bazel.
6 years ago
Josh Haberman
2655ed9cf5
Bazel builds everything except conformance_upb.
6 years ago
Josh Haberman
01ed4ce3d4
WIP.
6 years ago