Skip to content

Commit 9a4a4f7

Browse files
andylou2tfx-copybara
authored andcommitted
Add xxhash files to arrow build rule.
PiperOrigin-RevId: 303748644
1 parent e15ca62 commit 9a4a4f7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

third_party/arrow.BUILD

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ genrule(
6161
)
6262
# LINT.ThenChange(../WORKSPACE:arrow_archive_version)
6363

64+
cc_library(
65+
name = "xxhash",
66+
srcs = [],
67+
hdrs = [
68+
"cpp/src/arrow/vendored/xxhash/xxh3.h",
69+
"cpp/src/arrow/vendored/xxhash/xxhash.c",
70+
"cpp/src/arrow/vendored/xxhash/xxhash.h",
71+
],
72+
copts = ["-Wno-implicit-fallthrough"],
73+
visibility = ["//visibility:private"],
74+
)
75+
6476
cc_library(
6577
name = "arrow",
6678
srcs = glob(
@@ -95,7 +107,6 @@ cc_library(
95107
"cpp/src/arrow/util/compression_z*",
96108
"cpp/src/**/*_benchmark.cc",
97109
"cpp/src/**/*_main.cc",
98-
"cpp/src/**/*_nossl.cc",
99110
"cpp/src/**/*_test.cc",
100111
"cpp/src/**/*-test.cc",
101112
"cpp/src/**/test_*.cc",
@@ -105,6 +116,7 @@ cc_library(
105116
"cpp/src/**/stream_to_file.cc",
106117
"cpp/src/arrow/ipc/json*.cc",
107118
"cpp/src/arrow/vendored/xxhash/**",
119+
"cpp/src/parquet/encryption_internal.cc",
108120
],
109121
) + [
110122
"@struct2tensor//third_party:parquet/parquet_types.cpp",
@@ -128,6 +140,7 @@ cc_library(
128140
],
129141
deps = [
130142
":arrow_format",
143+
":xxhash",
131144
"@snappy",
132145
"@struct2tensor//third_party:parquet_types_h",
133146
"@thrift",

0 commit comments

Comments
 (0)