forked from th0br0/toolchains
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoolchains.bzl
47 lines (42 loc) · 2.4 KB
/
toolchains.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def setup_toolchains():
# aarch64
http_archive(
name = "bootlin_aarch64_toolchain",
build_file = "@iota_toolchains//:compilers/aarch64--glibc--bleeding-edge-2018.07-1.BUILD",
sha256 = "958ff195a79554144f25d1299fc6f8e5c3c35d060dec79baa99b898b8b00f10a",
strip_prefix = "aarch64--glibc--bleeding-edge-2018.07-1",
url = "https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--bleeding-edge-2018.07-1.tar.bz2",
)
# armv7
http_archive(
name = "bootlin_arm_toolchain",
build_file = "@iota_toolchains//:compilers/armv7-eabihf--glibc--bleeding-edge-2018.07-1.BUILD",
sha256 = "d884e7459c6d64cf108c94b1fbd7924e10703ad5837831c3c88a3eabefc6c8da",
strip_prefix = "armv7-eabihf--glibc--bleeding-edge-2018.07-1",
url = "https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--glibc--bleeding-edge-2018.07-1.tar.bz2",
)
# i686
http_archive(
name = "bootlin_i686_toolchain",
build_file = "@iota_toolchains//:compilers/x86-i686--glibc--bleeding-edge-2018.07-1.BUILD",
sha256 = "5ec38774469cadadfffac47392eab084f893be6a7c84fad76b371159879be74e",
strip_prefix = "x86-i686--glibc--bleeding-edge-2018.07-1",
url = "https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--glibc--bleeding-edge-2018.07-1.tar.bz2",
)
# x86_64
http_archive(
name = "bootlin_x86_64_toolchain",
build_file = "@iota_toolchains//:compilers/x86-64-core-i7--glibc--bleeding-edge-2018.07-1.BUILD",
sha256 = "9bc9e7e87494f29da123889666119ba3bcdf00b1804d500ec2643f7920ac1cd5",
strip_prefix = "x86-64-core-i7--glibc--bleeding-edge-2018.07-1",
url = "https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--bleeding-edge-2018.07-1.tar.bz2",
)
# esp32_64
http_archive(
name = "xtensa_esp32_elf_linux64",
build_file = "@iota_toolchains//:compilers/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.BUILD",
sha256 = "3fe96c151d46c1d4e5edc6ed690851b8e53634041114bad04729bc16b0445156",
strip_prefix = "xtensa-esp32-elf",
url = "https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz",
)