mirror of https://github.com/rust-lang/rust.git
Move creation of stageN/lib directories to the configure script
This commit is contained in:
parent
77189f834c
commit
59c76a371f
|
@ -179,6 +179,7 @@ for i in \
|
|||
rt rt/isaac rt/bigint rt/sync rt/test rt/arch/i386 \
|
||||
rustllvm \
|
||||
dl stage0 stage1 stage2 stage3 \
|
||||
stage0/lib stage1/lib stage2/lib stage3/lib \
|
||||
test/run-pass test/run-fail test/compile-fail \
|
||||
test/bench/99-bottles test/bench/shootout
|
||||
do
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES)
|
||||
@$(call E, fetch: $@)
|
||||
mkdir -p stage0/lib
|
||||
$(Q)$(S)src/etc/get-snapshot.py
|
||||
$(Q)touch $@
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ stage1/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
|
|||
stage1/rustc$(X) stage0/lib/$(CFG_STDLIB) stage1/intrinsics.bc \
|
||||
stage1/glue.o $(LREQ) $(MKFILES)
|
||||
@$(call E, compile_and_link: $@)
|
||||
mkdir -p stage1/lib
|
||||
$(STAGE1) --shared -o $@ $<
|
||||
|
||||
stage1/glue.o: stage1/rustc$(X) stage0/lib/$(CFG_STDLIB) stage1/intrinsics.bc \
|
||||
|
|
|
@ -2,7 +2,6 @@ stage2/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
|
|||
stage2/rustc$(X) stage1/lib/$(CFG_STDLIB) stage2/intrinsics.bc \
|
||||
stage2/glue.o $(LREQ) $(MKFILES)
|
||||
@$(call E, compile_and_link: $@)
|
||||
mkdir -p stage2/lib
|
||||
$(STAGE2) --shared -o $@ $<
|
||||
|
||||
stage2/glue.o: stage2/rustc$(X) stage1/lib/$(CFG_STDLIB) stage2/intrinsics.bc \
|
||||
|
|
|
@ -2,7 +2,6 @@ stage3/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
|
|||
stage3/rustc$(X) stage2/lib/$(CFG_STDLIB) stage3/intrinsics.bc \
|
||||
stage3/glue.o $(LREQ) $(MKFILES)
|
||||
@$(call E, compile_and_link: $@)
|
||||
mkdir -p stage3/lib
|
||||
$(STAGE3) --shared -o $@ $<
|
||||
|
||||
stage3/glue.o: stage3/rustc$(X) stage2/lib/$(CFG_STDLIB) stage3/intrinsics.bc \
|
||||
|
|
Loading…
Reference in New Issue