mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Update C++ dependency farmhash
PiperOrigin-RevId: 392042950 Change-Id: Ia3c4dc52e11957267ed4110a9c8096d8ec42e7a3
This commit is contained in:
committed by
TensorFlower Gardener
parent
a1383afb98
commit
571d6d5875
@@ -23,7 +23,7 @@ OverridableFetchContent_Declare(
|
||||
farmhash
|
||||
GIT_REPOSITORY https://github.com/google/farmhash
|
||||
# Sync with tensorflow/third_party/farmhash/workspace.bzl
|
||||
GIT_TAG 816a4ae622e964763ca0862d9dbd19324a1eaf45
|
||||
GIT_TAG 0d859a811870d10f53a594927d0d0b97573ad06d
|
||||
# It's not currently possible to shallow clone with a GIT TAG
|
||||
# as cmake attempts to git checkout the commit hash after the clone
|
||||
# which doesn't work as it's a shallow clone hence a different commit hash.
|
||||
|
||||
@@ -69,7 +69,7 @@ index cfd4a47..50994b6 100644
|
||||
}
|
||||
|
||||
+#ifndef DEVICE_MODIFIER
|
||||
#if defined(_MSC_VER) && defined(FARMHASH_ROTR)
|
||||
#if defined(_WIN32) && defined(FARMHASH_ROTR)
|
||||
|
||||
STATIC_INLINE uint32_t Rotate32(uint32_t val, int shift) {
|
||||
@@ -240,12 +261,18 @@ STATIC_INLINE uint64_t Rotate64(uint64_t val, int shift) {
|
||||
|
||||
4
third_party/farmhash/workspace.bzl
vendored
4
third_party/farmhash/workspace.bzl
vendored
@@ -7,8 +7,8 @@ def repo():
|
||||
|
||||
# Attention: tools parse and update these lines.
|
||||
# LINT.IfChange
|
||||
FARMHASH_COMMIT = "816a4ae622e964763ca0862d9dbd19324a1eaf45"
|
||||
FARMHASH_SHA256 = "6560547c63e4af82b0f202cb710ceabb3f21347a4b996db565a411da5b17aba0"
|
||||
FARMHASH_COMMIT = "0d859a811870d10f53a594927d0d0b97573ad06d"
|
||||
FARMHASH_SHA256 = "18392cf0736e1d62ecbb8d695c31496b6507859e8c75541d7ad0ba092dc52115"
|
||||
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/farmhash.cmake)
|
||||
|
||||
tf_http_archive(
|
||||
|
||||
Reference in New Issue
Block a user