-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Allow options to wget curl cmake during setup #12201
build: Allow options to wget curl cmake during setup #12201
Conversation
✅ Deploy Preview for meta-velox canceled.
|
scripts/setup-adapters.sh
Outdated
@@ -29,6 +29,12 @@ if [[ "$OSTYPE" == darwin* ]]; then | |||
export INSTALL_PREFIX=${INSTALL_PREFIX:-"$(pwd)/deps-install"} | |||
fi | |||
|
|||
if [[ "${VERBOSE_LOGGING}" == "true" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's define WGET_OPTIONS and let the user specify the options. We can remove VERBOSE_LOGGING var.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically like this
WGET_OPTIONS=${WGET_OPTIONS:-""}
scripts/setup-helper-functions.sh
Outdated
@@ -20,6 +20,14 @@ DEPENDENCY_DIR=${DEPENDENCY_DIR:-$(pwd)/deps-download} | |||
OS_CXXFLAGS="" | |||
NPROC=${BUILD_THREADS:-$(getconf _NPROCESSORS_ONLN)} | |||
|
|||
if [[ "${VERBOSE_LOGGING}" == "true" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Let's define CURL_OPTIONS
and CMAKE_OPTIONS
and leave the value to the user to set.
0d76f64
to
7d4b28d
Compare
7d4b28d
to
3ef084c
Compare
3ef084c
to
b184a92
Compare
@kgpai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Description
The current setup scripts generate excessive output, the goal is to reduce the log output by implementing the following changes: