chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:17:40 +08:00
commit f1825c8ceb
10096 changed files with 2364182 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
filegroup(
name = "msgpack_hdrs",
srcs = glob([
"include/**/*.h",
"include/**/*.hpp",
]),
visibility = ["//visibility:public"],
)
# This library is for internal use, because the library assumes a
# different include prefix for itself than external libraries do.
cc_library(
name = "_msgpack",
hdrs = [":msgpack_hdrs"],
strip_include_prefix = "include",
)
cc_library(
name = "msgpack",
srcs = [
"src/objectc.c",
"src/unpack.c",
"src/version.c",
"src/vrefbuffer.c",
"src/zone.c",
],
hdrs = [
"include/msgpack.h",
"include/msgpack.hpp",
],
includes = [
"include/",
],
strip_include_prefix = "include",
copts = select({
"@platforms//os:windows": [],
# Ray doesn't control third-party libraries' implementation, simply ignores certain warning errors.
"//conditions:default": [
"-Wno-shadow",
],
}),
deps = [
":_msgpack",
],
visibility = ["//visibility:public"],
)