Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 1 | workspace(name = "org_frc971") |
Brian Silverman | d1c19fb | 2016-07-07 00:10:57 -0700 | [diff] [blame] | 2 | |
Tyler Chatow | 2584bb1 | 2018-10-27 20:48:35 -0700 | [diff] [blame] | 3 | load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 4 | load( |
| 5 | "//debian:python.bzl", |
| 6 | python_debs = "files", |
| 7 | ) |
| 8 | load( |
| 9 | "//debian:clang.bzl", |
| 10 | clang_debs = "files", |
| 11 | ) |
| 12 | load( |
| 13 | "//debian:patch.bzl", |
| 14 | patch_debs = "files", |
| 15 | ) |
Brian Silverman | 7297c0c | 2018-08-05 13:43:00 -0700 | [diff] [blame] | 16 | load( |
| 17 | "//debian:pandoc.bzl", |
| 18 | pandoc_debs = "files", |
| 19 | ) |
Brian Silverman | 4f6ba44 | 2018-08-05 14:34:58 -0700 | [diff] [blame] | 20 | load( |
| 21 | "//debian:libusb.bzl", |
| 22 | libusb_debs = "files", |
| 23 | ) |
Brian Silverman | b80dc9f | 2018-08-05 14:59:24 -0700 | [diff] [blame] | 24 | load( |
| 25 | "//debian:mingw_compiler.bzl", |
| 26 | mingw_compiler_debs = "files", |
| 27 | ) |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 28 | load( |
| 29 | "//debian:patchelf.bzl", |
| 30 | patchelf_debs = "files", |
| 31 | ) |
| 32 | load( |
| 33 | "//debian:matplotlib.bzl", |
| 34 | matplotlib_debs = "files", |
| 35 | ) |
Brian Silverman | 50b9ac0 | 2018-08-12 13:24:10 -0700 | [diff] [blame] | 36 | load( |
| 37 | "//debian:arm_frc_gnueabi_deps.bzl", |
| 38 | arm_frc_gnueabi_deps_debs = "files", |
| 39 | ) |
Brian Silverman | b0ebf1d | 2018-10-17 23:36:40 -0700 | [diff] [blame] | 40 | load( |
| 41 | "//debian:python_gtk.bzl", |
| 42 | python_gtk_debs = "files", |
| 43 | ) |
Austin Schuh | c9bcd4b | 2018-10-20 18:39:38 -0700 | [diff] [blame] | 44 | load( |
| 45 | "//debian:ruby.bzl", |
| 46 | ruby_debs = "files", |
| 47 | ) |
Philipp Schrader | 0e19c60 | 2018-03-07 21:07:22 -0800 | [diff] [blame] | 48 | load("//debian:packages.bzl", "generate_repositories_for_debs") |
| 49 | |
| 50 | generate_repositories_for_debs(python_debs) |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 51 | |
Philipp Schrader | aedfc5c | 2018-03-10 19:32:30 -0800 | [diff] [blame] | 52 | generate_repositories_for_debs(clang_debs) |
Philipp Schrader | 0e19c60 | 2018-03-07 21:07:22 -0800 | [diff] [blame] | 53 | |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 54 | generate_repositories_for_debs(patch_debs) |
| 55 | |
Brian Silverman | 7297c0c | 2018-08-05 13:43:00 -0700 | [diff] [blame] | 56 | generate_repositories_for_debs(pandoc_debs) |
| 57 | |
Brian Silverman | 4f6ba44 | 2018-08-05 14:34:58 -0700 | [diff] [blame] | 58 | generate_repositories_for_debs(libusb_debs) |
| 59 | |
Brian Silverman | b80dc9f | 2018-08-05 14:59:24 -0700 | [diff] [blame] | 60 | generate_repositories_for_debs(mingw_compiler_debs) |
| 61 | |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 62 | generate_repositories_for_debs(patchelf_debs) |
| 63 | |
| 64 | generate_repositories_for_debs(matplotlib_debs) |
| 65 | |
Brian Silverman | 50b9ac0 | 2018-08-12 13:24:10 -0700 | [diff] [blame] | 66 | generate_repositories_for_debs(arm_frc_gnueabi_deps_debs) |
| 67 | |
Brian Silverman | b0ebf1d | 2018-10-17 23:36:40 -0700 | [diff] [blame] | 68 | generate_repositories_for_debs(python_gtk_debs) |
| 69 | |
Austin Schuh | c9bcd4b | 2018-10-20 18:39:38 -0700 | [diff] [blame] | 70 | generate_repositories_for_debs(ruby_debs) |
| 71 | |
Philipp Schrader | 9fc87e0 | 2018-03-10 20:36:39 -0800 | [diff] [blame] | 72 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 73 | name = "python_repo", |
| 74 | build_file = "debian/python.BUILD", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 75 | sha256 = "4ff939f90cffd8c72f9992d7420481e361b6016b0ce5c6fa701be0691d4e20fa", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 76 | url = "http://www.frc971.org/Build-Dependencies/python-2.tar.gz", |
Philipp Schrader | 9fc87e0 | 2018-03-10 20:36:39 -0800 | [diff] [blame] | 77 | ) |
| 78 | |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 79 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 80 | name = "clang_3p6_repo", |
| 81 | build_file = "tools/cpp/clang_3p6/clang_3p6.BUILD", |
| 82 | sha256 = "5ee9e04c55c2c99d0c0f83722102a49e98f485fc274f73111b33a7ac4e34e03e", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 83 | url = "http://www.frc971.org/Build-Dependencies/clang_3p6.tar.gz", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 84 | ) |
| 85 | |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 86 | new_local_repository( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 87 | name = "usr_repo", |
| 88 | build_file = "debian/usr.BUILD", |
| 89 | path = "/usr", |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 90 | ) |
| 91 | |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 92 | new_git_repository( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 93 | name = "slycot_repo", |
Tyler Chatow | 2584bb1 | 2018-10-27 20:48:35 -0700 | [diff] [blame] | 94 | build_file = "@//debian:slycot.BUILD", |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 95 | commit = "5af5f283cb23cbe23c4dfea4d5e56071bdbd6e70", |
| 96 | remote = "https://github.com/avventi/Slycot.git", |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 97 | ) |
| 98 | |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 99 | new_http_archive( |
Austin Schuh | c9bcd4b | 2018-10-20 18:39:38 -0700 | [diff] [blame] | 100 | name = "ruby_repo", |
| 101 | build_file = "debian/ruby.BUILD", |
| 102 | sha256 = "d3e21cca0abcad933de0d4095da35344a60475d1f5828ee99283ed4250ee1320", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 103 | url = "http://www.frc971.org/Build-Dependencies/ruby.tar.gz", |
Austin Schuh | c9bcd4b | 2018-10-20 18:39:38 -0700 | [diff] [blame] | 104 | ) |
| 105 | |
| 106 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 107 | name = "arm_frc_linux_gnueabi_repo", |
| 108 | build_file = "tools/cpp/arm-frc-linux-gnueabi/arm-frc-linux-gnueabi.BUILD", |
| 109 | sha256 = "875b23bec5138e09e3d21cc1ff2727ea3ecbec57509c37589514ba50f92979c7", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 110 | url = "http://www.frc971.org/Build-Dependencies/roborio-compiler-2018.tar.xz", |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 111 | ) |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 112 | |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 113 | # Recompressed version of the one downloaded from Linaro at |
| 114 | # <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>, |
| 115 | # with workarounds for <https://github.com/bazelbuild/bazel/issues/574> and the |
| 116 | # top-level folder stripped off. |
| 117 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 118 | name = "linaro_linux_gcc_4_9_repo", |
| 119 | build_file = "compilers/linaro_linux_gcc_4.9.BUILD", |
| 120 | sha256 = "25e97bcb0af4fd7cd626d5bb1b303c7d2cb13acf2474e335e3d431d1a53fbb52", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 121 | url = "http://www.frc971.org/Build-Dependencies/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.gz", |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 122 | ) |
| 123 | |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 124 | new_git_repository( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 125 | name = "python_gflags_repo", |
Tyler Chatow | 2584bb1 | 2018-10-27 20:48:35 -0700 | [diff] [blame] | 126 | build_file = "@//debian:gflags.BUILD", |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 127 | commit = "41c4571864f0db5823e07715317e7388e94faabc", |
| 128 | remote = "https://github.com/gflags/python-gflags.git", |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 129 | ) |
| 130 | |
| 131 | bind( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 132 | name = "python-gflags", |
| 133 | actual = "@python_gflags_repo//:gflags", |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 134 | ) |
| 135 | |
Brian Silverman | 16a923c | 2018-10-31 19:40:51 -0700 | [diff] [blame] | 136 | local_repository( |
| 137 | name = "com_github_gflags_gflags", |
| 138 | path = "third_party/gflags", |
| 139 | ) |
| 140 | |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 141 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 142 | name = "python_glog_repo", |
| 143 | build_file = "debian/glog.BUILD", |
| 144 | sha256 = "953fd80122c48023d1148e6d1bda2763fcab59c8a81682bb298238a5935547b0", |
| 145 | strip_prefix = "glog-0.1", |
| 146 | url = "https://pypi.python.org/packages/source/g/glog/glog-0.1.tar.gz", |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 147 | ) |
| 148 | |
| 149 | bind( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 150 | name = "python-glog", |
| 151 | actual = "@python_glog_repo//:glog", |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 152 | ) |
Brian Silverman | cee260a | 2015-12-24 16:27:51 -0800 | [diff] [blame] | 153 | |
| 154 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 155 | name = "allwpilib_ni_libraries_repo_2018", |
| 156 | build_file = "debian/ni-libraries-2018.BUILD", |
| 157 | sha256 = "05ef6701c77b83163b443aa956d151028861cc3fa29fdf2b6b77431b4a91bfb9", |
| 158 | strip_prefix = "ni-libraries", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 159 | url = "http://www.frc971.org/Build-Dependencies/allwpilib_ni-libraries_57e9fb3.tar.gz", |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 160 | ) |
| 161 | |
Brian Silverman | 82a12b9 | 2019-01-19 21:52:10 -0800 | [diff] [blame] | 162 | # Generated with: |
| 163 | # git fetch https://github.com/wpilibsuite/ni-libraries master |
| 164 | # git archive --output=allwpilib_ni-libraries_4785480.tar.gz --format=tar.gz 4785480 |
| 165 | new_http_archive( |
| 166 | name = "allwpilib_ni_libraries_2019", |
| 167 | build_file = "debian/ni-libraries-2019.BUILD", |
| 168 | sha256 = "2cdcde3391f36877b7533e15d0f36baf696b27c1107b77192a8200e26f13278c", |
| 169 | url = "http://www.frc971.org/Build-Dependencies/allwpilib_ni-libraries_4785480.tar.gz", |
| 170 | ) |
| 171 | |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 172 | # Downloaded from: |
| 173 | # https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz |
| 174 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 175 | name = "six_repo", |
| 176 | build_file = "debian/six.BUILD", |
| 177 | sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a", |
| 178 | strip_prefix = "six-1.10.0", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 179 | url = "http://www.frc971.org/Build-Dependencies/six-1.10.0.tar.gz", |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 180 | ) |
| 181 | |
| 182 | # For protobuf. Don't use these. |
| 183 | bind( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 184 | name = "six", |
| 185 | actual = "@six_repo//:six", |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 186 | ) |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 187 | |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 188 | bind( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 189 | name = "gtest", |
| 190 | actual = "//third_party/googletest:googlemock", |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 191 | ) |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 192 | |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 193 | bind( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 194 | name = "gtest_main", |
| 195 | actual = "//third_party/googletest:googlemock_main", |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 196 | ) |
| 197 | |
Brian Silverman | 4aa8304 | 2018-01-05 12:47:31 -0800 | [diff] [blame] | 198 | # Recompressed from libusb-1.0.21.7z. |
| 199 | http_file( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 200 | name = "libusb_1_0_windows", |
| 201 | sha256 = "fc2ba03992f343aabbaf9eb90559c6e00cdc6a2bd914d7cebea85857d5244015", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 202 | url = "http://www.frc971.org/Build-Dependencies/libusb-1.0.21-windows.tar.xz", |
Brian Silverman | 4aa8304 | 2018-01-05 12:47:31 -0800 | [diff] [blame] | 203 | ) |
Brian Silverman | d3ad165 | 2018-02-18 22:16:29 -0500 | [diff] [blame] | 204 | |
| 205 | # The data tarball of the same-named Debian package. |
| 206 | new_http_archive( |
| 207 | name = "f2c", |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 208 | build_file = "debian/f2c.BUILD", |
Brian Silverman | d3ad165 | 2018-02-18 22:16:29 -0500 | [diff] [blame] | 209 | sha256 = "2c677437f8217a2e2b23e41b33995d0571644fc1bea46de858f8913a5053e3f4", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 210 | url = "http://www.frc971.org/Build-Dependencies/f2c_20100827-1_amd64.xz.tar.xz", |
Brian Silverman | d3ad165 | 2018-02-18 22:16:29 -0500 | [diff] [blame] | 211 | ) |
| 212 | |
| 213 | # Downloaded from http://www.netlib.org/clapack/. |
| 214 | new_http_archive( |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 215 | name = "clapack", |
| 216 | build_file = "debian/clapack.BUILD", |
| 217 | sha256 = "6dc4c382164beec8aaed8fd2acc36ad24232c406eda6db462bd4c41d5e455fac", |
| 218 | strip_prefix = "CLAPACK-3.2.1/", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 219 | url = "http://www.frc971.org/Build-Dependencies/clapack-3.2.1.tgz", |
Brian Silverman | 7bda621 | 2018-08-05 11:42:11 -0700 | [diff] [blame] | 220 | ) |
| 221 | |
| 222 | new_http_archive( |
| 223 | name = "patch", |
| 224 | build_file = "debian/patch.BUILD", |
| 225 | sha256 = "b5ce139648a2e04f5585948ddad2fdae24dd4ee7976ac5a22d6ae7bd5674631e", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 226 | url = "http://www.frc971.org/Build-Dependencies/patch.tar.gz", |
Brian Silverman | d3ad165 | 2018-02-18 22:16:29 -0500 | [diff] [blame] | 227 | ) |
Brian Silverman | 7297c0c | 2018-08-05 13:43:00 -0700 | [diff] [blame] | 228 | |
| 229 | new_http_archive( |
| 230 | name = "pandoc", |
| 231 | build_file = "debian/pandoc.BUILD", |
| 232 | sha256 = "9f7a7adb3974a1f14715054c349ff3edc2909e920dbe3438fca437a83845f3c4", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 233 | url = "http://www.frc971.org/Build-Dependencies/pandoc.tar.gz", |
Brian Silverman | 7297c0c | 2018-08-05 13:43:00 -0700 | [diff] [blame] | 234 | ) |
Brian Silverman | 4f6ba44 | 2018-08-05 14:34:58 -0700 | [diff] [blame] | 235 | |
| 236 | new_http_archive( |
| 237 | name = "libusb", |
| 238 | build_file = "debian/libusb.BUILD", |
| 239 | sha256 = "3ca5cc2d317226f6646866ff9e8c443db3b0f6c82f828e800240982727531590", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 240 | url = "http://www.frc971.org/Build-Dependencies/libusb.tar.gz", |
Brian Silverman | 4f6ba44 | 2018-08-05 14:34:58 -0700 | [diff] [blame] | 241 | ) |
Brian Silverman | b80dc9f | 2018-08-05 14:59:24 -0700 | [diff] [blame] | 242 | |
| 243 | new_http_archive( |
| 244 | name = "mingw_compiler", |
| 245 | build_file = "debian/mingw_compiler.BUILD", |
| 246 | sha256 = "45e86a8460f2151a4f0306e7ae7b06761029d2412ee16f63d1e8d2d29354e378", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 247 | url = "http://www.frc971.org/Build-Dependencies/mingw_compiler.tar.gz", |
Brian Silverman | b80dc9f | 2018-08-05 14:59:24 -0700 | [diff] [blame] | 248 | ) |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 249 | |
| 250 | new_http_archive( |
| 251 | name = "matplotlib", |
| 252 | build_file = "debian/matplotlib.BUILD", |
Brian Silverman | b0ebf1d | 2018-10-17 23:36:40 -0700 | [diff] [blame] | 253 | sha256 = "dc8e04123a93180bf89727bf6b5a5a0f6d210b6c1c5eaec148f7f8183abbce24", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 254 | url = "http://www.frc971.org/Build-Dependencies/matplotlib-2.tar.gz", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 255 | ) |
| 256 | |
| 257 | new_http_archive( |
| 258 | name = "patchelf", |
| 259 | build_file = "debian/patchelf.BUILD", |
| 260 | sha256 = "bf8b709909d7d9e30815dd228eeded7dc282e3ce3919d0589ccbb56ac8632abc", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 261 | url = "http://www.frc971.org/Build-Dependencies/patchelf.tar.gz", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 262 | ) |
Brian Silverman | 50b9ac0 | 2018-08-12 13:24:10 -0700 | [diff] [blame] | 263 | |
| 264 | new_http_archive( |
| 265 | name = "arm_frc_gnueabi_deps", |
| 266 | build_file = "debian/arm_frc_gnueabi_deps.BUILD", |
| 267 | sha256 = "4b26fe45010817dc136488ee1604ade21bd7c264c29f17d864fc6eba9d7442c4", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 268 | url = "http://www.frc971.org/Build-Dependencies/arm_frc_gnueabi_deps.tar.gz", |
Brian Silverman | 50b9ac0 | 2018-08-12 13:24:10 -0700 | [diff] [blame] | 269 | ) |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 270 | |
Brian Silverman | b0ebf1d | 2018-10-17 23:36:40 -0700 | [diff] [blame] | 271 | new_http_archive( |
| 272 | name = "python_gtk", |
| 273 | build_file = "debian/python_gtk.BUILD", |
| 274 | sha256 = "850f5c1521b94c5c049c44d9107cd8ae9110696fbf054d2cb48bae9620fd4d23", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 275 | url = "http://www.frc971.org/Build-Dependencies/python_gtk.tar.gz", |
Brian Silverman | b0ebf1d | 2018-10-17 23:36:40 -0700 | [diff] [blame] | 276 | ) |
| 277 | |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 278 | # Downloaded from |
| 279 | # https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update |
| 280 | new_http_archive( |
| 281 | name = "gcc_arm_none_eabi", |
| 282 | build_file = "compilers/gcc_arm_none_eabi.BUILD", |
| 283 | sha256 = "bb17109f0ee697254a5d4ae6e5e01440e3ea8f0277f2e8169bf95d07c7d5fe69", |
| 284 | strip_prefix = "gcc-arm-none-eabi-7-2018-q2-update/", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 285 | url = "http://www.frc971.org/Build-Dependencies/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2", |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 286 | ) |
Austin Schuh | ad59622 | 2018-01-31 23:34:03 -0800 | [diff] [blame] | 287 | |
| 288 | new_http_archive( |
| 289 | name = "cgal_repo", |
Brian Silverman | b0ebf1d | 2018-10-17 23:36:40 -0700 | [diff] [blame] | 290 | build_file = "debian/cgal.BUILD", |
Austin Schuh | ad59622 | 2018-01-31 23:34:03 -0800 | [diff] [blame] | 291 | sha256 = "d564dda558570344b4caa66c5bae2cdae9ef68e07829d64f5651b25f2c6a0e9e", |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 292 | url = "http://www.frc971.org/Build-Dependencies/cgal-dev-4.5-2.tar.gz", |
Austin Schuh | ad59622 | 2018-01-31 23:34:03 -0800 | [diff] [blame] | 293 | ) |
Austin Schuh | e18baff | 2018-10-20 17:40:42 -0700 | [diff] [blame] | 294 | |
| 295 | # Java9 JDK. |
| 296 | new_http_archive( |
| 297 | name = "openjdk_linux_archive", |
| 298 | build_file_content = """ |
| 299 | java_runtime( |
| 300 | name = 'jdk', |
| 301 | srcs = glob(['**']), |
| 302 | visibility = ['//visibility:public'] |
| 303 | ) |
| 304 | """, |
| 305 | sha256 = "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
| 306 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules", |
| 307 | urls = [ |
johnp | 8a384f9 | 2019-01-03 13:10:00 -0800 | [diff] [blame] | 308 | "http://www.frc971.org/Build-Dependencies/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz", |
Austin Schuh | e18baff | 2018-10-20 17:40:42 -0700 | [diff] [blame] | 309 | ], |
| 310 | ) |
| 311 | |
Austin Schuh | f972444 | 2018-10-28 20:30:21 -0700 | [diff] [blame] | 312 | local_repository( |
| 313 | name = "com_google_protobuf", |
| 314 | path = "third_party/protobuf", |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 315 | ) |
Austin Schuh | 10358f2 | 2019-01-21 20:25:11 -0800 | [diff] [blame^] | 316 | |
| 317 | local_repository( |
| 318 | name = "com_github_google_glog", |
| 319 | path = "third_party/google-glog", |
| 320 | ) |