9
9
BOOTSTRAP := $(CFG_PYTHON ) $(CFG_SRC_DIR ) src/bootstrap/bootstrap.py
10
10
11
11
all :
12
- $(Q )$(BOOTSTRAP ) build $(BOOTSTRAP_ARGS )
13
- $(Q )$(BOOTSTRAP ) doc $(BOOTSTRAP_ARGS )
12
+ $(Q )$(BOOTSTRAP ) build --stage 2 $(BOOTSTRAP_ARGS )
13
+ $(Q )$(BOOTSTRAP ) doc --stage 2 $(BOOTSTRAP_ARGS )
14
14
15
15
help :
16
16
$(Q ) echo ' Welcome to the rustbuild build system!'
@@ -31,17 +31,17 @@ rustc-stage2:
31
31
32
32
docs : doc
33
33
doc :
34
- $(Q )$(BOOTSTRAP ) doc $(BOOTSTRAP_ARGS )
34
+ $(Q )$(BOOTSTRAP ) doc --stage 2 $(BOOTSTRAP_ARGS )
35
35
nomicon :
36
- $(Q )$(BOOTSTRAP ) doc src/doc/nomicon $(BOOTSTRAP_ARGS )
36
+ $(Q )$(BOOTSTRAP ) doc --stage 2 src/doc/nomicon $(BOOTSTRAP_ARGS )
37
37
book :
38
- $(Q )$(BOOTSTRAP ) doc src/doc/book $(BOOTSTRAP_ARGS )
38
+ $(Q )$(BOOTSTRAP ) doc --stage 2 src/doc/book $(BOOTSTRAP_ARGS )
39
39
standalone-docs :
40
- $(Q )$(BOOTSTRAP ) doc src/doc $(BOOTSTRAP_ARGS )
40
+ $(Q )$(BOOTSTRAP ) doc --stage 2 src/doc $(BOOTSTRAP_ARGS )
41
41
check :
42
- $(Q )$(BOOTSTRAP ) test $(BOOTSTRAP_ARGS )
42
+ $(Q )$(BOOTSTRAP ) test --stage 2 $(BOOTSTRAP_ARGS )
43
43
check-aux :
44
- $(Q )$(BOOTSTRAP ) test \
44
+ $(Q )$(BOOTSTRAP ) test --stage 2 \
45
45
src/tools/cargo \
46
46
src/tools/cargotest \
47
47
$(BOOTSTRAP_ARGS )
@@ -51,37 +51,37 @@ dist:
51
51
$(Q )$(BOOTSTRAP ) dist $(BOOTSTRAP_ARGS )
52
52
distcheck :
53
53
$(Q )$(BOOTSTRAP ) dist $(BOOTSTRAP_ARGS )
54
- $(Q )$(BOOTSTRAP ) test distcheck $(BOOTSTRAP_ARGS )
54
+ $(Q )$(BOOTSTRAP ) test --stage 2 distcheck $(BOOTSTRAP_ARGS )
55
55
install :
56
56
$(Q )$(BOOTSTRAP ) install $(BOOTSTRAP_ARGS )
57
57
tidy :
58
- $(Q )$(BOOTSTRAP ) test src/tools/tidy $(BOOTSTRAP_ARGS )
58
+ $(Q )$(BOOTSTRAP ) test --stage 2 src/tools/tidy $(BOOTSTRAP_ARGS )
59
59
prepare :
60
- $(Q )$(BOOTSTRAP ) build nonexistent/path/to/trigger/cargo/metadata
60
+ $(Q )$(BOOTSTRAP ) build --stage 2 nonexistent/path/to/trigger/cargo/metadata
61
61
62
62
check-stage2-T-arm-linux-androideabi-H-x86_64-unknown-linux-gnu :
63
- $(Q )$(BOOTSTRAP ) test --target arm-linux-androideabi
63
+ $(Q )$(BOOTSTRAP ) test --stage 2 -- target arm-linux-androideabi
64
64
check-stage2-T-x86_64-unknown-linux-musl-H-x86_64-unknown-linux-gnu :
65
- $(Q )$(BOOTSTRAP ) test --target x86_64-unknown-linux-musl
65
+ $(Q )$(BOOTSTRAP ) test --stage 2 -- target x86_64-unknown-linux-musl
66
66
67
67
TESTS_IN_2 := \
68
68
src/test/ui \
69
69
src/test/compile-fail \
70
70
src/tools/linkchecker
71
71
72
72
ci-subset-1 :
73
- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_2:%=--exclude % )
73
+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_2:%=--exclude % )
74
74
ci-subset-2 :
75
- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_2 )
75
+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_2 )
76
76
77
77
TESTS_IN_MINGW_2 := \
78
78
src/test/ui \
79
79
src/test/compile-fail
80
80
81
81
ci-mingw-subset-1 :
82
- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_MINGW_2:%=--exclude % )
82
+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_MINGW_2:%=--exclude % )
83
83
ci-mingw-subset-2 :
84
- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_MINGW_2 )
84
+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_MINGW_2 )
85
85
86
86
87
87
.PHONY : dist
0 commit comments