Skip to content

Commit e20d906

Browse files
committed
Merge pull request #1540 from lht/exclude-stage3-by-default
build: Stop building stage3 on normal test cycles
2 parents ea1e360 + 394a80c commit e20d906

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ rustc-stage3: rustc-stage3-H-$(CFG_HOST_TRIPLE)
397397
define DEF_RUSTC_TARGET
398398
# $(1) == architecture
399399

400-
rustc-H-$(1): rustc-stage3-H-$(1)
400+
rustc-H-$(1): rustc-stage2-H-$(1)
401401
endef
402402

403403
$(foreach host,$(CFG_TARGET_TRIPLES), \

mk/install.mk

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ else
1414
endif
1515

1616
# The stage we install from
17-
ISTAGE = 3
17+
ISTAGE = 2
1818

1919
PREFIX_ROOT = $(CFG_PREFIX)
2020
PREFIX_BIN = $(PREFIX_ROOT)/bin
@@ -56,6 +56,7 @@ install: all install-host install-targets
5656

5757
# Shorthand for build/stageN/bin
5858
HB = $(HBIN$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
59+
HB3 = $(HBIN3_H_$(CFG_HOST_TRIPLE))
5960
# Shorthand for build/stageN/lib
6061
HL = $(HLIB$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
6162
# Shorthand for the prefix bin directory
@@ -67,9 +68,9 @@ install-host: $(SREQ$(ISTAGE)_T_$(CFG_HOST_TRIPLE)_H_$(CFG_HOST_TRIPLE))
6768
$(Q)mkdir -p $(PREFIX_BIN)
6869
$(Q)mkdir -p $(PREFIX_LIB)
6970
$(Q)mkdir -p $(PREFIX_ROOT)/share/man/man1
70-
$(Q)$(call INSTALL,$(HB),$(PHB),rustc$(X))
71-
$(Q)$(call INSTALL,$(HB),$(PHB),cargo$(X))
72-
$(Q)$(call INSTALL,$(HB),$(PHB),rustdoc$(X))
71+
$(Q)$(call INSTALL,$(HB3),$(PHB),rustc$(X))
72+
$(Q)$(call INSTALL,$(HB3),$(PHB),cargo$(X))
73+
$(Q)$(call INSTALL,$(HB3),$(PHB),rustdoc$(X))
7374
$(Q)$(call INSTALL,$(HL),$(PHL),$(CFG_RUNTIME))
7475
$(Q)$(call INSTALL_LIB,$(HL),$(PHL),$(CORELIB_GLOB))
7576
$(Q)$(call INSTALL_LIB,$(HL),$(PHL),$(STDLIB_GLOB))

mk/tests.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ endif
7070
# Main test targets
7171
######################################################################
7272

73-
check: all tidy check-stage3 \
73+
check: all tidy check-stage2 \
7474

7575
check-full: all tidy check-stage1 check-stage2 check-stage3 \
7676

0 commit comments

Comments
 (0)