update bootstrap
This commit is contained in:
parent
dba382a9de
commit
8c4c8be2a9
|
@ -8,10 +8,10 @@
|
||||||
# To bootstrap from scratch, set the channel and date from src/stage0.txt
|
# To bootstrap from scratch, set the channel and date from src/stage0.txt
|
||||||
# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
|
# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
|
||||||
# or nightly wants some beta-YYYY-MM-DD
|
# or nightly wants some beta-YYYY-MM-DD
|
||||||
%global bootstrap_rust 1.18.0
|
%global bootstrap_rust 1.19.0
|
||||||
%global bootstrap_cargo 0.19.0
|
%global bootstrap_cargo 0.20.0
|
||||||
%global bootstrap_channel %{bootstrap_rust}
|
%global bootstrap_channel %{bootstrap_rust}
|
||||||
%global bootstrap_date 2017-06-08
|
%global bootstrap_date 2017-07-20
|
||||||
|
|
||||||
# Only the specified arches will use bootstrap binaries.
|
# Only the specified arches will use bootstrap binaries.
|
||||||
#global bootstrap_arches %%{rust_arches}
|
#global bootstrap_arches %%{rust_arches}
|
||||||
|
@ -92,7 +92,7 @@ end}
|
||||||
.."/rust-%{bootstrap_channel}")
|
.."/rust-%{bootstrap_channel}")
|
||||||
local target_arch = rpm.expand("%{_target_cpu}")
|
local target_arch = rpm.expand("%{_target_cpu}")
|
||||||
for i, arch in ipairs(bootstrap_arches) do
|
for i, arch in ipairs(bootstrap_arches) do
|
||||||
print(string.format("Source%d: %s-%s.tar.gz\n",
|
print(string.format("Source%d: %s-%s.tar.xz\n",
|
||||||
i, base, rust_triple(arch)))
|
i, base, rust_triple(arch)))
|
||||||
if arch == target_arch then
|
if arch == target_arch then
|
||||||
rpm.define("bootstrap_source "..i)
|
rpm.define("bootstrap_source "..i)
|
||||||
|
|
Loading…
Reference in New Issue