1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-10 05:22:59 +03:00

install libnl from github for fbcode builder

Summary: travis ci machines do not have libnl installed, this installs it.

Reviewed By: saifhhasan

Differential Revision: D6026428

fbshipit-source-id: 70b00a854ab437b69e93ee6b53da83ba58b4d8a2
This commit is contained in:
John Strizich
2017-10-12 19:43:58 -07:00
committed by Facebook Github Bot
parent 1d6a91e0fe
commit 6ef17b6e6c

View File

@@ -261,6 +261,11 @@ class FBCodeBuilder(object):
self.run(ShellQuoted('git checkout {hash}').format(hash=git_hash)),
] if git_hash else []
git_patch = self.option('{0}:git_patch'.format(project), '')
maybe_apply_patch = [
self.run(ShellQuoted('git apply {patch}').format(patch=git_patch)),
] if git_patch else []
base_dir = self.option('projects_dir')
local_repo_dir = self.option('{0}:local_repo_dir'.format(project), '')
return self.step('Check out {0}, workdir {1}'.format(project, path), [
@@ -272,7 +277,7 @@ class FBCodeBuilder(object):
local_repo_dir, os.path.basename(project)
),
self.workdir(path_join(base_dir, os.path.basename(project), path)),
] + maybe_change_branch)
] + maybe_change_branch + maybe_apply_patch)
def fb_github_project_workdir(self, project_and_path, github_org='facebook'):
'This helper lets Facebook-internal CI special-cases FB projects'