diff --git a/third-party/proxygen/src/.github/workflows/getdeps_linux.yml b/third-party/proxygen/src/.github/workflows/getdeps_linux.yml index 0d886a4caf1622..d1f5e3cfe4be46 100644 --- a/third-party/proxygen/src/.github/workflows/getdeps_linux.yml +++ b/third-party/proxygen/src/.github/workflows/getdeps_linux.yml @@ -18,96 +18,100 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 + - name: Update system package info + run: sudo --preserve-env=http_proxy apt-get update + - name: Install system deps + run: sudo --preserve-env=http_proxy python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive proxygen && sudo --preserve-env=http_proxy python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive patchelf - id: paths name: Query paths - run: python3 build/fbcode_builder/getdeps.py query-paths --recursive --src-dir=. proxygen >> "$GITHUB_OUTPUT" + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages query-paths --recursive --src-dir=. proxygen >> "$GITHUB_OUTPUT" - name: Fetch ninja if: ${{ steps.paths.outputs.ninja_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja - name: Fetch cmake if: ${{ steps.paths.outputs.cmake_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake - name: Fetch zlib if: ${{ steps.paths.outputs.zlib_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zlib - name: Fetch zstd if: ${{ steps.paths.outputs.zstd_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd - name: Fetch boost if: ${{ steps.paths.outputs.boost_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost - name: Fetch double-conversion if: ${{ steps.paths.outputs.double-conversion_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion - name: Fetch fast_float if: ${{ steps.paths.outputs.fast_float_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fast_float + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fast_float - name: Fetch fmt if: ${{ steps.paths.outputs.fmt_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt - name: Fetch gflags if: ${{ steps.paths.outputs.gflags_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags - name: Fetch glog if: ${{ steps.paths.outputs.glog_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog - name: Fetch googletest if: ${{ steps.paths.outputs.googletest_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest - name: Fetch libdwarf if: ${{ steps.paths.outputs.libdwarf_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libdwarf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libdwarf - name: Fetch libevent if: ${{ steps.paths.outputs.libevent_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent - name: Fetch lz4 if: ${{ steps.paths.outputs.lz4_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4 + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests lz4 - name: Fetch snappy if: ${{ steps.paths.outputs.snappy_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy - name: Fetch openssl if: ${{ steps.paths.outputs.openssl_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl - name: Fetch liboqs if: ${{ steps.paths.outputs.liboqs_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests liboqs + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests liboqs - name: Fetch autoconf if: ${{ steps.paths.outputs.autoconf_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf - name: Fetch automake if: ${{ steps.paths.outputs.automake_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake - name: Fetch libtool if: ${{ steps.paths.outputs.libtool_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool - name: Fetch gperf if: ${{ steps.paths.outputs.gperf_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gperf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gperf - name: Fetch libiberty if: ${{ steps.paths.outputs.libiberty_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libiberty + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libiberty - name: Fetch libsodium if: ${{ steps.paths.outputs.libsodium_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium - name: Fetch libunwind if: ${{ steps.paths.outputs.libunwind_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libunwind + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libunwind - name: Fetch xz if: ${{ steps.paths.outputs.xz_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xz - name: Fetch folly if: ${{ steps.paths.outputs.folly_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly - name: Fetch fizz if: ${{ steps.paths.outputs.fizz_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fizz - name: Fetch mvfst if: ${{ steps.paths.outputs.mvfst_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests mvfst + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests mvfst - name: Fetch wangle if: ${{ steps.paths.outputs.wangle_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests wangle - name: Restore ninja from cache id: restore_ninja if: ${{ steps.paths.outputs.ninja_SOURCE }} @@ -117,7 +121,7 @@ jobs: key: ${{ steps.paths.outputs.ninja_CACHE_KEY }}-install - name: Build ninja if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ninja - name: Save ninja to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }} @@ -133,7 +137,7 @@ jobs: key: ${{ steps.paths.outputs.cmake_CACHE_KEY }}-install - name: Build cmake if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests cmake - name: Save cmake to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }} @@ -149,7 +153,7 @@ jobs: key: ${{ steps.paths.outputs.zlib_CACHE_KEY }}-install - name: Build zlib if: ${{ steps.paths.outputs.zlib_SOURCE && ! steps.restore_zlib.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests zlib + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zlib - name: Save zlib to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.zlib_SOURCE && ! steps.restore_zlib.outputs.cache-hit }} @@ -165,7 +169,7 @@ jobs: key: ${{ steps.paths.outputs.zstd_CACHE_KEY }}-install - name: Build zstd if: ${{ steps.paths.outputs.zstd_SOURCE && ! steps.restore_zstd.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zstd - name: Save zstd to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.zstd_SOURCE && ! steps.restore_zstd.outputs.cache-hit }} @@ -181,7 +185,7 @@ jobs: key: ${{ steps.paths.outputs.boost_CACHE_KEY }}-install - name: Build boost if: ${{ steps.paths.outputs.boost_SOURCE && ! steps.restore_boost.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests boost + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests boost - name: Save boost to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.boost_SOURCE && ! steps.restore_boost.outputs.cache-hit }} @@ -197,7 +201,7 @@ jobs: key: ${{ steps.paths.outputs.double-conversion_CACHE_KEY }}-install - name: Build double-conversion if: ${{ steps.paths.outputs.double-conversion_SOURCE && ! steps.restore_double-conversion.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests double-conversion - name: Save double-conversion to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.double-conversion_SOURCE && ! steps.restore_double-conversion.outputs.cache-hit }} @@ -213,7 +217,7 @@ jobs: key: ${{ steps.paths.outputs.fast_float_CACHE_KEY }}-install - name: Build fast_float if: ${{ steps.paths.outputs.fast_float_SOURCE && ! steps.restore_fast_float.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests fast_float + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fast_float - name: Save fast_float to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.fast_float_SOURCE && ! steps.restore_fast_float.outputs.cache-hit }} @@ -229,7 +233,7 @@ jobs: key: ${{ steps.paths.outputs.fmt_CACHE_KEY }}-install - name: Build fmt if: ${{ steps.paths.outputs.fmt_SOURCE && ! steps.restore_fmt.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fmt - name: Save fmt to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.fmt_SOURCE && ! steps.restore_fmt.outputs.cache-hit }} @@ -245,7 +249,7 @@ jobs: key: ${{ steps.paths.outputs.gflags_CACHE_KEY }}-install - name: Build gflags if: ${{ steps.paths.outputs.gflags_SOURCE && ! steps.restore_gflags.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gflags - name: Save gflags to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.gflags_SOURCE && ! steps.restore_gflags.outputs.cache-hit }} @@ -261,7 +265,7 @@ jobs: key: ${{ steps.paths.outputs.glog_CACHE_KEY }}-install - name: Build glog if: ${{ steps.paths.outputs.glog_SOURCE && ! steps.restore_glog.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests glog + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests glog - name: Save glog to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.glog_SOURCE && ! steps.restore_glog.outputs.cache-hit }} @@ -277,7 +281,7 @@ jobs: key: ${{ steps.paths.outputs.googletest_CACHE_KEY }}-install - name: Build googletest if: ${{ steps.paths.outputs.googletest_SOURCE && ! steps.restore_googletest.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests googletest - name: Save googletest to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.googletest_SOURCE && ! steps.restore_googletest.outputs.cache-hit }} @@ -293,7 +297,7 @@ jobs: key: ${{ steps.paths.outputs.libdwarf_CACHE_KEY }}-install - name: Build libdwarf if: ${{ steps.paths.outputs.libdwarf_SOURCE && ! steps.restore_libdwarf.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libdwarf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libdwarf - name: Save libdwarf to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libdwarf_SOURCE && ! steps.restore_libdwarf.outputs.cache-hit }} @@ -309,7 +313,7 @@ jobs: key: ${{ steps.paths.outputs.libevent_CACHE_KEY }}-install - name: Build libevent if: ${{ steps.paths.outputs.libevent_SOURCE && ! steps.restore_libevent.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libevent - name: Save libevent to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libevent_SOURCE && ! steps.restore_libevent.outputs.cache-hit }} @@ -325,7 +329,7 @@ jobs: key: ${{ steps.paths.outputs.lz4_CACHE_KEY }}-install - name: Build lz4 if: ${{ steps.paths.outputs.lz4_SOURCE && ! steps.restore_lz4.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4 + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests lz4 - name: Save lz4 to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.lz4_SOURCE && ! steps.restore_lz4.outputs.cache-hit }} @@ -341,7 +345,7 @@ jobs: key: ${{ steps.paths.outputs.snappy_CACHE_KEY }}-install - name: Build snappy if: ${{ steps.paths.outputs.snappy_SOURCE && ! steps.restore_snappy.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests snappy - name: Save snappy to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.snappy_SOURCE && ! steps.restore_snappy.outputs.cache-hit }} @@ -357,7 +361,7 @@ jobs: key: ${{ steps.paths.outputs.openssl_CACHE_KEY }}-install - name: Build openssl if: ${{ steps.paths.outputs.openssl_SOURCE && ! steps.restore_openssl.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests openssl - name: Save openssl to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.openssl_SOURCE && ! steps.restore_openssl.outputs.cache-hit }} @@ -373,7 +377,7 @@ jobs: key: ${{ steps.paths.outputs.liboqs_CACHE_KEY }}-install - name: Build liboqs if: ${{ steps.paths.outputs.liboqs_SOURCE && ! steps.restore_liboqs.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests liboqs + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests liboqs - name: Save liboqs to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.liboqs_SOURCE && ! steps.restore_liboqs.outputs.cache-hit }} @@ -389,7 +393,7 @@ jobs: key: ${{ steps.paths.outputs.autoconf_CACHE_KEY }}-install - name: Build autoconf if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests autoconf - name: Save autoconf to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }} @@ -405,7 +409,7 @@ jobs: key: ${{ steps.paths.outputs.automake_CACHE_KEY }}-install - name: Build automake if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests automake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests automake - name: Save automake to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }} @@ -421,7 +425,7 @@ jobs: key: ${{ steps.paths.outputs.libtool_CACHE_KEY }}-install - name: Build libtool if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libtool - name: Save libtool to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }} @@ -437,7 +441,7 @@ jobs: key: ${{ steps.paths.outputs.gperf_CACHE_KEY }}-install - name: Build gperf if: ${{ steps.paths.outputs.gperf_SOURCE && ! steps.restore_gperf.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests gperf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gperf - name: Save gperf to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.gperf_SOURCE && ! steps.restore_gperf.outputs.cache-hit }} @@ -453,7 +457,7 @@ jobs: key: ${{ steps.paths.outputs.libiberty_CACHE_KEY }}-install - name: Build libiberty if: ${{ steps.paths.outputs.libiberty_SOURCE && ! steps.restore_libiberty.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libiberty + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libiberty - name: Save libiberty to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libiberty_SOURCE && ! steps.restore_libiberty.outputs.cache-hit }} @@ -469,7 +473,7 @@ jobs: key: ${{ steps.paths.outputs.libsodium_CACHE_KEY }}-install - name: Build libsodium if: ${{ steps.paths.outputs.libsodium_SOURCE && ! steps.restore_libsodium.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libsodium - name: Save libsodium to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libsodium_SOURCE && ! steps.restore_libsodium.outputs.cache-hit }} @@ -485,7 +489,7 @@ jobs: key: ${{ steps.paths.outputs.libunwind_CACHE_KEY }}-install - name: Build libunwind if: ${{ steps.paths.outputs.libunwind_SOURCE && ! steps.restore_libunwind.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libunwind + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libunwind - name: Save libunwind to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libunwind_SOURCE && ! steps.restore_libunwind.outputs.cache-hit }} @@ -501,7 +505,7 @@ jobs: key: ${{ steps.paths.outputs.xz_CACHE_KEY }}-install - name: Build xz if: ${{ steps.paths.outputs.xz_SOURCE && ! steps.restore_xz.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests xz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests xz - name: Save xz to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.xz_SOURCE && ! steps.restore_xz.outputs.cache-hit }} @@ -517,7 +521,7 @@ jobs: key: ${{ steps.paths.outputs.folly_CACHE_KEY }}-install - name: Build folly if: ${{ steps.paths.outputs.folly_SOURCE && ! steps.restore_folly.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests folly + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests folly - name: Save folly to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.folly_SOURCE && ! steps.restore_folly.outputs.cache-hit }} @@ -533,7 +537,7 @@ jobs: key: ${{ steps.paths.outputs.fizz_CACHE_KEY }}-install - name: Build fizz if: ${{ steps.paths.outputs.fizz_SOURCE && ! steps.restore_fizz.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fizz - name: Save fizz to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.fizz_SOURCE && ! steps.restore_fizz.outputs.cache-hit }} @@ -549,7 +553,7 @@ jobs: key: ${{ steps.paths.outputs.mvfst_CACHE_KEY }}-install - name: Build mvfst if: ${{ steps.paths.outputs.mvfst_SOURCE && ! steps.restore_mvfst.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests mvfst + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests mvfst - name: Save mvfst to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.mvfst_SOURCE && ! steps.restore_mvfst.outputs.cache-hit }} @@ -565,7 +569,7 @@ jobs: key: ${{ steps.paths.outputs.wangle_CACHE_KEY }}-install - name: Build wangle if: ${{ steps.paths.outputs.wangle_SOURCE && ! steps.restore_wangle.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests wangle - name: Save wangle to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.wangle_SOURCE && ! steps.restore_wangle.outputs.cache-hit }} @@ -573,12 +577,12 @@ jobs: path: ${{ steps.paths.outputs.wangle_INSTALL }} key: ${{ steps.paths.outputs.wangle_CACHE_KEY }}-install - name: Build proxygen - run: python3 build/fbcode_builder/getdeps.py build --src-dir=. proxygen --project-install-prefix proxygen:/usr/local + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. proxygen --project-install-prefix proxygen:/usr/local - name: Copy artifacts - run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. proxygen _artifacts/linux --project-install-prefix proxygen:/usr/local --final-install-prefix /usr/local + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --strip --src-dir=. proxygen _artifacts/linux --project-install-prefix proxygen:/usr/local --final-install-prefix /usr/local - uses: actions/upload-artifact@v4 with: name: proxygen path: _artifacts - name: Test proxygen - run: python3 build/fbcode_builder/getdeps.py test --src-dir=. proxygen --project-install-prefix proxygen:/usr/local + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. proxygen --project-install-prefix proxygen:/usr/local diff --git a/third-party/proxygen/src/.github/workflows/getdeps_mac.yml b/third-party/proxygen/src/.github/workflows/getdeps_mac.yml index 5ac16194b14c5b..8a2b04eb04b6e2 100644 --- a/third-party/proxygen/src/.github/workflows/getdeps_mac.yml +++ b/third-party/proxygen/src/.github/workflows/getdeps_mac.yml @@ -18,90 +18,92 @@ jobs: runs-on: macOS-latest steps: - uses: actions/checkout@v4 + - name: Install system deps + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive proxygen - id: paths name: Query paths - run: python3 build/fbcode_builder/getdeps.py query-paths --recursive --src-dir=. proxygen >> "$GITHUB_OUTPUT" + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages query-paths --recursive --src-dir=. proxygen >> "$GITHUB_OUTPUT" - name: Fetch ninja if: ${{ steps.paths.outputs.ninja_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja - name: Fetch cmake if: ${{ steps.paths.outputs.cmake_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake - name: Fetch zlib if: ${{ steps.paths.outputs.zlib_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zlib - name: Fetch zstd if: ${{ steps.paths.outputs.zstd_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd - name: Fetch boost if: ${{ steps.paths.outputs.boost_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost - name: Fetch double-conversion if: ${{ steps.paths.outputs.double-conversion_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion - name: Fetch fast_float if: ${{ steps.paths.outputs.fast_float_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fast_float + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fast_float - name: Fetch fmt if: ${{ steps.paths.outputs.fmt_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt - name: Fetch gflags if: ${{ steps.paths.outputs.gflags_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags - name: Fetch glog if: ${{ steps.paths.outputs.glog_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog - name: Fetch googletest if: ${{ steps.paths.outputs.googletest_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest - name: Fetch libdwarf if: ${{ steps.paths.outputs.libdwarf_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libdwarf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libdwarf - name: Fetch lz4 if: ${{ steps.paths.outputs.lz4_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4 + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests lz4 - name: Fetch openssl if: ${{ steps.paths.outputs.openssl_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl - name: Fetch snappy if: ${{ steps.paths.outputs.snappy_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy - name: Fetch libevent if: ${{ steps.paths.outputs.libevent_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent - name: Fetch liboqs if: ${{ steps.paths.outputs.liboqs_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests liboqs + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests liboqs - name: Fetch autoconf if: ${{ steps.paths.outputs.autoconf_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf - name: Fetch automake if: ${{ steps.paths.outputs.automake_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake - name: Fetch libtool if: ${{ steps.paths.outputs.libtool_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool - name: Fetch gperf if: ${{ steps.paths.outputs.gperf_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gperf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gperf - name: Fetch libsodium if: ${{ steps.paths.outputs.libsodium_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium - name: Fetch xz if: ${{ steps.paths.outputs.xz_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xz - name: Fetch folly if: ${{ steps.paths.outputs.folly_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly - name: Fetch fizz if: ${{ steps.paths.outputs.fizz_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fizz - name: Fetch mvfst if: ${{ steps.paths.outputs.mvfst_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests mvfst + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests mvfst - name: Fetch wangle if: ${{ steps.paths.outputs.wangle_SOURCE }} - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests wangle - name: Restore ninja from cache id: restore_ninja if: ${{ steps.paths.outputs.ninja_SOURCE }} @@ -111,7 +113,7 @@ jobs: key: ${{ steps.paths.outputs.ninja_CACHE_KEY }}-install - name: Build ninja if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ninja - name: Save ninja to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }} @@ -127,7 +129,7 @@ jobs: key: ${{ steps.paths.outputs.cmake_CACHE_KEY }}-install - name: Build cmake if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests cmake - name: Save cmake to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }} @@ -143,7 +145,7 @@ jobs: key: ${{ steps.paths.outputs.zlib_CACHE_KEY }}-install - name: Build zlib if: ${{ steps.paths.outputs.zlib_SOURCE && ! steps.restore_zlib.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests zlib + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zlib - name: Save zlib to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.zlib_SOURCE && ! steps.restore_zlib.outputs.cache-hit }} @@ -159,7 +161,7 @@ jobs: key: ${{ steps.paths.outputs.zstd_CACHE_KEY }}-install - name: Build zstd if: ${{ steps.paths.outputs.zstd_SOURCE && ! steps.restore_zstd.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zstd - name: Save zstd to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.zstd_SOURCE && ! steps.restore_zstd.outputs.cache-hit }} @@ -175,7 +177,7 @@ jobs: key: ${{ steps.paths.outputs.boost_CACHE_KEY }}-install - name: Build boost if: ${{ steps.paths.outputs.boost_SOURCE && ! steps.restore_boost.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests boost + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests boost - name: Save boost to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.boost_SOURCE && ! steps.restore_boost.outputs.cache-hit }} @@ -191,7 +193,7 @@ jobs: key: ${{ steps.paths.outputs.double-conversion_CACHE_KEY }}-install - name: Build double-conversion if: ${{ steps.paths.outputs.double-conversion_SOURCE && ! steps.restore_double-conversion.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests double-conversion - name: Save double-conversion to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.double-conversion_SOURCE && ! steps.restore_double-conversion.outputs.cache-hit }} @@ -207,7 +209,7 @@ jobs: key: ${{ steps.paths.outputs.fast_float_CACHE_KEY }}-install - name: Build fast_float if: ${{ steps.paths.outputs.fast_float_SOURCE && ! steps.restore_fast_float.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests fast_float + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fast_float - name: Save fast_float to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.fast_float_SOURCE && ! steps.restore_fast_float.outputs.cache-hit }} @@ -223,7 +225,7 @@ jobs: key: ${{ steps.paths.outputs.fmt_CACHE_KEY }}-install - name: Build fmt if: ${{ steps.paths.outputs.fmt_SOURCE && ! steps.restore_fmt.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fmt - name: Save fmt to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.fmt_SOURCE && ! steps.restore_fmt.outputs.cache-hit }} @@ -239,7 +241,7 @@ jobs: key: ${{ steps.paths.outputs.gflags_CACHE_KEY }}-install - name: Build gflags if: ${{ steps.paths.outputs.gflags_SOURCE && ! steps.restore_gflags.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gflags - name: Save gflags to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.gflags_SOURCE && ! steps.restore_gflags.outputs.cache-hit }} @@ -255,7 +257,7 @@ jobs: key: ${{ steps.paths.outputs.glog_CACHE_KEY }}-install - name: Build glog if: ${{ steps.paths.outputs.glog_SOURCE && ! steps.restore_glog.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests glog + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests glog - name: Save glog to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.glog_SOURCE && ! steps.restore_glog.outputs.cache-hit }} @@ -271,7 +273,7 @@ jobs: key: ${{ steps.paths.outputs.googletest_CACHE_KEY }}-install - name: Build googletest if: ${{ steps.paths.outputs.googletest_SOURCE && ! steps.restore_googletest.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests googletest - name: Save googletest to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.googletest_SOURCE && ! steps.restore_googletest.outputs.cache-hit }} @@ -287,7 +289,7 @@ jobs: key: ${{ steps.paths.outputs.libdwarf_CACHE_KEY }}-install - name: Build libdwarf if: ${{ steps.paths.outputs.libdwarf_SOURCE && ! steps.restore_libdwarf.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libdwarf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libdwarf - name: Save libdwarf to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libdwarf_SOURCE && ! steps.restore_libdwarf.outputs.cache-hit }} @@ -303,7 +305,7 @@ jobs: key: ${{ steps.paths.outputs.lz4_CACHE_KEY }}-install - name: Build lz4 if: ${{ steps.paths.outputs.lz4_SOURCE && ! steps.restore_lz4.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4 + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests lz4 - name: Save lz4 to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.lz4_SOURCE && ! steps.restore_lz4.outputs.cache-hit }} @@ -319,7 +321,7 @@ jobs: key: ${{ steps.paths.outputs.openssl_CACHE_KEY }}-install - name: Build openssl if: ${{ steps.paths.outputs.openssl_SOURCE && ! steps.restore_openssl.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests openssl - name: Save openssl to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.openssl_SOURCE && ! steps.restore_openssl.outputs.cache-hit }} @@ -335,7 +337,7 @@ jobs: key: ${{ steps.paths.outputs.snappy_CACHE_KEY }}-install - name: Build snappy if: ${{ steps.paths.outputs.snappy_SOURCE && ! steps.restore_snappy.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests snappy - name: Save snappy to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.snappy_SOURCE && ! steps.restore_snappy.outputs.cache-hit }} @@ -351,7 +353,7 @@ jobs: key: ${{ steps.paths.outputs.libevent_CACHE_KEY }}-install - name: Build libevent if: ${{ steps.paths.outputs.libevent_SOURCE && ! steps.restore_libevent.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libevent - name: Save libevent to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libevent_SOURCE && ! steps.restore_libevent.outputs.cache-hit }} @@ -367,7 +369,7 @@ jobs: key: ${{ steps.paths.outputs.liboqs_CACHE_KEY }}-install - name: Build liboqs if: ${{ steps.paths.outputs.liboqs_SOURCE && ! steps.restore_liboqs.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests liboqs + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests liboqs - name: Save liboqs to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.liboqs_SOURCE && ! steps.restore_liboqs.outputs.cache-hit }} @@ -383,7 +385,7 @@ jobs: key: ${{ steps.paths.outputs.autoconf_CACHE_KEY }}-install - name: Build autoconf if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests autoconf - name: Save autoconf to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }} @@ -399,7 +401,7 @@ jobs: key: ${{ steps.paths.outputs.automake_CACHE_KEY }}-install - name: Build automake if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests automake + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests automake - name: Save automake to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }} @@ -415,7 +417,7 @@ jobs: key: ${{ steps.paths.outputs.libtool_CACHE_KEY }}-install - name: Build libtool if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libtool - name: Save libtool to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }} @@ -431,7 +433,7 @@ jobs: key: ${{ steps.paths.outputs.gperf_CACHE_KEY }}-install - name: Build gperf if: ${{ steps.paths.outputs.gperf_SOURCE && ! steps.restore_gperf.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests gperf + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gperf - name: Save gperf to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.gperf_SOURCE && ! steps.restore_gperf.outputs.cache-hit }} @@ -447,7 +449,7 @@ jobs: key: ${{ steps.paths.outputs.libsodium_CACHE_KEY }}-install - name: Build libsodium if: ${{ steps.paths.outputs.libsodium_SOURCE && ! steps.restore_libsodium.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libsodium - name: Save libsodium to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.libsodium_SOURCE && ! steps.restore_libsodium.outputs.cache-hit }} @@ -463,7 +465,7 @@ jobs: key: ${{ steps.paths.outputs.xz_CACHE_KEY }}-install - name: Build xz if: ${{ steps.paths.outputs.xz_SOURCE && ! steps.restore_xz.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests xz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests xz - name: Save xz to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.xz_SOURCE && ! steps.restore_xz.outputs.cache-hit }} @@ -479,7 +481,7 @@ jobs: key: ${{ steps.paths.outputs.folly_CACHE_KEY }}-install - name: Build folly if: ${{ steps.paths.outputs.folly_SOURCE && ! steps.restore_folly.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests folly + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests folly - name: Save folly to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.folly_SOURCE && ! steps.restore_folly.outputs.cache-hit }} @@ -495,7 +497,7 @@ jobs: key: ${{ steps.paths.outputs.fizz_CACHE_KEY }}-install - name: Build fizz if: ${{ steps.paths.outputs.fizz_SOURCE && ! steps.restore_fizz.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fizz - name: Save fizz to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.fizz_SOURCE && ! steps.restore_fizz.outputs.cache-hit }} @@ -511,7 +513,7 @@ jobs: key: ${{ steps.paths.outputs.mvfst_CACHE_KEY }}-install - name: Build mvfst if: ${{ steps.paths.outputs.mvfst_SOURCE && ! steps.restore_mvfst.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests mvfst + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests mvfst - name: Save mvfst to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.mvfst_SOURCE && ! steps.restore_mvfst.outputs.cache-hit }} @@ -527,7 +529,7 @@ jobs: key: ${{ steps.paths.outputs.wangle_CACHE_KEY }}-install - name: Build wangle if: ${{ steps.paths.outputs.wangle_SOURCE && ! steps.restore_wangle.outputs.cache-hit }} - run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests wangle - name: Save wangle to cache uses: actions/cache/save@v4 if: ${{ steps.paths.outputs.wangle_SOURCE && ! steps.restore_wangle.outputs.cache-hit }} @@ -535,12 +537,12 @@ jobs: path: ${{ steps.paths.outputs.wangle_INSTALL }} key: ${{ steps.paths.outputs.wangle_CACHE_KEY }}-install - name: Build proxygen - run: python3 build/fbcode_builder/getdeps.py build --src-dir=. proxygen --project-install-prefix proxygen:/usr/local + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. proxygen --project-install-prefix proxygen:/usr/local - name: Copy artifacts - run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. proxygen _artifacts/mac --project-install-prefix proxygen:/usr/local --final-install-prefix /usr/local + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --src-dir=. proxygen _artifacts/mac --project-install-prefix proxygen:/usr/local --final-install-prefix /usr/local - uses: actions/upload-artifact@v4 with: name: proxygen path: _artifacts - name: Test proxygen - run: python3 build/fbcode_builder/getdeps.py test --src-dir=. proxygen --project-install-prefix proxygen:/usr/local + run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. proxygen --project-install-prefix proxygen:/usr/local