Implement the "make prefix compiler" command
The proposal to move the rustc source fetch to the make prefix
command is redundant because it's called with make all
, you would clone the rustc sources later.
My solution is to add a specific command to fetch and build from sources (the CI server need this), see the current behavior:
-
bootstrap.sh
- rustc is a submodule, thus it clone the sources on each build system copy. -
make prefix
- It download the toolchain binaries from the CI server and build relibc.
My proposed behavior:
-
make prefix compiler
- Active thePREFIX_BINARY=0
, download the rustc/GCC sources and build the toolchain (bootstrap.sh
don't fetch the rustc sources anymore).