rbenv-ruby-build/script
Jean Boussier 1f9b792168 macOS: Use GMP from homebrew
MRI's BigInt use GMP under the hood if available, and if not
fallbacks to an homemade implementation with much worse performance.

Without GMP:
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 13.80743500002427
```

With GMP
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 0.4098639999865554
```

macOS not being a common production platform, it's not a huge deal
but it would still preferable to compile with `gmp.h` if present.

I'd also suggest to print a warning if compiling on macOS and gmp
isn't installed, but I don't know if it's desirable.

NB: `--with-gmp-dir` was only added recently, so this will only
apply to MRI >= 3.2, as well as rubies on which this flag was backported.
2022-09-22 08:56:34 +02:00
..
mirror Disable progress output when uploading to S3 2021-07-31 13:43:42 +02:00
release Make sure hub is configured before going further in the release script 2020-02-14 15:10:06 +01:00
test macOS: Use GMP from homebrew 2022-09-22 08:56:34 +02:00
update-cruby Update update-cruby to be clear which openssl line should be used 2022-07-12 12:23:34 +02:00
update-jruby Update update-jruby script to use Maven URL 2021-09-28 16:26:56 +02:00
update-openssl Add script to update openssl 2022-07-10 12:32:26 +02:00
update-rbx Install openssl whenever the system version does not match 2022-07-10 14:04:58 +02:00
update-truffleruby TruffleRuby 22.2+ is available on darwin-aarch64 2022-07-26 15:06:48 +02:00
update-truffleruby-graalvm TruffleRuby 22.2+ is available on darwin-aarch64 2022-07-26 15:06:48 +02:00