diff options
author | Justine Tunney <jart@google.com> | 2016-12-29 00:24:58 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-12-29 00:51:20 -0800 |
commit | e28db9fced14d1ae16b20773544f57e382b9983e (patch) | |
tree | 84126c51638f04f7098c1f4181b88f6364fa4463 /third_party/farmhash.BUILD | |
parent | a1a3b0c6c3abe0df0c8e017d9f134db4731484b9 (diff) |
Move most foo.BUILD files into third_party
This frees up space on the TensorFlow GitHub home page!
Change: 143161497
Diffstat (limited to 'third_party/farmhash.BUILD')
-rw-r--r-- | third_party/farmhash.BUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/farmhash.BUILD b/third_party/farmhash.BUILD new file mode 100644 index 0000000000..6a1d4da6e5 --- /dev/null +++ b/third_party/farmhash.BUILD @@ -0,0 +1,23 @@ +licenses(["notice"]) # MIT + +exports_files(["COPYING"]) + +config_setting( + name = "windows", + values = { + "cpu": "x64_windows_msvc", + }, +) + +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"], +) |