Jan Tattermusch
fda6158600
Build ruby artifacts in parallel ( #28243 )
...
* build ruby artifacts in parallel
* fine tune grpc_distribtests_ruby.sh parallelism
* fine tune linux/grpc_build_artifacts.sh parallelism
* cleanup in bundle_install_wrapper
* address review comments
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
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
apolcyn
3c368a5b2c
Don't gem install rake-compiler on macos setup scripts ( #28415 )
...
* Don't gem install rake-compiler on macos setup scripts
3 years ago
Mike Dalessio
2530c73d44
ruby: support "arm64-darwin" platform native gem ( #25992 )
...
Related to:
- #25755
- #25794
3 years ago
Mike Dalessio
3181f4e530
ruby: build native Darwin gems using rake-compiler-dock ( #25794 )
...
* ruby: use squiggly heredoc for rake-compiler-dock commands
* ruby: use `bundler exec` when building native gems
* ruby: clean .{bundle,so} from src/ruby/lib when building native gems
Failing to remove these files between native builds leads
rake-compiler to establish circular dependencies (which may be a bug
in rake-compiler, but this feels like an easy and good thing to do,
anyway).
* ruby: extract linux and darwin RUBY_PLATFORM checks into variables
There were already "windows" and "bsd" flags, so let's improve
consistency and readability, and set a clear pattern for subsequent
flags.
* ruby: rely on rake-compiler-dock v1.1.0 to set no_native correctly
As of v1.1.0 there's no need to set this explicitly anymore; it will
be true whenever the extension is being built in a RCD container.
See https://github.com/rake-compiler/rake-compiler-dock/commit/362890d
* ruby: add "x86_64-darwin" platform gem
Using RCD for this platform unifies the Darwin native gem build
process with the Linux native gems, which should help avoid
inconsistencies in packaging that result in issues like the missing
Ruby 3.0 binaries in #25060 .
Please note that this change leaves the "universal-darwin" platform
native gem untouched, but provides a path forward if the project ever
decides to drop "universal" binary support.
Related to:
- #25429
- #25756
3 years ago
Alexander Polcyn
b94f09aaf4
Drop support for ruby 2.3
4 years ago
Alexander Polcyn
56f1944e2d
truncate windows dlls for linux package
4 years ago
Alexander Polcyn
74693fa1d8
Add ruby 3.0 to build matrix; upgrade rake-compiler-docker image to 1.1.0
4 years ago
Alexander Polcyn
1c8e28dcd2
Revert "Manylinux2010-based Ruby images"
...
This reverts commit bec51c0175
.
4 years ago
Esun Kim
bec51c0175
Manylinux2010-based Ruby images
4 years ago
Esun Kim
bfa1ca968c
Add gRPC-specific docker images for Ruby build
4 years ago
Alexander Polcyn
07b2026b2b
Add back source-only ruby packages for 1.30.x
5 years ago
Alexander Polcyn
c60ba7e77f
Add back source-only ruby packages for master
5 years ago
Alexander Polcyn
09bc1eebe4
Add ruby 2.7 to mac binary packages
5 years ago
Jan Tattermusch
5a6e713bda
fix ruby linux artifact build
5 years ago
Lars Kanis
4c667476a0
Add ruby-2.7 to build process of binary gems for Windows and Linux
...
With rake-compiler-dock-1.0.1 there's no need to use a derived Dockerfile.
The standard RCD image can be used instead.
The only issue is with conflicting declarations of gettimeofday(), which can be easily worked around by patching win32.h before the build.
Fixes #21514
5 years ago
Esun Kim
25b56ee1dd
Add LDXX to Rakefile
5 years ago
Alexander Polcyn
30c700fd02
Drop support for ruby < 2.3; update and unskip distrib tests
6 years ago
Alexander Polcyn
9aa48c6d1c
Drop support for ruby < 2.3; update and unskip distrib tests
6 years ago
Alexander Polcyn
67f523ce13
Add support for ruby 2.6.0 binary package builds, drop 2.1 and 2.0
...
binary package builds; pin bundler to 1.17.3 where necessary
6 years ago
Alexander Polcyn
a803c0340a
Remove source code and the grpc_c.so file that was built as a local binary from the ruby
...
binary packages
7 years ago
Muxi Yan
d5696eb7d6
Revert "Partial revert PR#14042"
7 years ago
Muxi Yan
3cb1b0aa2f
Partial revert PR#14042
7 years ago
Alexander Polcyn
3be06433af
Ruby macos kokoro environment and package build updates
7 years ago
Alexander Polcyn
8065a5e73c
Use rake-compiler-dock's Dockerfile as a base in grpc's fork of it
7 years ago
Alexander Polcyn
522df1681a
add ruby 2.5 to package build on mac
7 years ago
Yash Tibrewal
c7eaff15c0
Ignoring all ruby build errors for now
7 years ago
Yash Tibrewal
46ccf7a441
Trying _POSIX define for ruby build
7 years ago
Yash Tibrewal
10b306559b
Rolling back Rakefile changes
7 years ago
Yash Tibrewal
d6a7a44ec9
Ruby Rakefile modifications try
7 years ago
Alexander Polcyn
3a00f79b0d
tentatively set embed_cares in mingw build as is done in mac/linux build
7 years ago
Alexander Polcyn
d0033d977c
disable some compiler warnings
7 years ago
Alexander Polcyn
5fbc5776e1
experiment
7 years ago
Alexander Polcyn
7aa184bb42
specify mingw g++ compiler for ruby windows artifact build
8 years ago
Yuchen Zeng
2aa194329b
c-ares mingw32 support
8 years ago
Alexander Polcyn
4e606751db
add end2end tests to formatter and adjust to formatter
8 years ago
Nicolas "Pixel" Noble
a9fb111323
Ruby sucks.
8 years ago
Nicolas "Pixel" Noble
b230ba870e
Add ruby 2.4.0 targets to Rakefile.
8 years ago
murgatroid99
c781f64518
Use config file template instead of Rakefile template
8 years ago
murgatroid99
f0f787d117
Fix Ruby compilation problems on MinGW
8 years ago
Alexander Polcyn
38ba85ce48
allow choosing config of ruby package builds from environment variable
8 years ago
Nicolas "Pixel" Noble
23f7859a46
Fixing Ruby's Rakefile - high version number was hardcoded.
8 years ago
Ken Payson
17233ceaa9
Ignore unused variables in ruby compilation
9 years ago
Nicolas "Pixel" Noble
da46a701c4
2.1.6 doesn't work on MacOS (wheee...)
9 years ago
Nicolas Noble
86cbe3087c
Fixing Mac build for Ruby.
9 years ago
Nicolas "Pixel" Noble
5219c6d8e8
Properly compiling distributable native gems.
9 years ago
Nicolas "Pixel" Noble
f08399f61a
Splitting dll building into its own task.
9 years ago
Nicolas "Pixel" Noble
d51d121c0c
And the Windows extension finally loads.
9 years ago
Nicolas "Pixel" Noble
0215d90251
Last few improvements.
9 years ago