mirror of
https://github.com/servo/servo.git
synced 2025-07-27 09:10:28 +01:00
Add CCACHE infra and turn it on in travis
This commit is contained in:
parent
17a6cb5873
commit
5c5acc0249
4 changed files with 11 additions and 0 deletions
|
@ -232,6 +232,9 @@ class MachCommands(CommandBase):
|
|||
env['OPENSSL_INCLUDE_DIR'] = path.join(openssl_dir, "include")
|
||||
env['OPENSSL_STATIC'] = 'TRUE'
|
||||
|
||||
if not (self.config["build"]["ccache"] == ""):
|
||||
env['CCACHE'] = self.config["build"]["ccache"]
|
||||
|
||||
status = call(
|
||||
["cargo", "build"] + opts,
|
||||
env=env, cwd=self.servo_crate(), verbose=verbose)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue