AJ Heller
3a0632136d
[build] Use platform-specific -std=c++14 compile flags ( #32459 )
...
With the `--copt="-std=c++14"` setting in the bazel.rc file as it is
today, MSVC builds have complained for every cc file:
```
cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
```
This adds thousands of lines of noise to Windows builds, and hides
useful warnings. Using the `/std:c++14` flag on MSVC (and clang-cl) gets
us the desired result.
2 years ago
Richard Belleville
190d095a62
Fix Python epoll1 Fork Support ( #32196 )
...
* WIP. A seemingly properly failing test
* WIP. Pre-fork handlers now work
* Roughly working.
* Clean up
* Clean up more
* Add to CI
* Format
* Ugh. Remove swap file
* And another
* clean up
* Add copyright
* Format
* Remove another debug line
* Add stub forkable methods
* Remove use of 3.9+ function
* Remove unintentional double copyright
* drfloob review comments
* Only hold lock during Close once
* Create separate job for fork test
* Bump up gdb timeout
* Format
2 years ago
Esun Kim
905df9dee6
Update Abseil to 20230125 ( #32139 )
...
* Update abseil to 1.20230125.0
* Fix IWYU
2 years ago
Craig Tiller
1f1f923a72
[benchmarks] Remove stats integration ( #30900 )
...
* remove old stats cruft
* remove
* remove
* fix
* fix
2 years ago
Craig Tiller
004788af3d
[cleanup] Remove profiling timers ( #30779 )
...
* [cleanup] Remove profiling timers
- nobody has used this system in years
- if we needed it, we'd probably rewrite it at this point to be something more modern
- let's remove it until that need arises
* fix
* fixes
2 years ago
Esun Kim
df53955d16
Revert "Removed c++14 option from bazel.rc ( #29711 )" ( #29750 )
...
This reverts commit c88d70458c
.
3 years ago
Esun Kim
c88d70458c
Removed c++14 option from bazel.rc ( #29711 )
3 years ago
Esun Kim
03e9ac6f1f
Requiring C++14 ( #29589 )
3 years ago
Esun Kim
94adc74145
Fix dyld errors on macos ( #28684 )
3 years ago
Esun Kim
f1e79853ed
Revert "Revert "Buildify Envoy upb ( #28558 )" ( #28648 )" ( #28649 )
...
This reverts commit 01011ab259
.
3 years ago
Esun Kim
01011ab259
Revert "Buildify Envoy upb ( #28558 )" ( #28648 )
...
This reverts commit 97584d8346
.
3 years ago
Esun Kim
97584d8346
Buildify Envoy upb ( #28558 )
...
* Buildigy xds
* Generate project
* Buildify envoy
* Added new upb files
* Removed unused upb targets
* Fix grpc_cel_engine
* Update envoy-api to the latest
* Regen upb
* Regen projects
* Fix bazel build on MacOS
* More fix on bazel mac
* Disable grpc_tool_test on Mac
* Regen projects
3 years ago
Esun Kim
c6f96d687f
Re-enabling RBE ubsan ( #27861 )
...
* Cherry-pick #27439
* Fix StatusGetTime misalignment
* Fix memcpy with nullptr
* Fix boringssl ubsan issue
* Fix slice ubsan issue
* Ignore msan errors for ubsan
* Add upb UBSAN exception
* Add local ubsan run comment
* Revert "Fix StatusGetTime misalignment"
This reverts commit a1d0c34e8ea6933d09386867e8d4836d9e1b4e1c.
* Fix status_helper
* Added alignas
* Fix fuzzer_corpus_test
* Removed binder_transport_test from ubsan
3 years ago
Craig Tiller
179cdfcadb
Update fuzzer infrastructure for developers a little ( #27403 )
...
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
3 years ago
Craig Tiller
6d96a2221d
Enable layering checks in the Bazel build ( #26591 )
...
* Enable layering checks
* fix dep
* update projects
* fix clang-tidy
3 years ago
Esun Kim
37eecd3ce3
Updated Abseil to LTS 20210324.0 ( #25835 )
...
* Updated abseil-cpp to 20210324.0
* UBSAN with -fsanitize-link-c++-runtime
4 years ago
Lidi Zheng
4e9206f48c
Make returning a local reference a compilation error ( #25568 )
...
* Make returning a local reference a compile error
* Bazel doesn't like return-local-addr
4 years ago
Esun Kim
ac8065cb04
Address TSAN problem with Abseil.
4 years ago
Esun Kim
0e0e12aa22
Using comp_db for clang-tidy
4 years ago
Jan Tattermusch
648c38380b
run_microbenchmark.py should use bazel
4 years ago
Jan Tattermusch
4805538d44
add bazel "counters" config
4 years ago
Nicolas Noble
0f47005ad6
Removing obsolete comment.
5 years ago
Lidi Zheng
221a50bf87
Allow multiple asyncio engine
5 years ago
Lidi Zheng
13390e9ae9
Use fast cpp protos for Python builds
5 years ago
Richard Belleville
a08da012d2
Switch to config-driven style
5 years ago
Jan Tattermusch
eaf01655cd
disable xds_bootstrap_test on TSAN ASAN UBSAN
5 years ago
Jan Tattermusch
d10fb3ba99
fix win RBE opt build
5 years ago
Richard Belleville
1444cd1dd3
Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
...
This reverts commit 24c562dbaa
.
5 years ago
Richard Belleville
24c562dbaa
Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
...
This reverts commit c9c847f334
, reversing
changes made to 07ba4de392
.
5 years ago
Richard Belleville
426450cd82
Implement dual testing
5 years ago
Esun Kim
a031f0ffd6
Remove all nanopb defines
5 years ago
Prashant Jaikumar
91d865fa54
Create new build config for ASAN on Mac OS
...
Workaround ASAN build issues on Mac OS.
Disable LSAN as it's not supported by the version of clang that ships with Mac OS.
5 years ago
Prashant Jaikumar
c6993a3841
Run cfstream_test under ASAN and TSAN
5 years ago
Lidi Zheng
dbec6006a6
Fix the entry condition of Bazel hack
5 years ago
Nicolas "Pixel" Noble
1c8894d9c4
Hail mary.
6 years ago
Nicolas "Pixel" Noble
ee6a462f03
Another python fix.
6 years ago
Lidi Zheng
61bea3891b
Another attempt to fix this problem cleanly
6 years ago
Lidi Zheng
e9c67f23f3
Add a new environment variable GRPC_BAZEL_BUILD
6 years ago
Lidi Zheng
d209deb14b
Revert "Revert "Merge pull request #17644 from lidizheng/bzl-py3""
...
This reverts commit 7da0aacef2
.
6 years ago
Eric Gribkoff
7da0aacef2
Revert "Merge pull request #17644 from lidizheng/bzl-py3"
...
This reverts commit a25828ad78
, reversing
changes made to 5176fd80fc
.
6 years ago
Lidi Zheng
7105626569
Pump force Python version & simplify code
6 years ago
Lidi Zheng
814c858f3f
Enable Python 3
6 years ago
Jan Tattermusch
310e1b07a7
adding THREAD_SANITIZER define seems to trigger #17175
6 years ago
Jan Tattermusch
28ec812dcc
use sanitizer-related defines for absl
6 years ago
Jan Tattermusch
2a4f8a3f25
use bazel --config= for all foundry builds
6 years ago
Jan Tattermusch
aad0030aed
align msan kokoro and manual configurations
6 years ago
Jan Tattermusch
e43d732a33
align ubsan configuration
6 years ago
Jan Tattermusch
bfcce96efc
align bazel asan configuration
6 years ago
Jan Tattermusch
9e4b762203
Add suggested alias for bazelrc import location
...
See https://github.com/bazelbuild/bazel/issues/6319
6 years ago
Jan Tattermusch
1b1fdfd892
standardize format of bazel.rc
6 years ago