Commit 046dbf3b authored by Alex Hornby's avatar Alex Hornby Committed by Facebook GitHub Bot

bootstrap cmake in parallel

Summary: Lets make this faster

Reviewed By: Croohand

Differential Revision: D32614135

fbshipit-source-id: 2285bdb89c2ad982667261800f327f851a6cfcec
parent 91e9e33c
...@@ -187,7 +187,13 @@ class MakeBuilder(BuilderBase): ...@@ -187,7 +187,13 @@ class MakeBuilder(BuilderBase):
class CMakeBootStrapBuilder(MakeBuilder): class CMakeBootStrapBuilder(MakeBuilder):
def _build(self, install_dirs, reconfigure): def _build(self, install_dirs, reconfigure):
self._run_cmd(["./bootstrap", "--prefix=" + self.inst_dir]) self._run_cmd(
[
"./bootstrap",
"--prefix=" + self.inst_dir,
f"--parallel={self.build_opts.num_jobs}",
]
)
super(CMakeBootStrapBuilder, self)._build(install_dirs, reconfigure) super(CMakeBootStrapBuilder, self)._build(install_dirs, reconfigure)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment