1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-05 19:55:47 +03:00

fbcode_builder: getdeps: fboss: rename OpenBCM to OpenNSA

Summary:
Broadcom provides this library and they decided to rename it from OpenBCM to
OpenNSA. Thus, rename corresponding fbcode_builder code.

Reviewed By: wez

Differential Revision: D19396687

fbshipit-source-id: 8233dbf4de9342b5a0e54ae275d6c73d43abe6d0
This commit is contained in:
Shrikrishna Khare
2020-01-14 21:37:04 -08:00
committed by Facebook Github Bot
parent a97aabf391
commit fe8359a89e
3 changed files with 10 additions and 10 deletions

View File

@@ -724,15 +724,15 @@ class NopBuilder(BuilderBase):
shutil.copytree(self.src_dir, self.inst_dir)
class OpenBCMBuilder(NopBuilder):
# OpenBCM libraries are stored with git LFS. As a result, fetcher fetches
class OpenNSABuilder(NopBuilder):
# OpenNSA libraries are stored with git LFS. As a result, fetcher fetches
# LFS pointers and not the contents. Use git-lfs to pull the real contents
# before copying to install dir using NoopBuilder.
# In future, if more builders require git-lfs, we would consider installing
# git-lfs as part of the sandcastle infra as against repeating similar
# logic for each builder that requires git-lfs.
def __init__(self, build_opts, ctx, manifest, src_dir, inst_dir):
super(OpenBCMBuilder, self).__init__(
super(OpenNSABuilder, self).__init__(
build_opts, ctx, manifest, src_dir, inst_dir
)
@@ -741,7 +741,7 @@ class OpenBCMBuilder(NopBuilder):
self._run_cmd(["git", "lfs", "install", "--local"], cwd=self.src_dir, env=env)
self._run_cmd(["git", "lfs", "pull"], cwd=self.src_dir, env=env)
super(OpenBCMBuilder, self).build(install_dirs, reconfigure)
super(OpenNSABuilder, self).build(install_dirs, reconfigure)
class SqliteBuilder(BuilderBase):