blob: d4b58f99ab83e41868e4f032cada60954c28fe3a [file] [log] [blame]
Austin Schuh4759ffc2015-10-07 20:39:56 -07001new_local_repository(
2 name = 'usr_repo',
3 path = '/usr',
Brian Silverman8d548902015-11-04 23:50:11 -05004 build_file = 'debian/usr.BUILD',
Austin Schuh4759ffc2015-10-07 20:39:56 -07005)
6
Austin Schuh1f9aeb42015-11-12 23:34:49 -08007new_git_repository(
8 name = 'slycot_repo',
9 remote = 'https://github.com/avventi/Slycot.git',
10 build_file = 'debian/slycot.BUILD',
11 commit = '5af5f283cb23cbe23c4dfea4d5e56071bdbd6e70',
12)
13
14bind(
15 name = 'slycot',
16 actual = '@slycot_repo//:slycot',
17)
18
Austin Schuh55139fe2015-10-14 23:55:24 -070019new_http_archive(
Brian Silverman826e1cd2016-01-31 18:26:00 -050020 name = 'arm_frc_linux_gnueabi_repo',
Austin Schuh55139fe2015-10-14 23:55:24 -070021 build_file = 'tools/cpp/arm-frc-linux-gnueabi/arm-frc-linux-gnueabi.BUILD',
Austin Schuhe750ebc2016-02-11 19:10:07 -080022 sha256 = '9e93b0712e90d11895444f720f0c90c649fb9becb4ca28bb50749d9074eb1306',
23 url = 'http://frc971.org/Build-Dependencies/roborio-compiler-2016.tar.gz',
Austin Schuh55139fe2015-10-14 23:55:24 -070024)
Austin Schuhe456f152015-11-27 13:44:39 -080025
Brian Silverman0d57fc82016-01-24 21:02:53 -050026# Recompressed version of the one downloaded from Linaro at
27# <https://releases.linaro.org/15.05/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz>,
28# with workarounds for <https://github.com/bazelbuild/bazel/issues/574> and the
29# top-level folder stripped off.
30new_http_archive(
31 name = 'linaro_linux_gcc_4.9_repo',
32 build_file = 'compilers/linaro_linux_gcc_4.9.BUILD',
33 sha256 = '25e97bcb0af4fd7cd626d5bb1b303c7d2cb13acf2474e335e3d431d1a53fbb52',
34 url = 'http://frc971.org/Build-Dependencies/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.gz',
35)
36
Austin Schuhe456f152015-11-27 13:44:39 -080037new_git_repository(
Brian Silverman826e1cd2016-01-31 18:26:00 -050038 name = 'python_gflags_repo',
Austin Schuhe456f152015-11-27 13:44:39 -080039 remote = 'https://github.com/gflags/python-gflags.git',
40 build_file = 'debian/gflags.BUILD',
41 commit = '41c4571864f0db5823e07715317e7388e94faabc',
42)
43
44bind(
45 name = 'python-gflags',
Brian Silverman826e1cd2016-01-31 18:26:00 -050046 actual = '@python_gflags_repo//:gflags',
Austin Schuhe456f152015-11-27 13:44:39 -080047)
48
49new_http_archive(
Brian Silverman826e1cd2016-01-31 18:26:00 -050050 name = 'python_glog_repo',
Austin Schuhe456f152015-11-27 13:44:39 -080051 build_file = 'debian/glog.BUILD',
52 sha256 = '953fd80122c48023d1148e6d1bda2763fcab59c8a81682bb298238a5935547b0',
53 url = 'https://pypi.python.org/packages/source/g/glog/glog-0.1.tar.gz',
54 strip_prefix = 'glog-0.1',
55)
56
57bind(
58 name = 'python-glog',
Brian Silverman826e1cd2016-01-31 18:26:00 -050059 actual = '@python_glog_repo//:glog',
Austin Schuhe456f152015-11-27 13:44:39 -080060)
Brian Silvermancee260a2015-12-24 16:27:51 -080061
62new_http_archive(
Brian Silverman826e1cd2016-01-31 18:26:00 -050063 name = 'allwpilib_ni_libraries_repo',
Brian Silvermancee260a2015-12-24 16:27:51 -080064 build_file = 'debian/ni-libraries.BUILD',
65 sha256 = '821687afbee2d7531fb3e47d8d58ac10005695e59685be3ac3aa00b3179faf52',
66 url = 'http://frc971.org/Build-Dependencies/allwpilib_ni-libraries_20749ed.tar.gz',
67 strip_prefix = 'ni-libraries',
68)
69
70bind(
71 name = 'ni-libraries',
Brian Silverman826e1cd2016-01-31 18:26:00 -050072 actual = '@allwpilib_ni_libraries_repo//:ni-libraries',
Brian Silvermancee260a2015-12-24 16:27:51 -080073)
Brian Silverman3fca9d72016-02-20 02:32:51 -050074
75# Downloaded from:
76# https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz
77new_http_archive(
78 name = 'six_repo',
79 build_file = 'debian/six.BUILD',
80 sha256 = '105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a',
81 url = 'http://frc971.org/Build-Dependencies/six-1.10.0.tar.gz',
82 strip_prefix = 'six-1.10.0',
83)
84
85# For protobuf. Don't use these.
86bind(
87 name = 'six',
88 actual = '@six_repo//:six',
89)
90bind(
91 name = 'gtest',
92 actual = '//third_party/googletest:googlemock',
93)
94bind(
95 name = 'gtest_main',
96 actual = '//third_party/googletest:googlemock_main',
97)
98
99new_http_archive(
100 name = 'python_import_helpers',
101 build_file = 'third_party/python_import_helpers.BUILD',
102 url = 'http://frc971.org/Build-Dependencies/empty.tar.gz',
103 sha256 = '71939a7d75585a57d2e99a33d39f391764d8f930f9a16acf32e00c5d3f432aa0',
104)