Create BUILD files and corresponding targets for tensorflow/core/lib/lmdb/testdata
.
PiperOrigin-RevId: 329788155 Change-Id: I2301b7df6553f0ccbc7c0d1fc51f28283eeff60b
This commit is contained in:
parent
98635e2d5b
commit
b9a80b762d
tensorflow
@ -1,28 +1,12 @@
|
||||
# Description:
|
||||
# lmdb test data packages.
|
||||
# lmdb test data packages alias.
|
||||
|
||||
package(
|
||||
licenses = ["notice"], # Apache 2.0
|
||||
)
|
||||
|
||||
filegroup(
|
||||
alias(
|
||||
name = "lmdb_testdata",
|
||||
testonly = 1,
|
||||
srcs = [
|
||||
# A simple key-value store:
|
||||
# 0 : 'b'
|
||||
# 1 : 'b'
|
||||
# ...
|
||||
# 9 : 'b'
|
||||
# Which is then overwritten with:
|
||||
# 0 : 'a'
|
||||
# 1 : 'b'
|
||||
# ...
|
||||
# 9 : 'j'
|
||||
"testdata/data.mdb",
|
||||
# LMDB, being a memory-mapped database, uses a different file format on
|
||||
# big-endian systems.
|
||||
"testdata/data_bigendian.mdb",
|
||||
],
|
||||
actual = "//tensorflow/core/lib/lmdb/testdata:lmdb_testdata",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
28
tensorflow/core/lib/lmdb/testdata/BUILD
vendored
Normal file
28
tensorflow/core/lib/lmdb/testdata/BUILD
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# Description:
|
||||
# lmdb test data packages.
|
||||
|
||||
package(
|
||||
licenses = ["notice"], # Apache 2.0
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "lmdb_testdata",
|
||||
testonly = 1,
|
||||
srcs = [
|
||||
# A simple key-value store:
|
||||
# 0 : 'b'
|
||||
# 1 : 'b'
|
||||
# ...
|
||||
# 9 : 'b'
|
||||
# Which is then overwritten with:
|
||||
# 0 : 'a'
|
||||
# 1 : 'b'
|
||||
# ...
|
||||
# 9 : 'j'
|
||||
"data.mdb",
|
||||
# LMDB, being a memory-mapped database, uses a different file format on
|
||||
# big-endian systems.
|
||||
"data_bigendian.mdb",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
@ -82,7 +82,7 @@ DEPENDENCY_DENYLIST = [
|
||||
"//tensorflow/python:tf_optimizer",
|
||||
"//tensorflow/python:compare_test_proto_py",
|
||||
"//tensorflow/core:image_testdata",
|
||||
"//tensorflow/core/lib/lmdb:lmdb_testdata",
|
||||
"//tensorflow/core/lib/lmdb/testdata:lmdb_testdata",
|
||||
"//tensorflow/core/kernels/cloud:bigquery_reader_ops",
|
||||
"//tensorflow/python/debug:grpc_tensorflow_server.par",
|
||||
"//tensorflow/python/feature_column:vocabulary_testdata",
|
||||
|
Loading…
Reference in New Issue
Block a user