mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
61d5053cb8
PiperOrigin-RevId: 359128955 Change-Id: Id3491fe77d17334b051737571e013d0f1747e632
24 lines
493 B
Plaintext
24 lines
493 B
Plaintext
licenses(["notice"]) # MIT
|
|
|
|
exports_files(["COPYING"])
|
|
|
|
config_setting(
|
|
name = "windows",
|
|
values = {
|
|
"cpu": "x64_windows",
|
|
},
|
|
)
|
|
|
|
cc_library(
|
|
name = "farmhash",
|
|
srcs = ["src/farmhash.cc"],
|
|
hdrs = ["src/farmhash.h"],
|
|
# Disable __builtin_expect support on Windows
|
|
copts = select({
|
|
":windows": ["/DFARMHASH_OPTIONAL_BUILTIN_EXPECT"],
|
|
"//conditions:default": [],
|
|
}),
|
|
includes = ["src/."],
|
|
visibility = ["//visibility:public"],
|
|
)
|