[DOC] building_ruby: Move the caution to a footnote
This commit is contained in:
parent
7e52e3e3f7
commit
1f8c45aa51
@ -145,7 +145,7 @@ about Ruby's build to help out.
|
|||||||
|
|
||||||
### Running make scripts in parallel
|
### 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
|
parallel, pass the flag `-j<number of processes>`. For instance, to run tests
|
||||||
on 8 processes, use:
|
on 8 processes, use:
|
||||||
|
|
||||||
@ -153,9 +153,6 @@ on 8 processes, use:
|
|||||||
make test-all -j8
|
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.
|
We can also set `MAKEFLAGS` to run _all_ `make` commands in parallel.
|
||||||
|
|
||||||
Having the right `--jobs` flag will ensure all processors are utilized when
|
Having the right `--jobs` flag will ensure all processors are utilized when
|
||||||
@ -176,6 +173,9 @@ export MAKEFLAGS="--jobs "(nproc)
|
|||||||
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 vs Ruby
|
||||||
|
|
||||||
Miniruby is a version of Ruby which has no external dependencies and lacks
|
Miniruby is a version of Ruby which has no external dependencies and lacks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user