@@ -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+
6476cc_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