From 5ebd574d0822ce6c7d0a49209702581016a276e0 Mon Sep 17 00:00:00 2001 From: Joe Abraham Date: Thu, 19 Sep 2024 21:06:06 +0530 Subject: [PATCH] [Temp] Needs to be removed --- .github/workflows/linux-build.yml | 8 ++++++++ .github/workflows/macos.yml | 1 + scripts/setup-adapters.sh | 2 +- scripts/setup-macos.sh | 6 ++++++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 4c3fb9ade1ff..1018ff7ddcf2 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -78,6 +78,14 @@ jobs: source scripts/setup-centos9.sh install_cuda ${CUDA_VERSION} fi + - name: Install Minio + run: | + MINIO_BINARY="minio-2022-05-26" + if [ ! -f /usr/local/bin/${MINIO_BINARY} ]; then + wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2022-05-26T05-48-41Z -O ${MINIO_BINARY} + chmod +x ./${MINIO_BINARY} + mv ./${MINIO_BINARY} /usr/local/bin/ + fi - uses: assignUser/stash/restore@v1 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 63672ec7aa87..f30050c0cb80 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -68,6 +68,7 @@ jobs: install_build_prerequisites install_velox_deps_from_brew install_double_conversion + install_proxygen echo "NJOBS=`sysctl -n hw.ncpu`" >> $GITHUB_ENV brew unlink protobuf || echo "protobuf not installed" diff --git a/scripts/setup-adapters.sh b/scripts/setup-adapters.sh index b2b0e5a1170d..7f151298f503 100755 --- a/scripts/setup-adapters.sh +++ b/scripts/setup-adapters.sh @@ -44,7 +44,7 @@ function install_aws_deps { MINIO_ARCH="amd64" fi local MINIO_BINARY="minio-2022-05-26" - if [[! -f /usr/local/bin/${MINIO_BINARY} ]]; then + if [! -f /usr/local/bin/${MINIO_BINARY} ]; then local MINIO_OS="linux" if [[ "$OSTYPE" == darwin* ]]; then # minio will have to approved under the Privacy & Security on MacOS on first use. diff --git a/scripts/setup-macos.sh b/scripts/setup-macos.sh index 8d8863586df7..a60198605807 100755 --- a/scripts/setup-macos.sh +++ b/scripts/setup-macos.sh @@ -141,6 +141,11 @@ function install_re2 { cmake_install_dir re2 -DRE2_BUILD_TESTING=OFF } +function install_proxygen { + wget_and_untar https://github.com/facebook/proxygen/archive/refs/tags/${FB_OS_VERSION}.tar.gz proxygen + cmake_install_dir proxygen -DBUILD_TESTS=OFF +} + function install_velox_deps { run_and_time install_velox_deps_from_brew run_and_time install_ranges_v3 @@ -152,6 +157,7 @@ function install_velox_deps { run_and_time install_wangle run_and_time install_mvfst run_and_time install_fbthrift + run_and_time install_proxygen } (return 2> /dev/null) && return # If script was sourced, don't run commands.