Clément Jean
9caea6ca40
Update bazel_support.md ( #31986 )
...
* Update bazel_support.md
Typo where 'k' should be a comma. We can now copy paste the code as is.
* remove typo in template file
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Esun Kim
25b0aff1e7
Update a sanity docker image to run iwyu ( #31956 )
...
* Added missing iwyu deps
* Docker image pushed
2 years ago
Stanley Cheung
fa42edef83
Update PHP docker images PHP versions ( #31779 )
2 years ago
Doug Fawley
a65382d9f9
Use go1.19 for go interop tests and for future interop_matrix tests ( #31732 )
2 years ago
Esun Kim
5fb4c2364d
Clean-up pkgconfig ( #31660 )
...
* Clean-up pkgconfig
* Removed run_distrib_test_cmake_module_install_pkgconfig.sh
* Proper re2
* Clean up pkgconfig.sh test script
2 years ago
Clément Péron
831d2a6855
Cmake add separate export for plugin targets ( #31525 )
...
* cmake: add separate export for plugin targets
Add a separate CMake export for the plugin targets to separate binaries
and libraries into their own CMake target export files. Skip the cross
compiled binary plugin targets during cross compile because they are not
usable and not always available.
The Yocto build system doesn't install cross compiled binaries into the
target sysroot. This makes the CMake gRPC config useless as it checks
the existent of binaries and fails without the binaries.
This is a strip down version of #22498 and related to #26148 and #26857 .
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
* regenerate cmake file
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Co-authored-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
2 years ago
Valentin
c45e4f003d
gRPC: Add grpc_authorization_provider to CMake ( #31308 )
...
* gRPC: Add grpc_authorization_provider to CMake
* Added _gRPC_RE2_LIBRARIES
* Added _gRPC_RE2_LIBRARIES
* Undo formattig
* Changed .template
* change commit message for CLA
2 years ago
Craig Tiller
a116fa7e25
Revert "Revert "[chaotic-good] Reland basic frame serialization (#316… ( #31637 )
...
* Revert "Revert "[chaotic-good] Reland basic frame serialization (#31631 )" (#31635 )"
This reverts commit 4e2b936e88
.
* windows fix?
2 years ago
Craig Tiller
4e2b936e88
Revert "[chaotic-good] Reland basic frame serialization ( #31631 )" ( #31635 )
...
This reverts commit 571e98f6d5
.
2 years ago
Craig Tiller
571e98f6d5
[chaotic-good] Reland basic frame serialization ( #31631 )
...
* Revert "Revert "[chaotic-good] Basic frame serialization/deserialization (#31257 )" (#31630 )"
This reverts commit e8ac147311
.
* fix build
2 years ago
Craig Tiller
e8ac147311
Revert "[chaotic-good] Basic frame serialization/deserialization ( #31257 )" ( #31630 )
...
This reverts commit 8185a56322
.
2 years ago
Craig Tiller
8185a56322
[chaotic-good] Basic frame serialization/deserialization ( #31257 )
...
* [chaotic-good] initial sketch of frame serialization
* Automated change: Fix sanity tests
* tinkering
* fix up
* add tests,fuzzers
* more tests
* fix
* fuzzers
* Automated change: Fix sanity tests
* fix-build
* Automated change: Fix sanity tests
* fix inf loop
* fix refcounting bug
* fixdeps
* fix
* fix continuations
* iwyu
* fix build
* fix
* build fixes
* better split
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* iwyu
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
867dc6cae2
Revert "Add support for systemd socket activation ( #30485 )" ( #31617 )
...
This reverts commit a638c407bb
.
2 years ago
Andres Beltran
a638c407bb
Add support for systemd socket activation ( #30485 )
...
* Add socket-activated functionality
* Fix GRPC_ERROR_NONE in tcp_server_posix_test and sanity checks
* Fix epoll1 error, sanity checks
* Use AF_INET6 in tcp_server_posix_test
Co-authored-by: Vignesh Babu <vigneshbabu@google.com>
2 years ago
Esun Kim
8696d49e23
Added version macros ( #31033 )
2 years ago
Esun Kim
50fbe51238
Fix IWYU with clang-15 ( #31556 )
...
* Fix iwyu
* iwyu fix
* more fixed
* Build fix
* more fix
* More fixes 3
2 years ago
Jan Tattermusch
401c751cb4
Update dart SDK version in dart interop image ( #31542 )
...
* update dart SDK version in dart interop image
* fix dart interop docker build
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
Jan Tattermusch
78fd1f637a
Run grpc_android job under docker for better maintainability. ( #31504 )
...
* run grpc_android in a docker container
* add TODO
* fixup android_ndk dockerfile
2 years ago
Eric Anderson
9098d8b8db
Upgrade Java interop to Bullseye and Java 11 ( #30599 )
2 years ago
Jan Tattermusch
3f1c3f23bd
Python virtualenv dockerfile cleanup ( #31139 )
...
* python tests install pinned virtualenv themselves
* more alpine image simplifications
* regenerate alpine image
* introduce dockerfile template for xds interop tests harness deps
* cleanup interop_http2 docker image, remove python_deps.include
2 years ago
CZRZ
90f4f33536
Remove unnecessary gflags related comments in makefile ( #28846 )
...
Signed-off-by: chengzrz <czrzrichard@gmail.com>
Signed-off-by: chengzrz <czrzrichard@gmail.com>
2 years ago
Denny C. Dai
343cb0ecb9
Setting C++ lang dialect for objc cocoapod specs ( #31071 )
2 years ago
Richard Belleville
b15097142a
Silence dubious ownership issue in bazel image ( #30963 )
...
* Silence dubious ownership issue in bazel image
* Agh. It's a template
2 years ago
Esun Kim
e90972bef6
Bump gcc 6 to 7 ( #30903 )
...
* Bump gcc 6 to 7
* Update
* Update 2
2 years ago
Jan Tattermusch
631392f2e7
Upgrade bazel version to bazel 5.3 (repo-wide) ( #30844 )
...
* update bazel to 5.3.0
* regenerate dockerfiles
* update bazel distribtest
* update docker image templates
* regenerate dockerfiles 2
* regenerate bazel_support.md
* upgrade rules_apple and apple_support bazel deps
* Revert "upgrade rules_apple and apple_support bazel deps"
This reverts commit eb9a0d2155
.
* fix objc bazel 5.3 build on kokoro mojave image
2 years ago
Michael Nosthoff
3353d61c5a
cmake: fix cross-compilation with gRPC_BUILD_GRPC_CPP_PLUGIN=OFF ( #30378 )
...
commit 99752b173c
reintroduced the cross-compilation issue which was fixed by da10b795e1
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
apolcyn
8b941bb648
Drop support for ruby 2.5 ( #30699 )
...
* Drop ruby 2.5 support
2 years ago
Esun Kim
8f7927f7bc
Added gcc12 ( #30388 )
2 years ago
Craig Tiller
3ec0e29bcf
[test] Convert cq verifier to C++ ( #30256 )
...
* [test] Convert cq verifier to C++
* Automated change: Fix sanity tests
* fix
* dead code
* strength reduction
* dead code
* fix
* when search/replace goes wrong
* review feedback
* review feedback
* cleanup
* fixes
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Eric Anderson
f4c162f30d
Allow Gradle to use more memory when building Java interop ( #30249 )
...
Should fix "Expiring Daemon because JVM heap space is exhausted".
https://github.com/grpc/grpc-java/pull/9269 probably pushed the build
over the edge, but there's been evidence via flakes for a good while
that we've been reaching the limit.
b/238438006
2 years ago
Esun Kim
dcf9612186
Upgrade Abseil to LTS 20220623.0 ( #30155 )
...
* Upgrade abseil to 20220623.0
* Fix subchannel include
2 years ago
Benoit Daloze
0a5d9828c1
Make the gem build on TruffleRuby ( #27660 )
...
* replace darwin checks in extconf.rb to exclude TruffleRuby
* inherit RANLIB and STRIP from RbConfig, set LDXX
* enable overriding ranlib command in top-level makefile
* ensure the -no_warning_for_no_symbols flag is only used with Apple's ranlib
* don't embed openssl & zlib on truffleruby
* add RbConfig's cppflag to CPPFLAGS when using TruffleRuby
* this ensure the paths to find the system's OpenSSL are set up correctly with TruffleRuby (includes being able to find an OpenSSL installed via Homebrew etc)
* don't statically link standard libraries on Linux with Truffleruby
* This does not work when compiling to bitcode.
* Prefer SIGTERM to SIGQUIT for graceful shutdown in examples
* Overriding SIGQUIT is suboptimal, for example on JVM where it is very
useful to dump the thread stacktraces.
* Keep the rb_tr_abi_version symbol for TruffleRuby in grpc_c.so
* Otherwise TruffleRuby cannot verify the ABI version is correct.
* See https://github.com/oracle/truffleruby/issues/2386
* Use RbConfig::CONFIG['STRIP'] instead of just `strip`
* Use a local variable for apple_toolchain for consistency
* Add a comment about -static-libgcc -static-libstdc++ and TruffleRuby
* Split comment into two for openssl/zlib
Co-authored-by: Nicolas Laurent <nicolas.laurent@oracle.com>
2 years ago
Ben Beasley
e3e4d41bd9
Use gRPC_INSTALL_LIBDIR for pkgconfig files ( #29826 )
...
* Use gRPC_INSTALL_LIBDIR for pkgconfig files
Fixes #25635 .
If grpc libraries are installed in <prefix>/lib64, then .pc files should
be installed in <prefix>/lib64/pkgconfig. Before this commit, they were
always installed in <prefix>/lib/pkgconfig.
* Re-generate projects
2 years ago
Denny C. Dai
98eeb8ae5d
[gRPC/iOS] Remove libuv pod dependnecy from iOS cocoapod build ( #30096 )
2 years ago
Benoit Daloze
c28ca6ef2b
Remove template for extconf.rb and get the version from lib/grpc/version.rb ( #30017 )
...
* Having the entire logic of extconf.rb duplicated in 2 files is
extremely inconvenient, also because the Ruby logic in the YAML template
does not get any syntax highlighting or IDE features.
2 years ago
hongnod
d0751191a9
tell MSVC to build grpc with utf-8 ( #30003 )
...
* tell MSVC to build grpc with utf-8
fix #29979
* generate_projects
Co-authored-by: AJ Heller <hork@google.com>
3 years ago
Jérôme Duval
7251dd566d
Initial support for Haiku ( #27793 )
...
* Detect Haiku in core/lib/iomgr
* Detect Haiku in include/grpc/impl/codegen
* CMake: Haiku doesn't need additional libraries
* CMake: Haiku doesn't need additional libraries
* Sanitize: word wrap
Co-authored-by: AJ Heller <hork@google.com>
3 years ago
Esun Kim
ec58a346f9
Changed C99 to C11 ( #29687 )
...
* Changed C99 to C11
* Remove gnu99 option
* Switch to gnu11 for xcode
3 years ago
Craig Tiller
0f9d024fec
[iwyu] c++ ( #29721 )
...
* Revert "Revert "[iwyu] grpc++ (#29610 )" (#29720 )"
This reverts commit 0642bc213d
.
* fixup status_code_enum import issue
* fix
* Automated change: Fix sanity tests
* import fixes
* fix import
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
0642bc213d
Revert "[iwyu] grpc++ ( #29610 )" ( #29720 )
...
This reverts commit c8159eabdf
.
3 years ago
Craig Tiller
c8159eabdf
[iwyu] grpc++ ( #29610 )
...
* [iwyu] grpc++
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* [iwyu] Better script
* eliminate race
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
03e9ac6f1f
Requiring C++14 ( #29589 )
3 years ago
Esun Kim
4edd63772e
Bump version of gcc and clang ( #29594 )
3 years ago
Hannah Shi
1d94aa92d8
remove xxhash.h patch ( #29440 )
3 years ago
Hannah Shi
b9928a5154
[Ruby]fix a rake compile error since rake-compiler ~> 1.1 ( #28666 )
...
* fix a rake compile error since rake-compiler ~> 1.1
* change File.directory? check
3 years ago
Craig Tiller
42b083322f
Check IWYU status in presubmits ( #28180 )
...
* fixes
* fixes
* fixes
* allow running outside docker
* x
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Jan Tattermusch
e8404698d5
Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) ( #29225 )
...
* remove examples/csharp
* remove reference to examples/csharp
* remove C# references from doc/
* remove src/csharp
* update test_creds locations
* remove C# distribtests
* remove buildgen templates for files under src/csharp
* remove grpc_csharp_ext C build target
* regenerate projects
* update tools/run_tests/README.md
* change many C# test/build scripts to noop
* unbreak run_tests.py -l csharp
* unbreak C# build_package targets
* unbreak C# distribtests
* remove C# pre-build steps from prepare_build_windows.bat
* remove src/csharp from clang_format
* remove csharp and csharpcoreclr from run_interop_tests.py
* remove C# interop test docker images
* Revert "remove src/csharp"
This reverts commit 97f2b6d707
.
* remove src/csharp, but keep Grpc.Tools
* add back templates/src/csharp/build/dependencies.props.template
* remove everything but Grpc.Tools and Grpc.Tools.Tests from sln
* Revert "unbreak run_tests.py -l csharp"
This reverts commit 529b5e2ec1
.
* revive Grpc.Tools.Tests through run_tests.py
* Revert "unbreak C# build_package targets"
This reverts commit 79d8d83c8b
.
* experiment with build_nuget.sh fixes
* simplify create_fake_native_artifacts.sh
* building of Grpc.Tools in package_targets.py
* move shared files from Grpc.Core to Grpc.Tools
* yapf format: distribtest_targets.py
* Revert "remove C# pre-build steps from prepare_build_windows.bat"
This reverts commit bd38956a2b
.
* update C# README.md
* disable C# in gke OSS benchmarks
3 years ago