-
Notifications
You must be signed in to change notification settings - Fork 68
/
rust-bin-cross_1.57.0.bb
69 lines (61 loc) · 3.93 KB
/
rust-bin-cross_1.57.0.bb
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
def get_by_triple(hashes, triple):
try:
return hashes[triple]
except:
raise bb.parse.SkipRecipe("Unsupported triple: %s" % triple)
def rust_std_md5(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "f136de0ad0f77c64fdb48c32be5fe5cd",
"aarch64-unknown-linux-musl": "aeefefacd46ca0ce580f4235a451bd87",
"arm-unknown-linux-gnueabi": "f0f16e09a8f3e01689a366584b830907",
"arm-unknown-linux-gnueabihf": "6ed72002fa56f08675ef0c77dfef4933",
"armv5te-unknown-linux-gnueabi": "56bb8b03ee48a5a547fc45c316282b01",
"armv5te-unknown-linux-musleabi": "43c561bda7014c1645de3cd4151db02f",
"armv7-unknown-linux-gnueabihf": "f8b3f417020c7fe2d0a92813b01266d6",
"armv7-unknown-linux-musleabihf": "1629c470b5542de876623dbce040c433",
"i686-unknown-linux-gnu": "1a89ae5f276a4bce1d21f7ad7546f094",
"mips-unknown-linux-gnu": "a2862f3bb10112728b3dd700c3a27a23",
"mipsel-unknown-linux-gnu": "5076bddb96fc9649e2059ce0074217e5",
"powerpc-unknown-linux-gnu": "59216f57de54e1cd149bf51ca7c11ac6",
"x86_64-unknown-linux-gnu": "a8f43a2f5563c13820473b2f1059c144",
}
return get_by_triple(HASHES, triple)
def rust_std_sha256(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "4c70901d1cbddec9ea99fbd62b20f454d30e1ffbb48a21169ac823b3f02a1fbc",
"aarch64-unknown-linux-musl": "4f0c6533186b8fb596ee11b49bd6c9ffb76be59eb8bbdf26f25a47d297666c02",
"arm-unknown-linux-gnueabi": "976ca4b8feef5e455734ee121f947719c32e1a3bea273e186c110bfb2c129c5b",
"arm-unknown-linux-gnueabihf": "5d64eaa7af15fc79de39f12ba354ef8c9bb6d5728350c66d7252ba25c64aa205",
"armv5te-unknown-linux-gnueabi": "2d2eaaa29093306eb65ce7011456e5b4fa5e2f262697b72d25d804403a8ff632",
"armv5te-unknown-linux-musleabi": "3f29dbb27b75626fc5ab0d31a932c60126e1c696c191ac444910889cf65208cf",
"armv7-unknown-linux-gnueabihf": "39b170358cf76c6dc284cf2c99439338871b79f5d0417f3342d48694c392121d",
"armv7-unknown-linux-musleabihf": "0c3917cb3e166fc1f3dbb945893199a12e578df32f02c70c9bce1cda7d968c1a",
"i686-unknown-linux-gnu": "6fb3eb0e9f401d568a3da52c7cd26dadfcd6f1ebd4bc25075b5a092e51e230c9",
"mips-unknown-linux-gnu": "f4c3dadfdf03b5261a1eba2ccf382f99ef6f6177a4ee2d9f19174df6f2d81db4",
"mipsel-unknown-linux-gnu": "c10e699fc22f673d8c91a4aad3e4e78ca60f91485936a093595f0ea90b5399c1",
"powerpc-unknown-linux-gnu": "dc70b13f3cd8bf6eab0d619a5e0113b071b070d06cb0bacec0e0632e09a3c5cc",
"x86_64-unknown-linux-gnu": "9140ad6f46a903345d4297a987ccaf37b9c5ca594cd6fd5a27d0be482116fe7f",
}
return get_by_triple(HASHES, triple)
def rustc_md5(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "7076f4b6c327797afed21efb215d7ee9",
"arm-unknown-linux-gnueabi": "60912736346f3b273e8c2afaad782af4",
"arm-unknown-linux-gnueabihf": "04f071453e39f409e7132539336caa71",
"armv7-unknown-linux-gnueabihf": "cbaa2bd5367b9c211ad7f20408f568f5",
"i686-unknown-linux-gnu": "aac8578c856d2a32ca181b532dda5a79",
"x86_64-unknown-linux-gnu": "d35ab3fd33c00411e00d9e1fd7d1b2cb",
}
return get_by_triple(HASHES, triple)
def rustc_sha256(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "91f1e29387fc53430592985b0620c8587e4aacc8ac582de4ef96c45c9ae930d4",
"arm-unknown-linux-gnueabi": "db328c9cff0d47e15c5fcdfd462d62433457a077a2e531a7b488c44572912f1e",
"arm-unknown-linux-gnueabihf": "14ca5b876d92c1311be7cfbd38e25eb0945be98c9d8f2dd491702c3c4bb9d8c3",
"armv7-unknown-linux-gnueabihf": "f7293a081f9ad5afc45ef31e35fac1390705b6ad7b0aff7018fb6f1c2ff4cb5a",
"i686-unknown-linux-gnu": "356a12b32b951cdb71f34b5c75e7a32f331148bf3fae81106d3ed070fd598f93",
"x86_64-unknown-linux-gnu": "92257646cd85b7c03520c838920851c879845ed8dfd2b339d2ebb4480ee4d4d3",
}
return get_by_triple(HASHES, triple)
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=93a95682d51b4cb0a633a97046940ef0"
require rust-bin-cross.inc