Closed czentgr closed 2 months ago
@majetideepak FYI
@czentgr Thanks! Were you able to verify that the correct value is being inherited locally?
Yes, I was able to verify. Initially, I wasn't so sure myself if sourcing would preserve the variable from the respective velox setup script. So I did the test prior to opening the PR.
output:
+++ dirname ../presto/presto-native-execution/scripts/../velox/scripts/setup-macos.sh
++ SCRIPTDIR=../presto/presto-native-execution/scripts/../velox/scripts
++ source ../presto/presto-native-execution/scripts/../velox/scripts/setup-helper-functions.sh
+++ getconf _NPROCESSORS_ONLN
++ NPROC=10
+++ pwd
++ DEPENDENCY_DIR=/Users/czentgr/gitspace/deps
++ MACOS_VELOX_DEPS='flex bison protobuf@21 icu4c boost gflags glog libevent lz4 lzo snappy xz zstd openssl libsodium'
++ MACOS_BUILD_DEPS='ninja cmake ccache'
++ FB_OS_VERSION=v2024.05.20.00
++ return
++ return
+ [[ 1 -ne 0 ]]
+ for cmd in '"$@"'
+ run_and_time install_proxygen
+ install_proxygen
+ github_checkout facebook/proxygen v2024.05.20.00
+ local REPO=facebook/proxygen
@majetideepak I've rebased to bring it up to date. Is it possible we can merge this or are we waiting for another review?
@czentgr This is good to merge. I approved it but missed merging it in the past. Thanks for the rebase. I will land after CI finishes.
When the setup scripts from velox are sourced the FB_OS_VERSION is inherited. Proxygen should use the version of the FBOS dependencies.
This also removes the need for additional changes when the Velox submodule is updated.
Description
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.