From 77da168dbc0d2324a8cf75a0933924eac2eab39f Mon Sep 17 00:00:00 2001 From: Kiril Gorovoy Date: Wed, 24 Feb 2016 18:02:16 -0800 Subject: Move all Tensorflow WORKSPACE rules to a skylark macro Change: 115515678 --- WORKSPACE | 57 ++------------------------------------------------------- 1 file changed, 2 insertions(+), 55 deletions(-) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index 22133c5dfc..7c9a9a6001 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -12,61 +12,8 @@ # path="", # api_level=21) -new_http_archive( - name = "gmock_archive", - url = "https://googlemock.googlecode.com/files/gmock-1.7.0.zip", - sha256 = "26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b", - build_file = "google/protobuf/gmock.BUILD", -) - -new_http_archive( - name = "eigen_archive", - url = "https://bitbucket.org/eigen/eigen/get/ed4c9730b545.tar.gz", - sha256 = "3d9eceb8a2add299e37b1f32759157cc2574f7684936c151552a5ae3f33aebd5", - build_file = "eigen.BUILD", -) - -bind( - name = "gtest", - actual = "@gmock_archive//:gtest", -) - -bind( - name = "gtest_main", - actual = "@gmock_archive//:gtest_main", -) - -git_repository( - name = "re2", - remote = "https://github.com/google/re2.git", - commit = "791beff", -) - -new_http_archive( - name = "jpeg_archive", - url = "http://www.ijg.org/files/jpegsrc.v9a.tar.gz", - sha256 = "3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7", - build_file = "jpeg.BUILD", -) - -new_http_archive( - name = "png_archive", - url = "https://storage.googleapis.com/libpng-public-archive/libpng-1.2.53.tar.gz", - sha256 = "e05c9056d7f323088fd7824d8c6acc03a4a758c4b4916715924edc5dd3223a72", - build_file = "png.BUILD", -) - -new_http_archive( - name = "six_archive", - url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55", - sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a", - build_file = "six.BUILD", -) - -bind( - name = "six", - actual = "@six_archive//:six", -) +load("//tensorflow:workspace.bzl", "tf_workspace") +tf_workspace() # TENSORBOARD_BOWER_AUTOGENERATED_BELOW_THIS_LINE_DO_NOT_EDIT -- cgit v1.2.3