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>
2 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
Richard Belleville
0d3a9121f7
Clarify that only Bazel LTS releases count in support policy ( #29406 )
3 years ago
Lidi Zheng
99752b173c
[xDS Proto] Enhence gRPC buildgen for 3rd party proto compilation ( #29254 )
...
* [xDS Proto] Enhence gRPC buildgen for 3rd party proto compilation
* Rebase from master to update envoy-api version
* Address reviewer's comments
* Address reviewer's comment
* Regenerate project
* Rename external_library
* Address reviewer's comments
* Add comments for the internals of generate C++ proto code
* Add proto file as a dependency to the custom command
3 years ago
Marco Concetto Rudilosso
06e2fcc6c7
Support pre-built binaries for Ruby 3.1 ( #29000 )
...
* Support pre-built binaries for Ruby 3.1
* use 3.1.0
* use 3.1.0 and install 3.1 in build files
* fix
* update gemspec template
* fix naming of variable
* Fix ruby 3.1 link
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
3 years ago
Lidi Zheng
4f8b3f476b
Upgrade Python versions for CI Dockerfiles ( #29186 )
...
* Upgrade Python versions for CI Dockerfiles
* Generate project
3 years ago
Richard Belleville
e79b2a9b32
Add Documentation for Supported Bazel Versions ( #29191 )
...
* Create Bazel support range docs
* Review comments
* Move supported versions file
3 years ago
Michael Lumish
28f1453ad5
Use a non-root user in Node interop docker images ( #29062 )
...
* Use a non-root user in Node interop docker images
* Make node interop scripts without being root
* Update cwd in Node interop tests
* Update cwd in other Node interop tests
* Update cwd in Node interop tests relative to hardcoded path
* Fix updated Node interop test cwd
* Make service account file location more generic
* Use service account creds directly from mounted directory
* Fixing source path is recursive local submodule clone.
* Move creds file to /root, make /root accessible
Co-authored-by: Nicolas "Pixel" Noble <pixel@nobis-crew.org>
3 years ago
Jan Tattermusch
6d3c45ff7b
Add dockerized ARM64 tests (bazel C/C++, C#, PHP, ruby, python) ( #28966 )
...
* C# arm64 docker image
* add ruby arm64 docker image
* add bazel_arm64 docker image
* add python arm64 image
* add php arm64 docker image
* regenerate
* add support for running arm64 tests with run_tests.py
* restrict arm64 testing to python3.9
* first version of bazel arm64 C++ tests
* add arm64 job configs
* add initial checks to push_testing_images.sh
3 years ago
Jan Tattermusch
d15711d2bb
Docker image cleanup (prepare for ARM64 tests) ( #29051 )
...
* remove gcc-multilib from base image
* remove useless "apt-get --allow-releaseinfo-change update" from docker images
* get rid of no-longer-useful python_debian11_base.include
* regenerate dockerfiles
3 years ago
AJ Heller
762cde4d24
Delete end2end nosec tests ( #28946 )
...
* rm nosec tests (TODO: identify coverage differences)
* grpc::load_reporter
* delete unused nosec test files & config
* trigger build
* re-delete nosec test file (snuck in with a merge)
* revert TODO deletion
3 years ago
Esun Kim
6a10e41db7
Upgrade IWYU to use clang 13 ( #28891 )
...
* Upgrade IWYU to use clang 13
* Update by review
3 years ago
Esun Kim
6565584c7b
Bump the minimum gcc to 5 ( #28786 )
3 years ago
Esun Kim
92738290ab
Upgrade base-builder to the latest for blaze build ( #28768 )
...
* Upgrade base-builder to the latest for blaze build
* Fix warnings.
* Added -Wno-deprecated-copy
3 years ago
Esun Kim
2057bfd182
Upgrade clang to 13 for clang-format, clang-tidy, and sanity ( #28763 )
3 years ago
Esun Kim
4a35cf9dc9
Removed php warning options ( #28716 )
3 years ago
Jan Tattermusch
1289cdae2e
Upgrade PHP docker images to debian11 ( #28701 )
...
* upgrade PHP docker images to debian11
* regenerate dockerfiles
* adjust testrunners to php debian11 images
3 years ago
Jan Tattermusch
2c1239c7fd
add back pip virtualenv back to ruby image for XDS tests ( #28703 )
3 years ago
Jan Tattermusch
b0cdd3cba2
Cleanup (followup for ccache addition) ( #28702 )
...
* nit in python interop dockerfile
* address TODO in prepare_ccache_symlinks_rc
* enable ccache for C# and ruby distribtest jobs
* use debian11 instead of bullseye consistently
3 years ago
Jan Tattermusch
1cf6b085f2
Enable ccache in more builds ( #28665 )
...
* upgrade ruby docker images to debian 11
* upgrade C# docker images to debian11
* update sanity dockerimage to debian11
* upgrade cxx interop to debian11
* add ccache to python interop images
* enable use of ccache for interop tests
* adjust run_tests.py to new docker images
* add ccache to rake-compiler-dock docker images
* improve prepare_ccache_symlinks_rc
* enable use of ccache in rake-compiler-dock docker containers
* add ccache support for python_manylinux2014_aarch64
* add ccache support for python_linux_armv7
* deduplicate python3.9 install
* ccache for crosscompiled darwin gems is broken
* fix bash -l resetting of PATH in grpc_artifact_python_linux_armv7
3 years ago
apolcyn
9f1663fb74
Upgrade c-ares to 1.17.2 ( #28671 )
...
Upgrade c-ares dependency to 1.17.2
3 years ago
Jan Tattermusch
f23f1bb51f
Use ccache for selected C++ and python builds (with redis server as cache) ( #28661 )
...
* add cmake support for ccache
* cleanup: use --env-file for docker run invocations
* make python build compatible with using ccache
* enable building using ccache in selected kokoro jobs
* print ccache stats and the end of run_tests.py
3 years ago
Jan Tattermusch
27b6b45c32
Upgrade C++ and Python docker images to debian stable (debian 11) ( #28664 )
...
* upgrade C++ and python docker images
* regenerate dockerfiles
* upgrade grpc_artifact_python docker images
* adjust run_tests scripts to dockerimages upgrades
3 years ago
Esun Kim
55d7631a99
Bump clang 12 to 13 ( #28639 )
3 years ago
Anton Danielsson
cf43542baf
Add bundle destination for cmake install commands ( #28454 )
...
* Add bundle destination for cmake install commands
Fixes the problem:
"no BUNDLE DESTINATION for MACOSX_BUNDLE" when building for iOS
* Automated change: Fix sanity tests
Co-authored-by: anton-danielsson <anton-danielsson@users.noreply.github.com>
3 years ago
Jan Tattermusch
32b087e674
Ruby artifact speedup ( #28542 )
...
* fix ruby native extension build parallelism defaults
* allow overriding ruby artifact build parallelism with GRPC_RUBY_BUILD_PROCS
* honor --inner_jobs for ruby artifact build
* always start building ruby artifacts first
* fine tune grpc_distribtests_ruby.sh
* address review feedback
* strip newline from nproc output
3 years ago
Jan Tattermusch
d61b564ac0
Update third_party/boringssl-with-bazel ( #28510 )
...
* Update third_party/boringssl-with-bazel
* regenerate projects
* regenerate boringssl prefix headers
* Increase boringssl podspec version
* regenerate projects (2nd time)
3 years ago
Jan Tattermusch
98999225be
Speedup linux portability build_only tests ( #28461 )
...
* try speeding up linux portability test
* remove gcc8.3 portability test
* c-ares is the default resolver on linux
* dont set parallel run_tests jobs too high
* original parallelism might lead to better results
3 years ago
apolcyn
95b313de82
Remove ruby 2.4 support ( #28522 )
...
* changes to remove ruby 2.4 support
* some fixes
* remove opensuse since eol
* fixes
* remove unused x86 dockerfile
* stop building for ruby 2.4
* update build scripts
* fix scripts
* fix sanity
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
3 years ago
Jan Tattermusch
6b869a12fe
remove python2 from bazel docker images ( #28458 )
3 years ago
Jan Tattermusch
56f85ba308
silence C4503 warning on MSVC ( #28375 )
3 years ago
apolcyn
e0c2bb063f
pin rake compiler to 1.1.1 ( #28328 )
3 years ago
hexchain
bf2ab4aa6e
Prefer -pthread flag on UNIX ( #28272 )
3 years ago
apolcyn
13c343d5e0
Add an env var to override make parallelism in ruby build ( #28250 )
...
* Add an env var to override make parallelism in ruby build
* add logging
3 years ago
Hannah Shi
540a785e5f
podfile cleanup ( #28175 )
...
all tests pass, merged
3 years ago
Esun Kim
260145c517
Updated backoff to use absl::Random ( #27193 )
...
* Replace in-house rand with absl::Random for backoff (#26463 )
* Replace in-house rand with absl::Random for backoff
* Run sanity
* Added bscrypt dependency
* Removed ABSL_RANDOM_HWAES_FLAGS
* Remove GCC_WARN_64_TO_32_BIT_CONVERSION = YES
* GCC_WARN_64_TO_32_BIT_CONVERSION to podspec install
3 years ago
Esun Kim
c007ea297c
Added virtualenv to ruby and php73 docker for psm ( #28263 )
3 years ago
Jan Tattermusch
205d7569ea
Big dockerimage cleanup ( #28010 )
...
* use python3 for running run_tests.py
* update dockerimage templates
* update dockerfiles
* fix bazel build in the bazel docker image
* adjust run_tests.py to renamed php docker image
* add previously forgotten new templates
* add missing images
* php dockerfile remove whitespaces
* restore accidentally deleted binder_transport_apk image
* add back cxx_buster_x64 image
* add back php zts stretch image
* add back binder_transport_apk image
* fix bazel builds by temporarily adding back python2-dev
* check_redundant_namespace_qualifiers.py to python3
* fix clang-tidy
* make run_tests_matrix.py use python3
* fixup cxx_debian9 templates
* regenerate
* stop running dummy grpc-node tests for protobuf-at-head and boringssl-at-head jobs
* remove cxx_buster image (replaced by cxx_debian9)
* add back python_alpine_x64 image
* run_tests_in_workspace using python3
* unbreak python macos basictests by partially reverting run_tests_matrix to python2
* fix cxx_gcc_X docker images
3 years ago
Stanley Cheung
f3ef6869d6
PHP: update examples ( #28159 )
...
* PHP: update examples
* Fix templates
3 years ago