message: Updated the TF build options to remove unnecessary components
diff: @@ -203,6 +203,12 @@ def build_tensorflow(venv_dir, src_dir, artifacts_dir, target_arch, verbosity):
  "bazel",
  "build",
  "--config=opt",
  + "--config=noaws",
  + "--config=nogcp",
  + "--config=nohdfs",
  + "--config=noignite",
  + "--config=nokafka",
  + "--config=nonccl",
  "//tensorflow/tools/pip_package:build_pip_package",
  ]
  if verbosity:
  @@ -221,7 +227,15 @@ def build_tensorflow(venv_dir, src_dir, artifacts_dir, target_arch, verbosity):
  # Now build the TensorFlow C++ library
  cmd = [
  - "bazel", "build", "--config=opt", "//tensorflow:libtensorflow_cc.so.1"
  + "bazel", "build",
  + "--config=opt",
  + "--config=noaws",
  + "--config=nogcp",
  + "--config=nohdfs",
  + "--config=noignite",
  + "--config=nokafka",
  + "--config=nonccl",
  + "//tensorflow:libtensorflow_cc.so.1"
  ]
  command_executor(cmd)
  @@ -250,7 +264,6 @@ def build_tensorflow(venv_dir, src_dir, artifacts_dir, target_arch, verbosity):
  # popd
  os.chdir(pwd)
  -
  def install_tensorflow(venv_dir, artifacts_dir):
  # Load the virtual env
  