rustbuild: Don't make any directories when enabled

As part of the ./configure step don't create any directories if rustbuild is
enable as rustbuild will take care of everything.
This commit is contained in:
Alex Crichton 2016-02-12 16:40:06 -08:00
parent 0c4d81f9bc
commit 680bdbc2a7
1 changed files with 78 additions and 74 deletions

36
configure vendored
View File

@ -1327,27 +1327,29 @@ then
fi fi
fi fi
step_msg "making directories" if [ -z "$CFG_ENABLE_RUSTBUILD" ]; then
for i in \ step_msg "making directories"
for i in \
doc doc/std doc/extra \ doc doc/std doc/extra \
dl tmp dist dl tmp dist
do do
make_dir $i make_dir $i
done done
for t in $CFG_HOST for t in $CFG_HOST
do do
make_dir $t/llvm make_dir $t/llvm
done done
for t in $CFG_HOST for t in $CFG_HOST
do do
make_dir $t/rustllvm make_dir $t/rustllvm
done done
for t in $CFG_TARGET for t in $CFG_TARGET
do do
make_dir $t/rt make_dir $t/rt
for s in 0 1 2 3 for s in 0 1 2 3
do do
@ -1361,10 +1363,10 @@ do
make_dir $t/rt/stage$s/$i make_dir $t/rt/stage$s/$i
done done
done done
done done
for h in $CFG_HOST for h in $CFG_HOST
do do
for t in $CFG_TARGET for t in $CFG_TARGET
do do
# host bin dir stage0 # host bin dir stage0
@ -1417,7 +1419,9 @@ do
make_dir $h/test/codegen make_dir $h/test/codegen
make_dir $h/test/codegen-units make_dir $h/test/codegen-units
make_dir $h/test/rustdoc make_dir $h/test/rustdoc
done done
fi
# Configure submodules # Configure submodules
step_msg "configuring submodules" step_msg "configuring submodules"