diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 365ae92..af7d12d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,17 @@ jobs: run: sudo rm -rf ${{ github.workspace }}/* - name: Check out repository code uses: actions/checkout@v7 + - name: Update system package info + run: sudo apt-get update + - name: Install system deps + run: > + sudo + python3 + build/fbcode_builder/getdeps.py + --allow-system-packages + install-system-deps + --recursive + bgp # Build DC against the FBOSS fsdb_client profile and BB against the # smaller exported_libraries profile. Separate build directories ensure # each variant configures and installs its own dependency closure. diff --git a/build/fbcode_builder/manifests/bgp b/build/fbcode_builder/manifests/bgp index 745c509..f999cea 100644 --- a/build/fbcode_builder/manifests/bgp +++ b/build/fbcode_builder/manifests/bgp @@ -31,6 +31,8 @@ openr = !default, !full, exported_libraries wangle re2 zstd + +[dependencies.all(distro_family=rhel,distro_vers=9)] gcc12 [cmake.defines.test=on] diff --git a/build/fbcode_builder/manifests/fboss b/build/fbcode_builder/manifests/fboss index b9f7d14..d477407 100644 --- a/build/fbcode_builder/manifests/fboss +++ b/build/fbcode_builder/manifests/fboss @@ -61,9 +61,11 @@ libgpiod systemd range-v3 tabulate -gcc12 python-pyyaml +[dependencies.all(distro_family=rhel,distro_vers=9)] +gcc12 + # Shared FBOSS libraries and tests must not each register a static glog copy. [dependencies.os=linux] glog = shared_libs