22 |
# a waste of lookaside cache space when they're most often unused. |
# a waste of lookaside cache space when they're most often unused. |
23 |
# Run "spectool -g rust.spec" after changing this and then "fedpkg upload" to |
# Run "spectool -g rust.spec" after changing this and then "fedpkg upload" to |
24 |
# add them to sources. Remember to remove them again after the bootstrap build! |
# add them to sources. Remember to remove them again after the bootstrap build! |
25 |
#global bootstrap_arches %%{rust_arches} |
%global bootstrap_arches aarch64 |
26 |
|
|
27 |
# To bootstrap a compiler for a Tier 2 platform, we first need to build a |
# To bootstrap a compiler for a Tier 2 platform, we first need to build a |
28 |
# compiler for a Tier 1 platform that targets the Tier 2 platform, then use |
# compiler for a Tier 1 platform that targets the Tier 2 platform, then use |
257 |
Provides: bundled(llvm) = %{bundled_llvm_version} |
Provides: bundled(llvm) = %{bundled_llvm_version} |
258 |
%else |
%else |
259 |
BuildRequires: cmake >= 2.8.11 |
BuildRequires: cmake >= 2.8.11 |
260 |
%if 0%{?epel} == 7 || 0%{?mageia} == 9 |
%if 0%{?epel} == 7 |
261 |
%global llvm llvm13 |
%global llvm llvm13 |
262 |
%endif |
%endif |
263 |
%if %defined llvm |
%if %defined llvm |
264 |
|
%if 0%{?mageia} |
265 |
|
%global llvm_root %{_prefix}/lib/%{llvm} |
266 |
|
%else |
267 |
%global llvm_root %{_libdir}/%{llvm} |
%global llvm_root %{_libdir}/%{llvm} |
268 |
|
%endif |
269 |
%else |
%else |
270 |
%global llvm llvm |
%global llvm llvm |
271 |
%global llvm_root %{_prefix} |
%global llvm_root %{_prefix} |