From 994febe9355e5cce14574cf76d0db08bd2adb854 Mon Sep 17 00:00:00 2001 From: David Dunleavy Date: Thu, 6 Mar 2025 18:17:52 -0800 Subject: [PATCH] Add `.bazel` suffix to some `third_party` files PiperOrigin-RevId: 734359305 --- tensorflow/opensource_only.files | 40 ------------------- tensorflow/workspace2.bzl | 6 +-- third_party/{BUILD => BUILD.bazel} | 0 third_party/android/{BUILD => BUILD.bazel} | 0 third_party/boringssl/{BUILD => BUILD.bazel} | 0 .../clang_toolchain/{BUILD => BUILD.bazel} | 0 .../compute_library/{BUILD => BUILD.bazel} | 0 third_party/ducc/{BUILD => BUILD.bazel} | 0 third_party/eigen3/{BUILD => BUILD.bazel} | 0 third_party/fft2d/{BUILD => BUILD.bazel} | 0 third_party/git/{BUILD => BUILD.bazel} | 0 third_party/googleapis/{BUILD => BUILD.bazel} | 0 third_party/gpus/{BUILD => BUILD.bazel} | 0 .../gpus/crosstool/{BUILD => BUILD.bazel} | 0 third_party/gpus/cuda/{BUILD => BUILD.bazel} | 0 .../gpus/cuda/hermetic/{BUILD => BUILD.bazel} | 0 third_party/gpus/rocm/{BUILD => BUILD.bazel} | 0 third_party/gpus/sycl/{BUILD => BUILD.bazel} | 0 third_party/grpc/{BUILD => BUILD.bazel} | 0 third_party/implib_so/{BUILD => BUILD.bazel} | 0 .../llvm_openmp/{BUILD => BUILD.bazel} | 0 third_party/mkl/{BUILD => BUILD.bazel} | 0 third_party/nccl/{BUILD => BUILD.bazel} | 0 .../nccl/hermetic/{BUILD => BUILD.bazel} | 0 third_party/nvshmem/{BUILD => BUILD.bazel} | 0 third_party/nvtx/{BUILD => BUILD.bazel} | 0 third_party/ortools/{BUILD => BUILD.bazel} | 0 third_party/protobuf/{BUILD => BUILD.bazel} | 0 third_party/py/{BUILD => BUILD.bazel} | 0 .../py/ml_dtypes/{BUILD => BUILD.bazel} | 0 .../ml_dtypes/{BUILD => BUILD.bazel} | 0 .../non_hermetic/numpy/{BUILD => BUILD.bazel} | 0 third_party/py/numpy/{BUILD => BUILD.bazel} | 0 third_party/pybind11_abseil/workspace.bzl | 2 +- .../pybind11_bazel/{BUILD => BUILD.bazel} | 0 .../pybind11_protobuf/{BUILD => BUILD.bazel} | 0 .../python_runtime/{BUILD => BUILD.bazel} | 0 .../remote_config/{BUILD => BUILD.bazel} | 0 third_party/ruy/workspace.bzl | 2 +- third_party/stablehlo/{BUILD => BUILD.bazel} | 0 third_party/systemlibs/{BUILD => BUILD.bazel} | 0 third_party/tensorrt/{BUILD => BUILD.bazel} | 0 .../tensorrt/plugin/{BUILD => BUILD.bazel} | 0 third_party/tensorrt/workspace.bzl | 2 +- third_party/tf_runtime/{BUILD => BUILD.bazel} | 0 third_party/xla/opensource_only.files | 32 --------------- .../xla/third_party/{BUILD => BUILD.bazel} | 0 .../clang_toolchain/{BUILD => BUILD.bazel} | 0 .../compute_library/{BUILD => BUILD.bazel} | 0 .../third_party/ducc/{BUILD => BUILD.bazel} | 0 .../third_party/eigen3/{BUILD => BUILD.bazel} | 0 .../third_party/git/{BUILD => BUILD.bazel} | 0 .../third_party/gpus/{BUILD => BUILD.bazel} | 0 .../gpus/crosstool/{BUILD => BUILD.bazel} | 0 .../gpus/cuda/{BUILD => BUILD.bazel} | 0 .../gpus/cuda/hermetic/{BUILD => BUILD.bazel} | 0 .../gpus/rocm/{BUILD => BUILD.bazel} | 0 .../gpus/sycl/{BUILD => BUILD.bazel} | 0 .../third_party/grpc/{BUILD => BUILD.bazel} | 0 .../implib_so/{BUILD => BUILD.bazel} | 0 .../llvm_openmp/{BUILD => BUILD.bazel} | 0 .../third_party/mkl/{BUILD => BUILD.bazel} | 0 .../third_party/nccl/{BUILD => BUILD.bazel} | 0 .../nccl/hermetic/{BUILD => BUILD.bazel} | 0 .../nvshmem/{BUILD => BUILD.bazel} | 0 .../third_party/nvtx/{BUILD => BUILD.bazel} | 0 .../ortools/{BUILD => BUILD.bazel} | 0 .../protobuf/{BUILD => BUILD.bazel} | 0 .../xla/third_party/py/{BUILD => BUILD.bazel} | 0 .../py/ml_dtypes/{BUILD => BUILD.bazel} | 0 .../py/numpy/{BUILD => BUILD.bazel} | 0 .../third_party/pybind11_abseil/workspace.bzl | 2 +- .../pybind11_bazel/{BUILD => BUILD.bazel} | 0 .../python_runtime/{BUILD => BUILD.bazel} | 0 .../remote_config/{BUILD => BUILD.bazel} | 0 .../stablehlo/{BUILD => BUILD.bazel} | 0 .../systemlibs/{BUILD => BUILD.bazel} | 0 .../tensorrt/{BUILD => BUILD.bazel} | 0 .../tensorrt/plugin/{BUILD => BUILD.bazel} | 4 +- .../xla/third_party/tensorrt/workspace.bzl | 2 +- third_party/xla/tsl_workspace2.bzl | 6 +-- 81 files changed, 13 insertions(+), 85 deletions(-) rename third_party/{BUILD => BUILD.bazel} (100%) rename third_party/android/{BUILD => BUILD.bazel} (100%) rename third_party/boringssl/{BUILD => BUILD.bazel} (100%) rename third_party/clang_toolchain/{BUILD => BUILD.bazel} (100%) rename third_party/compute_library/{BUILD => BUILD.bazel} (100%) rename third_party/ducc/{BUILD => BUILD.bazel} (100%) rename third_party/eigen3/{BUILD => BUILD.bazel} (100%) rename third_party/fft2d/{BUILD => BUILD.bazel} (100%) rename third_party/git/{BUILD => BUILD.bazel} (100%) rename third_party/googleapis/{BUILD => BUILD.bazel} (100%) rename third_party/gpus/{BUILD => BUILD.bazel} (100%) rename third_party/gpus/crosstool/{BUILD => BUILD.bazel} (100%) rename third_party/gpus/cuda/{BUILD => BUILD.bazel} (100%) rename third_party/gpus/cuda/hermetic/{BUILD => BUILD.bazel} (100%) rename third_party/gpus/rocm/{BUILD => BUILD.bazel} (100%) rename third_party/gpus/sycl/{BUILD => BUILD.bazel} (100%) rename third_party/grpc/{BUILD => BUILD.bazel} (100%) rename third_party/implib_so/{BUILD => BUILD.bazel} (100%) rename third_party/llvm_openmp/{BUILD => BUILD.bazel} (100%) rename third_party/mkl/{BUILD => BUILD.bazel} (100%) rename third_party/nccl/{BUILD => BUILD.bazel} (100%) rename third_party/nccl/hermetic/{BUILD => BUILD.bazel} (100%) rename third_party/nvshmem/{BUILD => BUILD.bazel} (100%) rename third_party/nvtx/{BUILD => BUILD.bazel} (100%) rename third_party/ortools/{BUILD => BUILD.bazel} (100%) rename third_party/protobuf/{BUILD => BUILD.bazel} (100%) rename third_party/py/{BUILD => BUILD.bazel} (100%) rename third_party/py/ml_dtypes/{BUILD => BUILD.bazel} (100%) rename third_party/py/non_hermetic/ml_dtypes/{BUILD => BUILD.bazel} (100%) rename third_party/py/non_hermetic/numpy/{BUILD => BUILD.bazel} (100%) rename third_party/py/numpy/{BUILD => BUILD.bazel} (100%) rename third_party/pybind11_bazel/{BUILD => BUILD.bazel} (100%) rename third_party/pybind11_protobuf/{BUILD => BUILD.bazel} (100%) rename third_party/python_runtime/{BUILD => BUILD.bazel} (100%) rename third_party/remote_config/{BUILD => BUILD.bazel} (100%) rename third_party/stablehlo/{BUILD => BUILD.bazel} (100%) rename third_party/systemlibs/{BUILD => BUILD.bazel} (100%) rename third_party/tensorrt/{BUILD => BUILD.bazel} (100%) rename third_party/tensorrt/plugin/{BUILD => BUILD.bazel} (100%) rename third_party/tf_runtime/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/clang_toolchain/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/compute_library/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/ducc/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/eigen3/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/git/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/gpus/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/gpus/crosstool/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/gpus/cuda/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/gpus/cuda/hermetic/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/gpus/rocm/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/gpus/sycl/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/grpc/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/implib_so/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/llvm_openmp/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/mkl/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/nccl/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/nccl/hermetic/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/nvshmem/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/nvtx/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/ortools/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/protobuf/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/py/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/py/ml_dtypes/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/py/numpy/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/pybind11_bazel/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/python_runtime/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/remote_config/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/stablehlo/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/systemlibs/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/tensorrt/{BUILD => BUILD.bazel} (100%) rename third_party/xla/third_party/tensorrt/plugin/{BUILD => BUILD.bazel} (94%) diff --git a/tensorflow/opensource_only.files b/tensorflow/opensource_only.files index 8bcf1586231..3c41ec438c6 100644 --- a/tensorflow/opensource_only.files +++ b/tensorflow/opensource_only.files @@ -199,35 +199,27 @@ tf_staging/tensorflow/tools/toolchains/win_1803/py38/BUILD: tf_staging/tensorflow/tools/toolchains/win_1803/py39/BUILD: tf_staging/tensorflow/virtual_root_template_v1.__init__:.py tf_staging/tensorflow/virtual_root_template_v2.__init__:.py -tf_staging/third_party/BUILD: tf_staging/third_party/__init__:.py tf_staging/third_party/absl/com_google_absl.BUILD: -tf_staging/third_party/android/BUILD: tf_staging/third_party/android/android.bzl.tpl: tf_staging/third_party/android/android_configure.BUILD.tpl: tf_staging/third_party/android/android_configure.bzl: tf_staging/third_party/arm_neon_2_x86_sse.BUILD: -tf_staging/third_party/boringssl/BUILD: -tf_staging/third_party/clang_toolchain/BUILD: tf_staging/third_party/clang_toolchain/cc_configure_clang.bzl: tf_staging/third_party/clang_toolchain/download_clang.bzl: tf_staging/third_party/codegen.BUILD: -tf_staging/third_party/compute_library/BUILD: tf_staging/third_party/compute_library/build_defs.bzl: tf_staging/third_party/coremltools.BUILD: tf_staging/third_party/cub.BUILD: tf_staging/third_party/curl.BUILD: tf_staging/third_party/cython.BUILD: -tf_staging/third_party/ducc/BUILD: tf_staging/third_party/ducc/ducc0_custom_lowlevel_threading.h: tf_staging/third_party/ducc/fft.cc: tf_staging/third_party/ducc/fft.h: tf_staging/third_party/ducc/threading.cc: tf_staging/third_party/ducc/threading.h: -tf_staging/third_party/eigen3/BUILD: tf_staging/third_party/eigen3/LICENSE: tf_staging/third_party/eigen3/eigen_archive.BUILD: -tf_staging/third_party/fft2d/BUILD: tf_staging/third_party/fft2d/LICENSE: tf_staging/third_party/fft2d/fft.h: tf_staging/third_party/fft2d/fft2d.BUILD: @@ -235,18 +227,14 @@ tf_staging/third_party/fft2d/fft2d.h: tf_staging/third_party/gif.BUILD: tf_staging/third_party/gif_fix_strtok_r.patch: tf_staging/third_party/git/BUILD.tpl: -tf_staging/third_party/git/BUILD: tf_staging/third_party/git/git_configure.bzl: -tf_staging/third_party/googleapis/BUILD: tf_staging/third_party/googleapis/build_rules.bzl: tf_staging/third_party/googleapis/googleapis.BUILD: tf_staging/third_party/googleapis/repository_rules.bzl: -tf_staging/third_party/gpus/BUILD: tf_staging/third_party/gpus/compiler_common_tools.bzl: tf_staging/third_party/gpus/crosstool/BUILD.rocm.tpl: tf_staging/third_party/gpus/crosstool/BUILD.sycl.tpl: tf_staging/third_party/gpus/crosstool/BUILD.tpl: -tf_staging/third_party/gpus/crosstool/BUILD: tf_staging/third_party/gpus/crosstool/LICENSE: tf_staging/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl: tf_staging/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_rocm.tpl: @@ -255,13 +243,11 @@ tf_staging/third_party/gpus/crosstool/sycl_cc_toolchain_config.bzl.tpl: tf_staging/third_party/gpus/crosstool/windows/msvc_wrapper_for_nvcc.py.tpl: tf_staging/third_party/gpus/cuda/BUILD.tpl: tf_staging/third_party/gpus/cuda/BUILD.windows.tpl: -tf_staging/third_party/gpus/cuda/BUILD: tf_staging/third_party/gpus/cuda/LICENSE: tf_staging/third_party/gpus/cuda/build_defs.bzl.tpl: tf_staging/third_party/gpus/cuda/cuda_config.h.tpl: tf_staging/third_party/gpus/cuda/cuda_config.py.tpl: tf_staging/third_party/gpus/cuda/hermetic/BUILD.tpl: -tf_staging/third_party/gpus/cuda/hermetic/BUILD: tf_staging/third_party/gpus/cuda/hermetic/cuda_cccl.BUILD.tpl: tf_staging/third_party/gpus/cuda/hermetic/cuda_configure.bzl: tf_staging/third_party/gpus/cuda/hermetic/cuda_cublas.BUILD.tpl: @@ -284,60 +270,43 @@ tf_staging/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl: tf_staging/third_party/gpus/cuda_configure.bzl: tf_staging/third_party/gpus/find_cuda_config:.py tf_staging/third_party/gpus/rocm/BUILD.tpl: -tf_staging/third_party/gpus/rocm/BUILD: tf_staging/third_party/gpus/rocm/build_defs.bzl.tpl: tf_staging/third_party/gpus/rocm/rocm_config.h.tpl: tf_staging/third_party/gpus/rocm_configure.bzl: tf_staging/third_party/gpus/sycl/BUILD.tpl: -tf_staging/third_party/gpus/sycl/BUILD: tf_staging/third_party/gpus/sycl/build_defs.bzl.tpl: tf_staging/third_party/gpus/sycl_configure.bzl: -tf_staging/third_party/grpc/BUILD: tf_staging/third_party/icu/udata.patch: -tf_staging/third_party/implib_so/BUILD: tf_staging/third_party/implib_so/get_symbols.py: tf_staging/third_party/implib_so/make_stub.py: tf_staging/third_party/linenoise.BUILD: -tf_staging/third_party/llvm_openmp/BUILD: tf_staging/third_party/llvm_openmp/cmake_vars.bzl: tf_staging/third_party/llvm_openmp/expand_cmake_vars:.py tf_staging/third_party/llvm_openmp/openmp.bzl: -tf_staging/third_party/mkl/BUILD: tf_staging/third_party/mkl_dnn/LICENSE: tf_staging/third_party/mkl_dnn/mkldnn_acl.BUILD: tf_staging/third_party/mkl_dnn/mkldnn_v1.BUILD: tf_staging/third_party/mpi/.gitignore: -tf_staging/third_party/nccl/BUILD: tf_staging/third_party/nccl/LICENSE: tf_staging/third_party/nccl/archive.BUILD: tf_staging/third_party/nccl/archive.patch: tf_staging/third_party/nccl/build_defs.bzl.tpl: tf_staging/third_party/nccl/generated_names.bzl.tpl: -tf_staging/third_party/nccl/hermetic/BUILD: tf_staging/third_party/nccl/hermetic/cuda_nccl.BUILD.tpl: tf_staging/third_party/nccl/hermetic/nccl_configure.bzl: tf_staging/third_party/nccl/nccl_configure.bzl: tf_staging/third_party/nccl/system.BUILD.tpl: tf_staging/third_party/nlohmann_json.BUILD: -tf_staging/third_party/nvshmem/BUILD: tf_staging/third_party/nvshmem/nvshmem.BUILD: tf_staging/third_party/nvshmem/workspace.bzl: -tf_staging/third_party/nvtx/BUILD: tf_staging/third_party/nvtx/LICENSE: -tf_staging/third_party/ortools/BUILD: tf_staging/third_party/ortools/glpk.BUILD: tf_staging/third_party/ortools/ortools.patch: tf_staging/third_party/png.BUILD: tf_staging/third_party/png_fix_rpi.patch: tf_staging/third_party/pprof.BUILD: -tf_staging/third_party/protobuf/BUILD: tf_staging/third_party/py/BUILD.tpl: -tf_staging/third_party/py/BUILD: -tf_staging/third_party/py/ml_dtypes/BUILD: -tf_staging/third_party/py/non_hermetic/ml_dtypes/BUILD: tf_staging/third_party/py/non_hermetic/ml_dtypes/LICENSE: -tf_staging/third_party/py/non_hermetic/numpy/BUILD: -tf_staging/third_party/py/numpy/BUILD: tf_staging/third_party/py/python_configure.bzl: tf_staging/third_party/py/python_init_pip.bzl: tf_staging/third_party/py/python_init_repositories.bzl: @@ -345,11 +314,7 @@ tf_staging/third_party/py/python_init_rules.bzl: tf_staging/third_party/py/python_init_toolchains.bzl: tf_staging/third_party/py/python_repo.bzl: tf_staging/third_party/pybind11.BUILD: -tf_staging/third_party/pybind11_bazel/BUILD: -tf_staging/third_party/pybind11_protobuf/BUILD: -tf_staging/third_party/python_runtime/BUILD: tf_staging/third_party/remote_config/BUILD.tpl: -tf_staging/third_party/remote_config/BUILD: tf_staging/third_party/remote_config/common.bzl: tf_staging/third_party/remote_config/remote_platform_configure.bzl: tf_staging/third_party/repo.bzl: @@ -357,9 +322,7 @@ tf_staging/third_party/six.BUILD: tf_staging/third_party/snappy.BUILD: tf_staging/third_party/spirv_llvm_translator/spirv_llvm_translator.BUILD: tf_staging/third_party/sqlite.BUILD: -tf_staging/third_party/stablehlo/BUILD: tf_staging/third_party/systemlibs/BUILD.tpl: -tf_staging/third_party/systemlibs/BUILD: tf_staging/third_party/systemlibs/absl_py.BUILD: tf_staging/third_party/systemlibs/absl_py.absl.flags.BUILD: tf_staging/third_party/systemlibs/absl_py.absl.logging.BUILD: @@ -384,15 +347,12 @@ tf_staging/third_party/systemlibs/sqlite.BUILD: tf_staging/third_party/systemlibs/syslibs_configure.bzl: tf_staging/third_party/systemlibs/zlib.BUILD: tf_staging/third_party/tensorrt/BUILD.tpl: -tf_staging/third_party/tensorrt/BUILD: tf_staging/third_party/tensorrt/LICENSE: tf_staging/third_party/tensorrt/build_defs.bzl.tpl: -tf_staging/third_party/tensorrt/plugin/BUILD: tf_staging/third_party/tensorrt/tensorrt/include/tensorrt_config.h.tpl: tf_staging/third_party/tensorrt/tensorrt/tensorrt_config.py.tpl: tf_staging/third_party/tensorrt/tensorrt_configure.bzl: tf_staging/third_party/tensorrt/workspace.bzl: -tf_staging/third_party/tf_runtime/BUILD: tf_staging/third_party/tf_toolchains.BUILD: tf_staging/third_party/tflite_mobilenet.BUILD: tf_staging/third_party/tflite_mobilenet_float.BUILD: diff --git a/tensorflow/workspace2.bzl b/tensorflow/workspace2.bzl index 5ae5915754a..2c213aee9c6 100644 --- a/tensorflow/workspace2.bzl +++ b/tensorflow/workspace2.bzl @@ -453,7 +453,7 @@ def _tf_repositories(): "//third_party/grpc:register_go_toolchain.patch", ], system_link_files = { - "//third_party/systemlibs:BUILD": "bazel/BUILD", + "//third_party/systemlibs:BUILD.bazel": "bazel/BUILD", "//third_party/systemlibs:grpc.BUILD": "src/compiler/BUILD", "//third_party/systemlibs:grpc.bazel.grpc_deps.bzl": "bazel/grpc_deps.bzl", "//third_party/systemlibs:grpc.bazel.grpc_extra_deps.bzl": "bazel/grpc_extra_deps.bzl", @@ -477,7 +477,7 @@ def _tf_repositories(): # Intel openMP that is part of LLVM sources. tf_http_archive( name = "llvm_openmp", - build_file = "//third_party/llvm_openmp:BUILD", + build_file = "//third_party/llvm_openmp:BUILD.bazel", patch_file = ["//third_party/llvm_openmp:openmp_switch_default_patch.patch"], sha256 = "d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44", strip_prefix = "openmp-10.0.1.src", @@ -540,7 +540,7 @@ def _tf_repositories(): tf_http_archive( name = "nvtx_archive", - build_file = "//third_party:nvtx/BUILD", + build_file = "//third_party:nvtx/BUILD.bazel", sha256 = "e4438f921fb88a564b0b92791c1c1fdd0f388901213e6a31fdd0dc3803fb9764", strip_prefix = "NVTX-bf31d7859ab3130cbf1ef77c33d18d0ebb8c8d08/c/include", urls = tf_mirror_urls("https://github.com/NVIDIA/NVTX/archive/bf31d7859ab3130cbf1ef77c33d18d0ebb8c8d08.tar.gz"), diff --git a/third_party/BUILD b/third_party/BUILD.bazel similarity index 100% rename from third_party/BUILD rename to third_party/BUILD.bazel diff --git a/third_party/android/BUILD b/third_party/android/BUILD.bazel similarity index 100% rename from third_party/android/BUILD rename to third_party/android/BUILD.bazel diff --git a/third_party/boringssl/BUILD b/third_party/boringssl/BUILD.bazel similarity index 100% rename from third_party/boringssl/BUILD rename to third_party/boringssl/BUILD.bazel diff --git a/third_party/clang_toolchain/BUILD b/third_party/clang_toolchain/BUILD.bazel similarity index 100% rename from third_party/clang_toolchain/BUILD rename to third_party/clang_toolchain/BUILD.bazel diff --git a/third_party/compute_library/BUILD b/third_party/compute_library/BUILD.bazel similarity index 100% rename from third_party/compute_library/BUILD rename to third_party/compute_library/BUILD.bazel diff --git a/third_party/ducc/BUILD b/third_party/ducc/BUILD.bazel similarity index 100% rename from third_party/ducc/BUILD rename to third_party/ducc/BUILD.bazel diff --git a/third_party/eigen3/BUILD b/third_party/eigen3/BUILD.bazel similarity index 100% rename from third_party/eigen3/BUILD rename to third_party/eigen3/BUILD.bazel diff --git a/third_party/fft2d/BUILD b/third_party/fft2d/BUILD.bazel similarity index 100% rename from third_party/fft2d/BUILD rename to third_party/fft2d/BUILD.bazel diff --git a/third_party/git/BUILD b/third_party/git/BUILD.bazel similarity index 100% rename from third_party/git/BUILD rename to third_party/git/BUILD.bazel diff --git a/third_party/googleapis/BUILD b/third_party/googleapis/BUILD.bazel similarity index 100% rename from third_party/googleapis/BUILD rename to third_party/googleapis/BUILD.bazel diff --git a/third_party/gpus/BUILD b/third_party/gpus/BUILD.bazel similarity index 100% rename from third_party/gpus/BUILD rename to third_party/gpus/BUILD.bazel diff --git a/third_party/gpus/crosstool/BUILD b/third_party/gpus/crosstool/BUILD.bazel similarity index 100% rename from third_party/gpus/crosstool/BUILD rename to third_party/gpus/crosstool/BUILD.bazel diff --git a/third_party/gpus/cuda/BUILD b/third_party/gpus/cuda/BUILD.bazel similarity index 100% rename from third_party/gpus/cuda/BUILD rename to third_party/gpus/cuda/BUILD.bazel diff --git a/third_party/gpus/cuda/hermetic/BUILD b/third_party/gpus/cuda/hermetic/BUILD.bazel similarity index 100% rename from third_party/gpus/cuda/hermetic/BUILD rename to third_party/gpus/cuda/hermetic/BUILD.bazel diff --git a/third_party/gpus/rocm/BUILD b/third_party/gpus/rocm/BUILD.bazel similarity index 100% rename from third_party/gpus/rocm/BUILD rename to third_party/gpus/rocm/BUILD.bazel diff --git a/third_party/gpus/sycl/BUILD b/third_party/gpus/sycl/BUILD.bazel similarity index 100% rename from third_party/gpus/sycl/BUILD rename to third_party/gpus/sycl/BUILD.bazel diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD.bazel similarity index 100% rename from third_party/grpc/BUILD rename to third_party/grpc/BUILD.bazel diff --git a/third_party/implib_so/BUILD b/third_party/implib_so/BUILD.bazel similarity index 100% rename from third_party/implib_so/BUILD rename to third_party/implib_so/BUILD.bazel diff --git a/third_party/llvm_openmp/BUILD b/third_party/llvm_openmp/BUILD.bazel similarity index 100% rename from third_party/llvm_openmp/BUILD rename to third_party/llvm_openmp/BUILD.bazel diff --git a/third_party/mkl/BUILD b/third_party/mkl/BUILD.bazel similarity index 100% rename from third_party/mkl/BUILD rename to third_party/mkl/BUILD.bazel diff --git a/third_party/nccl/BUILD b/third_party/nccl/BUILD.bazel similarity index 100% rename from third_party/nccl/BUILD rename to third_party/nccl/BUILD.bazel diff --git a/third_party/nccl/hermetic/BUILD b/third_party/nccl/hermetic/BUILD.bazel similarity index 100% rename from third_party/nccl/hermetic/BUILD rename to third_party/nccl/hermetic/BUILD.bazel diff --git a/third_party/nvshmem/BUILD b/third_party/nvshmem/BUILD.bazel similarity index 100% rename from third_party/nvshmem/BUILD rename to third_party/nvshmem/BUILD.bazel diff --git a/third_party/nvtx/BUILD b/third_party/nvtx/BUILD.bazel similarity index 100% rename from third_party/nvtx/BUILD rename to third_party/nvtx/BUILD.bazel diff --git a/third_party/ortools/BUILD b/third_party/ortools/BUILD.bazel similarity index 100% rename from third_party/ortools/BUILD rename to third_party/ortools/BUILD.bazel diff --git a/third_party/protobuf/BUILD b/third_party/protobuf/BUILD.bazel similarity index 100% rename from third_party/protobuf/BUILD rename to third_party/protobuf/BUILD.bazel diff --git a/third_party/py/BUILD b/third_party/py/BUILD.bazel similarity index 100% rename from third_party/py/BUILD rename to third_party/py/BUILD.bazel diff --git a/third_party/py/ml_dtypes/BUILD b/third_party/py/ml_dtypes/BUILD.bazel similarity index 100% rename from third_party/py/ml_dtypes/BUILD rename to third_party/py/ml_dtypes/BUILD.bazel diff --git a/third_party/py/non_hermetic/ml_dtypes/BUILD b/third_party/py/non_hermetic/ml_dtypes/BUILD.bazel similarity index 100% rename from third_party/py/non_hermetic/ml_dtypes/BUILD rename to third_party/py/non_hermetic/ml_dtypes/BUILD.bazel diff --git a/third_party/py/non_hermetic/numpy/BUILD b/third_party/py/non_hermetic/numpy/BUILD.bazel similarity index 100% rename from third_party/py/non_hermetic/numpy/BUILD rename to third_party/py/non_hermetic/numpy/BUILD.bazel diff --git a/third_party/py/numpy/BUILD b/third_party/py/numpy/BUILD.bazel similarity index 100% rename from third_party/py/numpy/BUILD rename to third_party/py/numpy/BUILD.bazel diff --git a/third_party/pybind11_abseil/workspace.bzl b/third_party/pybind11_abseil/workspace.bzl index 19c11118b8f..c12f0ba77f8 100644 --- a/third_party/pybind11_abseil/workspace.bzl +++ b/third_party/pybind11_abseil/workspace.bzl @@ -15,6 +15,6 @@ def repo(): sha256 = PA_SHA256, strip_prefix = "pybind11_abseil-{commit}".format(commit = PA_COMMIT), urls = tf_mirror_urls("https://github.com/pybind/pybind11_abseil/archive/{commit}.tar.gz".format(commit = PA_COMMIT)), - build_file = "//third_party/pybind11_abseil:BUILD", + build_file = "//third_party/pybind11_abseil:BUILD.bazel", patch_file = ["//third_party/pybind11_abseil:remove_license.patch"], ) diff --git a/third_party/pybind11_bazel/BUILD b/third_party/pybind11_bazel/BUILD.bazel similarity index 100% rename from third_party/pybind11_bazel/BUILD rename to third_party/pybind11_bazel/BUILD.bazel diff --git a/third_party/pybind11_protobuf/BUILD b/third_party/pybind11_protobuf/BUILD.bazel similarity index 100% rename from third_party/pybind11_protobuf/BUILD rename to third_party/pybind11_protobuf/BUILD.bazel diff --git a/third_party/python_runtime/BUILD b/third_party/python_runtime/BUILD.bazel similarity index 100% rename from third_party/python_runtime/BUILD rename to third_party/python_runtime/BUILD.bazel diff --git a/third_party/remote_config/BUILD b/third_party/remote_config/BUILD.bazel similarity index 100% rename from third_party/remote_config/BUILD rename to third_party/remote_config/BUILD.bazel diff --git a/third_party/ruy/workspace.bzl b/third_party/ruy/workspace.bzl index 3cee172c52f..6f724b1e7e5 100644 --- a/third_party/ruy/workspace.bzl +++ b/third_party/ruy/workspace.bzl @@ -10,5 +10,5 @@ def repo(): strip_prefix = "ruy-3286a34cc8de6149ac6844107dfdffac91531e72", urls = tf_mirror_urls("https://github.com/google/ruy/archive/3286a34cc8de6149ac6844107dfdffac91531e72.zip"), # LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/ruy.cmake) - build_file = "//third_party/ruy:BUILD", + build_file = "//third_party/ruy:BUILD.bazel", ) diff --git a/third_party/stablehlo/BUILD b/third_party/stablehlo/BUILD.bazel similarity index 100% rename from third_party/stablehlo/BUILD rename to third_party/stablehlo/BUILD.bazel diff --git a/third_party/systemlibs/BUILD b/third_party/systemlibs/BUILD.bazel similarity index 100% rename from third_party/systemlibs/BUILD rename to third_party/systemlibs/BUILD.bazel diff --git a/third_party/tensorrt/BUILD b/third_party/tensorrt/BUILD.bazel similarity index 100% rename from third_party/tensorrt/BUILD rename to third_party/tensorrt/BUILD.bazel diff --git a/third_party/tensorrt/plugin/BUILD b/third_party/tensorrt/plugin/BUILD.bazel similarity index 100% rename from third_party/tensorrt/plugin/BUILD rename to third_party/tensorrt/plugin/BUILD.bazel diff --git a/third_party/tensorrt/workspace.bzl b/third_party/tensorrt/workspace.bzl index be383ee69ea..e237fa83fed 100644 --- a/third_party/tensorrt/workspace.bzl +++ b/third_party/tensorrt/workspace.bzl @@ -16,6 +16,6 @@ def repo(name = "tensorrt_oss_archive"): "https://storage.googleapis.com/mirror.tensorflow.org/github.com/NVIDIA/TensorRT/archive/{commit}.tar.gz".format(commit = TRT_OSS_COMMIT), "https://github.com/NVIDIA/TensorRT/archive/{commit}.tar.gz".format(commit = TRT_OSS_COMMIT), ], - build_file = "//third_party/tensorrt/plugin:BUILD", + build_file = "//third_party/tensorrt/plugin:BUILD.bazel", patch_file = ["//third_party/tensorrt/plugin:tensorrt_oss.patch"], ) diff --git a/third_party/tf_runtime/BUILD b/third_party/tf_runtime/BUILD.bazel similarity index 100% rename from third_party/tf_runtime/BUILD rename to third_party/tf_runtime/BUILD.bazel diff --git a/third_party/xla/opensource_only.files b/third_party/xla/opensource_only.files index 26816efb1df..efd466a581c 100644 --- a/third_party/xla/opensource_only.files +++ b/third_party/xla/opensource_only.files @@ -13,33 +13,25 @@ compiler/xla/tsl/mkl/MKL_LICENSE: compiler/xla/tsl/mkl/build_defs.bzl: compiler/xla/tsl/package_groups.bzl: compiler/xla/tsl/profiler/BUILD: -third_party/BUILD: third_party/absl/com_google_absl.BUILD: -third_party/clang_toolchain/BUILD: third_party/clang_toolchain/cc_configure_clang.bzl: third_party/clang_toolchain/download_clang.bzl: -third_party/compute_library/BUILD: third_party/compute_library/build_defs.bzl: third_party/curl.BUILD: third_party/cython.BUILD: -third_party/ducc/BUILD: third_party/ducc/ducc0_custom_lowlevel_threading.h: third_party/ducc/fft.cc: third_party/ducc/fft.h: third_party/ducc/threading.cc: third_party/ducc/threading.h: -third_party/eigen3/BUILD: third_party/eigen3/LICENSE: third_party/eigen3/eigen_archive.BUILD: third_party/git/BUILD.tpl: -third_party/git/BUILD: third_party/git/git_configure.bzl: -third_party/gpus/BUILD: third_party/gpus/compiler_common_tools.bzl: third_party/gpus/crosstool/BUILD.rocm.tpl: third_party/gpus/crosstool/BUILD.sycl.tpl: third_party/gpus/crosstool/BUILD.tpl: -third_party/gpus/crosstool/BUILD: third_party/gpus/crosstool/LICENSE: third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl: third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_rocm.tpl: @@ -48,13 +40,11 @@ third_party/gpus/crosstool/sycl_cc_toolchain_config.bzl.tpl: third_party/gpus/crosstool/windows/msvc_wrapper_for_nvcc.py.tpl: third_party/gpus/cuda/BUILD.tpl: third_party/gpus/cuda/BUILD.windows.tpl: -third_party/gpus/cuda/BUILD: third_party/gpus/cuda/LICENSE: third_party/gpus/cuda/build_defs.bzl.tpl: third_party/gpus/cuda/cuda_config.h.tpl: third_party/gpus/cuda/cuda_config.py.tpl: third_party/gpus/cuda/hermetic/BUILD.tpl: -third_party/gpus/cuda/hermetic/BUILD: third_party/gpus/cuda/hermetic/cuda_cccl.BUILD.tpl: third_party/gpus/cuda/hermetic/cuda_configure.bzl: third_party/gpus/cuda/hermetic/cuda_cublas.BUILD.tpl: @@ -77,51 +67,36 @@ third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl: third_party/gpus/cuda_configure.bzl: third_party/gpus/find_cuda_config:.py third_party/gpus/rocm/BUILD.tpl: -third_party/gpus/rocm/BUILD: third_party/gpus/rocm/build_defs.bzl.tpl: third_party/gpus/rocm/rocm_config.h.tpl: third_party/gpus/rocm_configure.bzl: third_party/gpus/sycl/BUILD.tpl: -third_party/gpus/sycl/BUILD: third_party/gpus/sycl/build_defs.bzl.tpl: third_party/gpus/sycl_configure.bzl: -third_party/grpc/BUILD: -third_party/implib_so/BUILD: third_party/implib_so/get_symbols.py: third_party/implib_so/make_stub.py: -third_party/llvm_openmp/BUILD: third_party/llvm_openmp/cmake_vars.bzl: third_party/llvm_openmp/expand_cmake_vars:.py third_party/llvm_openmp/openmp.bzl: -third_party/mkl/BUILD: third_party/mkl_dnn/LICENSE: third_party/mkl_dnn/mkldnn_acl.BUILD: third_party/mkl_dnn/mkldnn_v1.BUILD: -third_party/nccl/BUILD: third_party/nccl/LICENSE: third_party/nccl/archive.BUILD: third_party/nccl/archive.patch: third_party/nccl/build_defs.bzl.tpl: third_party/nccl/generated_names.bzl.tpl: -third_party/nccl/hermetic/BUILD: third_party/nccl/hermetic/cuda_nccl.BUILD.tpl: third_party/nccl/hermetic/nccl_configure.bzl: third_party/nccl/nccl_configure.bzl: third_party/nccl/system.BUILD.tpl: -third_party/nvshmem/BUILD: third_party/nvshmem/nvshmem.BUILD: third_party/nvshmem/workspace.bzl: -third_party/nvtx/BUILD: third_party/nvtx/LICENSE: -third_party/ortools/BUILD: third_party/ortools/glpk.BUILD: third_party/ortools/ortools.patch: -third_party/protobuf/BUILD: third_party/py/BUILD.tpl: -third_party/py/BUILD: third_party/py/manylinux_compliance_test.py: -third_party/py/ml_dtypes/BUILD: -third_party/py/numpy/BUILD: third_party/py/py_import.bzl: third_party/py/py_manylinux_compliance_test.bzl: third_party/py/python_configure.bzl: @@ -132,19 +107,14 @@ third_party/py/python_init_toolchains.bzl: third_party/py/python_repo.bzl: third_party/py/python_wheel.bzl: third_party/pybind11.BUILD: -third_party/pybind11_bazel/BUILD: -third_party/python_runtime/BUILD: third_party/remote_config/BUILD.tpl: -third_party/remote_config/BUILD: third_party/remote_config/common.bzl: third_party/remote_config/remote_platform_configure.bzl: third_party/repo.bzl: third_party/six.BUILD: third_party/snappy.BUILD: third_party/spirv_llvm_translator/spirv_llvm_translator.BUILD: -third_party/stablehlo/BUILD: third_party/systemlibs/BUILD.tpl: -third_party/systemlibs/BUILD: third_party/systemlibs/absl_py.BUILD: third_party/systemlibs/absl_py.absl.flags.BUILD: third_party/systemlibs/absl_py.absl.logging.BUILD: @@ -169,10 +139,8 @@ third_party/systemlibs/sqlite.BUILD: third_party/systemlibs/syslibs_configure.bzl: third_party/systemlibs/zlib.BUILD: third_party/tensorrt/BUILD.tpl: -third_party/tensorrt/BUILD: third_party/tensorrt/LICENSE: third_party/tensorrt/build_defs.bzl.tpl: -third_party/tensorrt/plugin/BUILD: third_party/tensorrt/tensorrt/include/tensorrt_config.h.tpl: third_party/tensorrt/tensorrt/tensorrt_config.py.tpl: third_party/tensorrt/tensorrt_configure.bzl: diff --git a/third_party/xla/third_party/BUILD b/third_party/xla/third_party/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/BUILD rename to third_party/xla/third_party/BUILD.bazel diff --git a/third_party/xla/third_party/clang_toolchain/BUILD b/third_party/xla/third_party/clang_toolchain/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/clang_toolchain/BUILD rename to third_party/xla/third_party/clang_toolchain/BUILD.bazel diff --git a/third_party/xla/third_party/compute_library/BUILD b/third_party/xla/third_party/compute_library/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/compute_library/BUILD rename to third_party/xla/third_party/compute_library/BUILD.bazel diff --git a/third_party/xla/third_party/ducc/BUILD b/third_party/xla/third_party/ducc/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/ducc/BUILD rename to third_party/xla/third_party/ducc/BUILD.bazel diff --git a/third_party/xla/third_party/eigen3/BUILD b/third_party/xla/third_party/eigen3/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/eigen3/BUILD rename to third_party/xla/third_party/eigen3/BUILD.bazel diff --git a/third_party/xla/third_party/git/BUILD b/third_party/xla/third_party/git/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/git/BUILD rename to third_party/xla/third_party/git/BUILD.bazel diff --git a/third_party/xla/third_party/gpus/BUILD b/third_party/xla/third_party/gpus/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/gpus/BUILD rename to third_party/xla/third_party/gpus/BUILD.bazel diff --git a/third_party/xla/third_party/gpus/crosstool/BUILD b/third_party/xla/third_party/gpus/crosstool/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/gpus/crosstool/BUILD rename to third_party/xla/third_party/gpus/crosstool/BUILD.bazel diff --git a/third_party/xla/third_party/gpus/cuda/BUILD b/third_party/xla/third_party/gpus/cuda/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/gpus/cuda/BUILD rename to third_party/xla/third_party/gpus/cuda/BUILD.bazel diff --git a/third_party/xla/third_party/gpus/cuda/hermetic/BUILD b/third_party/xla/third_party/gpus/cuda/hermetic/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/gpus/cuda/hermetic/BUILD rename to third_party/xla/third_party/gpus/cuda/hermetic/BUILD.bazel diff --git a/third_party/xla/third_party/gpus/rocm/BUILD b/third_party/xla/third_party/gpus/rocm/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/gpus/rocm/BUILD rename to third_party/xla/third_party/gpus/rocm/BUILD.bazel diff --git a/third_party/xla/third_party/gpus/sycl/BUILD b/third_party/xla/third_party/gpus/sycl/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/gpus/sycl/BUILD rename to third_party/xla/third_party/gpus/sycl/BUILD.bazel diff --git a/third_party/xla/third_party/grpc/BUILD b/third_party/xla/third_party/grpc/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/grpc/BUILD rename to third_party/xla/third_party/grpc/BUILD.bazel diff --git a/third_party/xla/third_party/implib_so/BUILD b/third_party/xla/third_party/implib_so/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/implib_so/BUILD rename to third_party/xla/third_party/implib_so/BUILD.bazel diff --git a/third_party/xla/third_party/llvm_openmp/BUILD b/third_party/xla/third_party/llvm_openmp/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/llvm_openmp/BUILD rename to third_party/xla/third_party/llvm_openmp/BUILD.bazel diff --git a/third_party/xla/third_party/mkl/BUILD b/third_party/xla/third_party/mkl/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/mkl/BUILD rename to third_party/xla/third_party/mkl/BUILD.bazel diff --git a/third_party/xla/third_party/nccl/BUILD b/third_party/xla/third_party/nccl/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/nccl/BUILD rename to third_party/xla/third_party/nccl/BUILD.bazel diff --git a/third_party/xla/third_party/nccl/hermetic/BUILD b/third_party/xla/third_party/nccl/hermetic/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/nccl/hermetic/BUILD rename to third_party/xla/third_party/nccl/hermetic/BUILD.bazel diff --git a/third_party/xla/third_party/nvshmem/BUILD b/third_party/xla/third_party/nvshmem/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/nvshmem/BUILD rename to third_party/xla/third_party/nvshmem/BUILD.bazel diff --git a/third_party/xla/third_party/nvtx/BUILD b/third_party/xla/third_party/nvtx/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/nvtx/BUILD rename to third_party/xla/third_party/nvtx/BUILD.bazel diff --git a/third_party/xla/third_party/ortools/BUILD b/third_party/xla/third_party/ortools/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/ortools/BUILD rename to third_party/xla/third_party/ortools/BUILD.bazel diff --git a/third_party/xla/third_party/protobuf/BUILD b/third_party/xla/third_party/protobuf/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/protobuf/BUILD rename to third_party/xla/third_party/protobuf/BUILD.bazel diff --git a/third_party/xla/third_party/py/BUILD b/third_party/xla/third_party/py/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/py/BUILD rename to third_party/xla/third_party/py/BUILD.bazel diff --git a/third_party/xla/third_party/py/ml_dtypes/BUILD b/third_party/xla/third_party/py/ml_dtypes/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/py/ml_dtypes/BUILD rename to third_party/xla/third_party/py/ml_dtypes/BUILD.bazel diff --git a/third_party/xla/third_party/py/numpy/BUILD b/third_party/xla/third_party/py/numpy/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/py/numpy/BUILD rename to third_party/xla/third_party/py/numpy/BUILD.bazel diff --git a/third_party/xla/third_party/pybind11_abseil/workspace.bzl b/third_party/xla/third_party/pybind11_abseil/workspace.bzl index 19c11118b8f..c12f0ba77f8 100644 --- a/third_party/xla/third_party/pybind11_abseil/workspace.bzl +++ b/third_party/xla/third_party/pybind11_abseil/workspace.bzl @@ -15,6 +15,6 @@ def repo(): sha256 = PA_SHA256, strip_prefix = "pybind11_abseil-{commit}".format(commit = PA_COMMIT), urls = tf_mirror_urls("https://github.com/pybind/pybind11_abseil/archive/{commit}.tar.gz".format(commit = PA_COMMIT)), - build_file = "//third_party/pybind11_abseil:BUILD", + build_file = "//third_party/pybind11_abseil:BUILD.bazel", patch_file = ["//third_party/pybind11_abseil:remove_license.patch"], ) diff --git a/third_party/xla/third_party/pybind11_bazel/BUILD b/third_party/xla/third_party/pybind11_bazel/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/pybind11_bazel/BUILD rename to third_party/xla/third_party/pybind11_bazel/BUILD.bazel diff --git a/third_party/xla/third_party/python_runtime/BUILD b/third_party/xla/third_party/python_runtime/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/python_runtime/BUILD rename to third_party/xla/third_party/python_runtime/BUILD.bazel diff --git a/third_party/xla/third_party/remote_config/BUILD b/third_party/xla/third_party/remote_config/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/remote_config/BUILD rename to third_party/xla/third_party/remote_config/BUILD.bazel diff --git a/third_party/xla/third_party/stablehlo/BUILD b/third_party/xla/third_party/stablehlo/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/stablehlo/BUILD rename to third_party/xla/third_party/stablehlo/BUILD.bazel diff --git a/third_party/xla/third_party/systemlibs/BUILD b/third_party/xla/third_party/systemlibs/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/systemlibs/BUILD rename to third_party/xla/third_party/systemlibs/BUILD.bazel diff --git a/third_party/xla/third_party/tensorrt/BUILD b/third_party/xla/third_party/tensorrt/BUILD.bazel similarity index 100% rename from third_party/xla/third_party/tensorrt/BUILD rename to third_party/xla/third_party/tensorrt/BUILD.bazel diff --git a/third_party/xla/third_party/tensorrt/plugin/BUILD b/third_party/xla/third_party/tensorrt/plugin/BUILD.bazel similarity index 94% rename from third_party/xla/third_party/tensorrt/plugin/BUILD rename to third_party/xla/third_party/tensorrt/plugin/BUILD.bazel index 097e4b2b50b..56e26d779de 100644 --- a/third_party/xla/third_party/tensorrt/plugin/BUILD +++ b/third_party/xla/third_party/tensorrt/plugin/BUILD.bazel @@ -17,8 +17,8 @@ cuda_library( ], strip_include_prefix = "plugin/common", deps = [ - "//third_party/tensorrt:nv_infer_headers", "@local_config_tensorrt//:tensorrt", + "@local_config_tensorrt//:tensorrt_headers", ], ) @@ -53,7 +53,7 @@ cuda_library( deps = [ ":nms_plugin_hdrs", ":plugin_common", - "//third_party/tensorrt:nv_infer_headers", "@local_config_tensorrt//:tensorrt", + "@local_config_tensorrt//:tensorrt_headers", ], ) diff --git a/third_party/xla/third_party/tensorrt/workspace.bzl b/third_party/xla/third_party/tensorrt/workspace.bzl index be383ee69ea..e237fa83fed 100644 --- a/third_party/xla/third_party/tensorrt/workspace.bzl +++ b/third_party/xla/third_party/tensorrt/workspace.bzl @@ -16,6 +16,6 @@ def repo(name = "tensorrt_oss_archive"): "https://storage.googleapis.com/mirror.tensorflow.org/github.com/NVIDIA/TensorRT/archive/{commit}.tar.gz".format(commit = TRT_OSS_COMMIT), "https://github.com/NVIDIA/TensorRT/archive/{commit}.tar.gz".format(commit = TRT_OSS_COMMIT), ], - build_file = "//third_party/tensorrt/plugin:BUILD", + build_file = "//third_party/tensorrt/plugin:BUILD.bazel", patch_file = ["//third_party/tensorrt/plugin:tensorrt_oss.patch"], ) diff --git a/third_party/xla/tsl_workspace2.bzl b/third_party/xla/tsl_workspace2.bzl index 11ef5e3ce01..0507f38ba02 100644 --- a/third_party/xla/tsl_workspace2.bzl +++ b/third_party/xla/tsl_workspace2.bzl @@ -343,7 +343,7 @@ def _tf_repositories(): "//third_party/grpc:register_go_toolchain.patch", ], system_link_files = { - "//third_party/systemlibs:BUILD": "bazel/BUILD", + "//third_party/systemlibs:BUILD.bazel": "bazel/BUILD.bazel", "//third_party/systemlibs:grpc.BUILD": "src/compiler/BUILD", "//third_party/systemlibs:grpc.bazel.grpc_deps.bzl": "bazel/grpc_deps.bzl", "//third_party/systemlibs:grpc.bazel.grpc_extra_deps.bzl": "bazel/grpc_extra_deps.bzl", @@ -359,7 +359,7 @@ def _tf_repositories(): # Intel openMP that is part of LLVM sources. tf_http_archive( name = "llvm_openmp", - build_file = "//third_party/llvm_openmp:BUILD", + build_file = "//third_party/llvm_openmp:BUILD.bazel", patch_file = ["//third_party/llvm_openmp:openmp_switch_default_patch.patch"], sha256 = "d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44", strip_prefix = "openmp-10.0.1.src", @@ -403,7 +403,7 @@ def _tf_repositories(): tf_http_archive( name = "nvtx_archive", - build_file = "//third_party:nvtx/BUILD", + build_file = "//third_party:nvtx/BUILD.bazel", sha256 = "e4438f921fb88a564b0b92791c1c1fdd0f388901213e6a31fdd0dc3803fb9764", strip_prefix = "NVTX-bf31d7859ab3130cbf1ef77c33d18d0ebb8c8d08/c/include", urls = tf_mirror_urls("https://github.com/NVIDIA/NVTX/archive/bf31d7859ab3130cbf1ef77c33d18d0ebb8c8d08.tar.gz"),