[DOC] building_ruby: Move the caution to a footnote

This commit is contained in:
Nobuyoshi Nakada 2024-06-02 21:27:03 +09:00
parent 7e52e3e3f7
commit 1f8c45aa51
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -145,7 +145,7 @@ about Ruby's build to help out.
### Running make scripts in parallel
In GNU make and BSD make implementations, to run a specific make script in
In GNU make[^caution-gmake-3] and BSD make implementations, to run a specific make script in
parallel, pass the flag `-j<number of processes>`. For instance, to run tests
on 8 processes, use:
@ -153,9 +153,6 @@ on 8 processes, use:
make test-all -j8
```
**CAUTION**: GNU make 3 is missing some features for parallel execution, we
recommend to upgrade to GNU make 4 or later.
We can also set `MAKEFLAGS` to run _all_ `make` commands in parallel.
Having the right `--jobs` flag will ensure all processors are utilized when
@ -176,6 +173,9 @@ export MAKEFLAGS="--jobs "(nproc)
export MAKEFLAGS="--jobs $(nproc)"
```
[^caution-gmake-3]: **CAUTION**: GNU make 3 is missing some features for parallel execution, we
recommend to upgrade to GNU make 4 or later.
### Miniruby vs Ruby
Miniruby is a version of Ruby which has no external dependencies and lacks