mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-05 19:55:47 +03:00
Add a flag only_install to omit the plain make
step
Summary: X-link: https://github.com/facebookincubator/zstrong/pull/849 Needed for installing ghc binaries, which have an autoconf-based distribution that only supports `make install`, not `make`. Reviewed By: chadaustin Differential Revision: D58011865 fbshipit-source-id: db7c3cc45701201466a6b2853c5f3515b178fa74
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f1d35639d6
commit
a8ca678c84
@@ -362,7 +362,9 @@ class AutoconfBuilder(BuilderBase):
|
||||
self._run_cmd(["autoreconf", "-ivf"], cwd=self.src_dir, env=env)
|
||||
configure_cmd = [configure_path, "--prefix=" + self.inst_dir] + self.args
|
||||
self._run_cmd(configure_cmd, env=env)
|
||||
self._run_cmd([self._make_binary, "-j%s" % self.num_jobs], env=env)
|
||||
only_install = self.manifest.get("build", "only_install", "false", ctx=self.ctx)
|
||||
if not only_install:
|
||||
self._run_cmd([self._make_binary, "-j%s" % self.num_jobs], env=env)
|
||||
self._run_cmd([self._make_binary, "install"], env=env)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user