Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Work around https://github.com/bazelbuild/bazel/issues/3828 #130

Merged
merged 3 commits into from
Mar 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions llvm-bazel/llvm-project-overlay/llvm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,10 @@ gentbl(
srcs = ["lib/Target/" + target["name"] + "/TargetInfo/" + target["name"] + "TargetInfo.cpp"],
hdrs = glob(["lib/Target/" + target["name"] + "/TargetInfo/*.h"]),
copts = llvm_copts,
# Workaround for https://github.com/bazelbuild/bazel/issues/3828
# TODO(gcmn): Remove this when upgrading to a Bazel version containing
# https://github.com/bazelbuild/bazel/commit/e3b7e17b05f1
includes = ["lib/Target/" + target["name"]],
GMNGeoffrey marked this conversation as resolved.
Show resolved Hide resolved
strip_include_prefix = "lib/Target/" + target["name"],
deps = [
":" + target["name"] + "CommonTableGen",
Expand Down