Brian Silverman | d1c19fb | 2016-07-07 00:10:57 -0700 | [diff] [blame^] | 1 | workspace(name = 'org_frc971') |
| 2 | |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 3 | new_local_repository( |
| 4 | name = 'usr_repo', |
| 5 | path = '/usr', |
Brian Silverman | 8d54890 | 2015-11-04 23:50:11 -0500 | [diff] [blame] | 6 | build_file = 'debian/usr.BUILD', |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 7 | ) |
| 8 | |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 9 | new_git_repository( |
| 10 | name = 'slycot_repo', |
| 11 | remote = 'https://github.com/avventi/Slycot.git', |
| 12 | build_file = 'debian/slycot.BUILD', |
| 13 | commit = '5af5f283cb23cbe23c4dfea4d5e56071bdbd6e70', |
| 14 | ) |
| 15 | |
| 16 | bind( |
| 17 | name = 'slycot', |
| 18 | actual = '@slycot_repo//:slycot', |
| 19 | ) |
| 20 | |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 21 | new_http_archive( |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 22 | name = 'arm_frc_linux_gnueabi_repo', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 23 | build_file = 'tools/cpp/arm-frc-linux-gnueabi/arm-frc-linux-gnueabi.BUILD', |
Austin Schuh | e750ebc | 2016-02-11 19:10:07 -0800 | [diff] [blame] | 24 | sha256 = '9e93b0712e90d11895444f720f0c90c649fb9becb4ca28bb50749d9074eb1306', |
| 25 | url = 'http://frc971.org/Build-Dependencies/roborio-compiler-2016.tar.gz', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 26 | ) |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 27 | |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 28 | # Recompressed version of the one downloaded from Linaro at |
| 29 | # <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>, |
| 30 | # with workarounds for <https://github.com/bazelbuild/bazel/issues/574> and the |
| 31 | # top-level folder stripped off. |
| 32 | new_http_archive( |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 33 | name = 'linaro_linux_gcc_4_9_repo', |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 34 | build_file = 'compilers/linaro_linux_gcc_4.9.BUILD', |
| 35 | sha256 = '25e97bcb0af4fd7cd626d5bb1b303c7d2cb13acf2474e335e3d431d1a53fbb52', |
| 36 | url = 'http://frc971.org/Build-Dependencies/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.gz', |
| 37 | ) |
| 38 | |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 39 | new_git_repository( |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 40 | name = 'python_gflags_repo', |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 41 | remote = 'https://github.com/gflags/python-gflags.git', |
| 42 | build_file = 'debian/gflags.BUILD', |
| 43 | commit = '41c4571864f0db5823e07715317e7388e94faabc', |
| 44 | ) |
| 45 | |
| 46 | bind( |
| 47 | name = 'python-gflags', |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 48 | actual = '@python_gflags_repo//:gflags', |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 49 | ) |
| 50 | |
| 51 | new_http_archive( |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 52 | name = 'python_glog_repo', |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 53 | build_file = 'debian/glog.BUILD', |
| 54 | sha256 = '953fd80122c48023d1148e6d1bda2763fcab59c8a81682bb298238a5935547b0', |
| 55 | url = 'https://pypi.python.org/packages/source/g/glog/glog-0.1.tar.gz', |
| 56 | strip_prefix = 'glog-0.1', |
| 57 | ) |
| 58 | |
| 59 | bind( |
| 60 | name = 'python-glog', |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 61 | actual = '@python_glog_repo//:glog', |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 62 | ) |
Brian Silverman | cee260a | 2015-12-24 16:27:51 -0800 | [diff] [blame] | 63 | |
| 64 | new_http_archive( |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 65 | name = 'allwpilib_ni_libraries_repo', |
Brian Silverman | cee260a | 2015-12-24 16:27:51 -0800 | [diff] [blame] | 66 | build_file = 'debian/ni-libraries.BUILD', |
| 67 | sha256 = '821687afbee2d7531fb3e47d8d58ac10005695e59685be3ac3aa00b3179faf52', |
| 68 | url = 'http://frc971.org/Build-Dependencies/allwpilib_ni-libraries_20749ed.tar.gz', |
| 69 | strip_prefix = 'ni-libraries', |
| 70 | ) |
| 71 | |
| 72 | bind( |
| 73 | name = 'ni-libraries', |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 74 | actual = '@allwpilib_ni_libraries_repo//:ni-libraries', |
Brian Silverman | cee260a | 2015-12-24 16:27:51 -0800 | [diff] [blame] | 75 | ) |
Brian Silverman | 3fca9d7 | 2016-02-20 02:32:51 -0500 | [diff] [blame] | 76 | |
| 77 | # Downloaded from: |
| 78 | # https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz |
| 79 | new_http_archive( |
| 80 | name = 'six_repo', |
| 81 | build_file = 'debian/six.BUILD', |
| 82 | sha256 = '105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a', |
| 83 | url = 'http://frc971.org/Build-Dependencies/six-1.10.0.tar.gz', |
| 84 | strip_prefix = 'six-1.10.0', |
| 85 | ) |
| 86 | |
| 87 | # For protobuf. Don't use these. |
| 88 | bind( |
| 89 | name = 'six', |
| 90 | actual = '@six_repo//:six', |
| 91 | ) |
| 92 | bind( |
| 93 | name = 'gtest', |
| 94 | actual = '//third_party/googletest:googlemock', |
| 95 | ) |
| 96 | bind( |
| 97 | name = 'gtest_main', |
| 98 | actual = '//third_party/googletest:googlemock_main', |
| 99 | ) |
| 100 | |
| 101 | new_http_archive( |
| 102 | name = 'python_import_helpers', |
| 103 | build_file = 'third_party/python_import_helpers.BUILD', |
| 104 | url = 'http://frc971.org/Build-Dependencies/empty.tar.gz', |
| 105 | sha256 = '71939a7d75585a57d2e99a33d39f391764d8f930f9a16acf32e00c5d3f432aa0', |
| 106 | ) |