Skip to content

Commit 7f07f44

Browse files
lniccofacebook-github-bot
authored andcommitted
disable --allow-system-packages for generate-github-actions
Summary: Fix github actions builds for projects depending on zstd Reviewed By: wez Differential Revision: D26743251 fbshipit-source-id: a3fd8a14750227d025bff763cca8aa683b26a422
1 parent 30e2243 commit 7f07f44

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

build/fbcode_builder/getdeps.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,6 @@ def write_job_for_platform(self, platform, args): # noqa: C901
851851
)
852852

853853
getdeps = f"{py3} build/fbcode_builder/getdeps.py"
854-
if not args.disallow_system_packages:
855-
getdeps += " --allow-system-packages"
856854

857855
out.write(" build:\n")
858856
out.write(" runs-on: %s\n" % runs_on)
@@ -878,11 +876,6 @@ def write_job_for_platform(self, platform, args): # noqa: C901
878876
# that we want it to use them!
879877
out.write(" - name: Fix Git config\n")
880878
out.write(" run: git config --system core.longpaths true\n")
881-
elif not args.disallow_system_packages:
882-
out.write(" - name: Install system deps\n")
883-
out.write(
884-
f" run: sudo {getdeps} install-system-deps --recursive {manifest.name}\n"
885-
)
886879

887880
projects = loader.manifests_in_dependency_order()
888881

0 commit comments

Comments
 (0)