# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

load("//toolchain:configure.bzl", "configure_toolchain")
configure_toolchain(name = "toolchain")
load("//toolchain:deps.bzl", "load_toolchain_deps")
load_toolchain_deps()

new_local_repository(
    name = "cuda",
    path = "/usr/local/cuda",
    build_file = "//third_party:cuda.BUILD"
)

new_local_repository(
    name = "aws",
    path = "/opt",
    build_file = "//third_party:aws.BUILD"
)

new_local_repository(
    name = "azure",
    path = "/opt",
    build_file = "//third_party:azure.BUILD"
)

new_local_repository(
    name = "uring",
    path = "/opt",
    build_file = "//third_party:uring.BUILD"
)

new_local_repository(
    name = "aio",
    path = "/opt",
    build_file = "//third_party:aio.BUILD"
)

load("//third_party:gcp_repo.bzl", "load_gcp_repo")
load_gcp_repo()

# TODO(pwschuurman@): Migrate to bzlmod based dependencies when available
# See: https://github.com/googleapis/google-cloud-cpp/issues/11485
# Load/function calls for GCP cliet deps need to defined in order,
# and in the WORKSPACE file.
load("@google_cloud_cpp//bazel:workspace0.bzl", "gl_cpp_workspace0")
gl_cpp_workspace0()
load("@google_cloud_cpp//bazel:workspace1.bzl", "gl_cpp_workspace1")
gl_cpp_workspace1()
load("@google_cloud_cpp//bazel:workspace2.bzl", "gl_cpp_workspace2")
gl_cpp_workspace2()
load("@google_cloud_cpp//bazel:workspace3.bzl", "gl_cpp_workspace3")
gl_cpp_workspace3()
load("@google_cloud_cpp//bazel:workspace4.bzl", "gl_cpp_workspace4")
gl_cpp_workspace4()
load("@google_cloud_cpp//bazel:workspace5.bzl", "gl_cpp_workspace5")
gl_cpp_workspace5()
