Commit Graph

19 Commits

Author SHA1 Message Date
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>
2022-06-27 23:12:13 -07:00
Patrice Chalin
5ac3aa789f Docs: fix links to grpc.io tutorial pages 2020-06-16 08:47:24 -04:00
Tommy Chen
39ac83a49e ruby-sigint ready to be merged! 2018-12-26 11:17:48 -08:00
Jan Tattermusch
a26aecc03b reimplement distance calculation in routeguide 2018-03-23 07:44:30 +01:00
Mehrdad Afshari
bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Jan Tattermusch
7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Jan Tattermusch
a22a19fd64 fix markdown 2017-04-18 12:31:49 +02:00
Alexander Polcyn
b06d534121 make clear independence of bidi streams in route guide client 2016-09-20 12:30:55 -07:00
Alexander Polcyn
689e89c2e6 dont create extra thread on bidi call in benchmark, and change suggested
code for ruby bidi calls
2016-09-20 11:00:36 -07:00
Ken Payson
5b4d3625eb Update ruby examples to use new _pb protobuf format 2016-08-04 10:31:15 -07:00
Craig Tiller
6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
murgatroid99
a4629362db Fix minor issues with Ruby route guide client 2016-03-17 15:23:43 -07:00
Nicolas "Pixel" Noble
9fe56a09fd Fixing copyrights. 2016-02-11 02:16:53 +01:00
Nicolas "Pixel" Noble
7cc94e9381 Fixing Ruby examples. 2016-02-11 02:08:17 +01:00
Tim Emiola
415134062b Ensure the route_guide sample is up-to-date
- should work using the beta api package
- ensure any generated code is consistent with the proto definition
2015-09-23 15:27:08 -07:00
Tim Emiola
2470c5cd1f Remove RouteGuide docs, link to grpc.io instead
- ensure the link in the QuickStart doc is updated
2015-09-23 14:58:01 -07:00
Stanley Cheung
56debcb6d1 fix more examples links 2015-08-31 15:14:28 -07:00
Stanley Cheung
0a268216c2 replace all grpc-common occurances with examples 2015-08-27 14:38:38 -07:00
Stanley Cheung
20fa6693f3 move examples to correct locations 2015-08-27 14:00:20 -07:00