File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ Source2: https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_ru
47
47
# Source2-md5: be3f4d5143483c754a3c272eb213cd07
48
48
Source3: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-std-%{bootstrap_rust }-x86_64 -unknown-linux-gnux32.tar.xz
49
49
# Source3-md5: 38da0bf057e0801669f18f74555830bf
50
+ Source4: https://static.rust-lang.org/dist/%{bootstrap_date }/rust-%{bootstrap_rust }-aarch64 -unknown-linux-gnu.tar.xz
51
+ # Source4-md5: 3408e035e4257846e9417148e1f50412
50
52
URL: https://www.rust-lang.org/
51
53
# for src/compiler-rt
52
54
BuildRequires: cmake >= 3.4.3
@@ -70,7 +72,7 @@ Requires: gcc
70
72
# Only x86_64 and i686 are Tier 1 platforms at this time.
71
73
# x32 is Tier 2, only rust-std is available (no rustc or cargo).
72
74
# https://doc.rust-lang.org/stable/book/getting-started.html#tier-1
73
- ExclusiveArch: %{x8664} %{ix86} x32
75
+ ExclusiveArch: %{x8664} %{ix86} x32 aarch64
74
76
BuildRoot: %{tmpdir }/%{name }-%{version }-root-%(id -u -n)
75
77
76
78
%ifarch x32
@@ -238,6 +240,9 @@ tar xf %{SOURCE3}
238
240
%{__mv} rust-std-%{bootstrap_rust }-%{rust_triple } rust-std-%{rust_triple }
239
241
cd ..
240
242
%endif
243
+ %ifarch aarch64
244
+ tar xf %{SOURCE4 }
245
+ %endif
241
246
%{__mv} %{bootstrap_root } %{bootstrap_root }-root
242
247
%{bootstrap_root }-root/install.sh \
243
248
--components= cargo,rustc,rust-std-%{rust_bootstrap_triple } \
You can’t perform that action at this time.
0 commit comments