Updated Faster Builds (markdown)
parent
bba6767f99
commit
772117ef0c
|
@ -1,16 +1,8 @@
|
|||
## Build with ninja
|
||||
|
||||
edash-packager uses [ninja](http://martine.github.io/ninja/) by default, which is much faster than make.
|
||||
|
||||
We also provide a mechanism to change build configurations, for example, developers can change build system to “make” by overriding GYP_GENERATORS.
|
||||
|
||||
`GYP_GENERATORS='make' gclient runhooks`
|
||||
|
||||
## Linking using gold on Linux
|
||||
|
||||
The experimental "gold" linker is faster than the standard BFD linker.
|
||||
|
||||
Our code tree includes a binary of gold compiled for x64 Linux. It is not enabled by default since the bundled binary does not work on some systems, e.g. Ubuntu 64bit server mentioned in issue [#7](https://github.com/google/edash-packager/issues/7).
|
||||
Our code tree includes a binary of gold compiled for x64 Linux. It is not enabled by default since the bundled binary does not work on some systems, e.g. Ubuntu 64bit server mentioned in issue [#7](https://github.com/google/shaka-packager/issues/7).
|
||||
|
||||
The gold linker can be enabled using GYP_DEFINES flags, i.e.
|
||||
`GYP_DEFINES="linux_use_gold_binary=1 linux_use_gold_flags=1" gclient runhooks`
|
||||
|
|
Loading…
Reference in New Issue