From 1faa442c02c6bb479b958a46eb2f858c1985966a Mon Sep 17 00:00:00 2001 From: storypku Date: Fri, 29 May 2020 23:00:06 +0800 Subject: [PATCH] Make third_party/gpus/... build pass. fix issue #39759 --- third_party/gpus/cuda/BUILD | 10 +--------- third_party/gpus/rocm/BUILD | 7 +------ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/third_party/gpus/cuda/BUILD b/third_party/gpus/cuda/BUILD index 413d28a2723..9c988668ebc 100644 --- a/third_party/gpus/cuda/BUILD +++ b/third_party/gpus/cuda/BUILD @@ -1,9 +1 @@ -load("@bazel_skylib//:bzl_library.bzl", "bzl_library") - -bzl_library( - name = "build_defs_bzl", - srcs = ["build_defs.bzl"], - deps = [ - "@bazel_skylib//lib:selects", - ], -) +# Dummy BUILD for Bazel diff --git a/third_party/gpus/rocm/BUILD b/third_party/gpus/rocm/BUILD index bc2dd419259..dd64bfb0f36 100644 --- a/third_party/gpus/rocm/BUILD +++ b/third_party/gpus/rocm/BUILD @@ -1,6 +1 @@ -load("@bazel_skylib//:bzl_library.bzl", "bzl_library") - -bzl_library( - name = "build_defs_bzl", - srcs = ["build_defs.bzl"], -) +# placeholder for bazel