diff options
author | 2016-09-21 16:08:11 -0800 | |
---|---|---|
committer | 2016-09-21 17:16:04 -0700 | |
commit | 65038b084059cf934df50fa86dba5b0e765f9d65 (patch) | |
tree | c6498985a80d44e81825325057e4746fe4173c05 /tensorflow/core/platform/default/fingerprint.h | |
parent | e16dd877f5a784eb31ac44c98267aa8757385fc2 (diff) |
Optimize Bazel external dependencies
This change does the following:
- Always use {,new_}http_archive rather than git_repository
- Make liberal use of strip_prefix
- Clarify licenses() in BUILD files
- On POSIX include headers like a normal C/C++ program
This change accomplishes the following:
- Reduce download size >100MB: The biggest culprit is grpc which has
tens of thousands of commits in its GitHub repository.
- Reduce disk size >200MB: On disk, grpc takes up 250MB when cloned even
though the tarball of the git repo is 3.2MB. By never using git
externals, we save on network.
- Consume less cpu: Cloning git repositories is much slower than
downloading and extracting a tarball.
Change: 133895791
Diffstat (limited to 'tensorflow/core/platform/default/fingerprint.h')
-rw-r--r-- | tensorflow/core/platform/default/fingerprint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/platform/default/fingerprint.h b/tensorflow/core/platform/default/fingerprint.h index 087b1cdc25..71f9951e53 100644 --- a/tensorflow/core/platform/default/fingerprint.h +++ b/tensorflow/core/platform/default/fingerprint.h @@ -16,7 +16,7 @@ limitations under the License. #ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_FINGERPRINT_H_ #define TENSORFLOW_CORE_PLATFORM_DEFAULT_FINGERPRINT_H_ -#include "farmhash-34c13ddfab0e35422f4c3979f360635a8c050260/src/farmhash.h" +#include <farmhash.h> namespace tensorflow { |