Merge pull request #26891 from tensorflow/no-ares

--define=grpc_no_ares=true to make MacOS builds work
This commit is contained in:
Gunhan Gulsoy 2019-03-19 10:29:12 -07:00 committed by GitHub
commit 0c0b4b4779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,9 @@ done
BAZEL_FLAGS=$(str_strip "${BAZEL_FLAGS}")
# Disable "ares.h not found" error for MacOS (and everywhere at the moment)
BAZEL_FLAGS="${BAZEL_FLAGS} --define=grpc_no_ares=true"
if [[ -z "$GIT_TAG_OVERRIDE" ]]; then
BAZEL_FLAGS+=" --action_env=GIT_TAG_OVERRIDE"
fi