]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/mk/Makefile.in
Unignore u128 test for stage 0,1
[rust.git] / src / bootstrap / mk / Makefile.in
1 # Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2 # file at the top-level directory of this distribution and at
3 # http://rust-lang.org/COPYRIGHT.
4 #
5 # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 # option. This file may not be copied, modified, or distributed
9 # except according to those terms.
10
11 include config.mk
12 include $(CFG_SRC_DIR)mk/util.mk
13
14 ifdef VERBOSE
15 BOOTSTRAP_ARGS := -v
16 else
17 BOOTSTRAP_ARGS :=
18 endif
19
20 BOOTSTRAP := $(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap.py
21
22 all:
23         $(Q)$(BOOTSTRAP) build $(BOOTSTRAP_ARGS)
24         $(Q)$(BOOTSTRAP) doc $(BOOTSTRAP_ARGS)
25
26 help:
27         $(Q)echo 'Welcome to the rustbuild build system!'
28         $(Q)echo
29         $(Q)echo This makefile is a thin veneer over the ./x.py script located
30         $(Q)echo in this directory. To get the full power of the build system
31         $(Q)echo you can run x.py directly.
32         $(Q)echo
33         $(Q)echo To learn more run \`./x.py --help\`
34
35 clean:
36         $(Q)$(BOOTSTRAP) clean $(BOOTSTRAP_ARGS)
37
38 rustc-stage1:
39         $(Q)$(BOOTSTRAP) build --stage 1 src/libtest $(BOOTSTRAP_ARGS)
40 rustc-stage2:
41         $(Q)$(BOOTSTRAP) build --stage 2 src/libtest $(BOOTSTRAP_ARGS)
42
43 docs: doc
44 doc:
45         $(Q)$(BOOTSTRAP) doc $(BOOTSTRAP_ARGS)
46 nomicon:
47         $(Q)$(BOOTSTRAP) doc src/doc/nomicon $(BOOTSTRAP_ARGS)
48 book:
49         $(Q)$(BOOTSTRAP) doc src/doc/book $(BOOTSTRAP_ARGS)
50 standalone-docs:
51         $(Q)$(BOOTSTRAP) doc src/doc $(BOOTSTRAP_ARGS)
52 check:
53         $(Q)$(BOOTSTRAP) test $(BOOTSTRAP_ARGS)
54 check-aux:
55         $(Q)$(BOOTSTRAP) test \
56                 src/tools/cargotest \
57                 src/test/pretty \
58                 src/test/run-pass/pretty \
59                 src/test/run-fail/pretty \
60                 src/test/run-pass-valgrind/pretty \
61                 src/test/run-pass-fulldeps/pretty \
62                 src/test/run-fail-fulldeps/pretty \
63                 $(BOOTSTRAP_ARGS)
64 dist:
65         $(Q)$(BOOTSTRAP) dist $(BOOTSTRAP_ARGS)
66 distcheck:
67         $(Q)$(BOOTSTRAP) dist $(BOOTSTRAP_ARGS)
68         $(Q)$(BOOTSTRAP) test distcheck $(BOOTSTRAP_ARGS)
69 install:
70         $(Q)$(BOOTSTRAP) dist --install $(BOOTSTRAP_ARGS)
71 tidy:
72         $(Q)$(BOOTSTRAP) test src/tools/tidy $(BOOTSTRAP_ARGS)
73
74 check-stage2-T-arm-linux-androideabi-H-x86_64-unknown-linux-gnu:
75         $(Q)$(BOOTSTRAP) test --target arm-linux-androideabi
76 check-stage2-T-x86_64-unknown-linux-musl-H-x86_64-unknown-linux-gnu:
77         $(Q)$(BOOTSTRAP) test --target x86_64-unknown-linux-musl
78
79
80 .PHONY: dist