mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Remove Bazel native C++ autoload shim (#7152)
This commit is contained in:
@@ -3,10 +3,6 @@
|
||||
# for now: filter out annoying TASTY warnings
|
||||
common --ui_event_filters=-INFO
|
||||
|
||||
# Bazel 9 removes native rule symbols. Keep external repositories that still
|
||||
# call native.cc_library building while upstream Starlark catches up.
|
||||
common --incompatible_autoload_externally=+cc_library
|
||||
|
||||
# Don't use toolchains_llvm for the swift app build
|
||||
common:mactools --ignore_dev_dependency
|
||||
|
||||
|
||||
@@ -425,6 +425,8 @@ GTL_SHA = "1969c45dd76eac0dd87e9e2b65cffe358617f4fe1bcd203f72f427742537913a"
|
||||
http_archive(
|
||||
name = "gtl",
|
||||
build_file_content = """
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
|
||||
cc_library(
|
||||
name = "gtl",
|
||||
hdrs = glob(["include/gtl/*.hpp"]),
|
||||
|
||||
@@ -50,3 +50,24 @@ index 75bb909586..1a4bed511e 100644
|
||||
deps = [
|
||||
"call_tracer",
|
||||
"channel_arg_names",
|
||||
diff --git a/third_party/address_sorting/address_sorting.bzl b/third_party/address_sorting/address_sorting.bzl
|
||||
index 872b10e2ef..fe7d8eb751 100644
|
||||
--- a/third_party/address_sorting/address_sorting.bzl
|
||||
+++ b/third_party/address_sorting/address_sorting.bzl
|
||||
@@ -31,5 +31,6 @@
|
||||
+load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
def address_sorting_cc_library(name, srcs, hdrs, copts, includes, linkopts=[]):
|
||||
- native.cc_library(
|
||||
+ cc_library(
|
||||
name = name,
|
||||
srcs = srcs,
|
||||
hdrs = hdrs,
|
||||
diff --git a/third_party/xxhash/BUILD b/third_party/xxhash/BUILD
|
||||
--- a/third_party/xxhash/BUILD
|
||||
+++ b/third_party/xxhash/BUILD
|
||||
@@ -1,4 +1,5 @@
|
||||
# TODO(donnadionne): describe this package.
|
||||
+load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
cc_library(
|
||||
name = "xxhash",
|
||||
hdrs = [
|
||||
|
||||
Reference in New Issue
Block a user