| Age | Commit message (Collapse) | Author | Lines |
|
This commit also adds a few missing docstrings
|
|
When bootstrap is executed with python not in `$PATH`, (e. g.
`c:\Python27\python.exe x.py test`) bootstrap cannot find python
and crashes.
This commit passes path to python in `BOOTSTRAP_PYTHON` env var.
|
|
|
|
|
|
Also, improve the split mechanism to address space in paths.
|
|
|
|
|
|
|
|
This brings verbosity even to invocation of cargo itself
|
|
Fixes: #42099
|
|
|
|
|
|
Basically just translate what's done on master in Rust to Python here.
|
|
|
|
|
|
We've got a freshly minted beta compiler, let's update to use that on nightly!
This has a few other changes associated with it as well
* A bump to the rustc version number (to 1.19.0)
* Movement of the `cargo` and `rls` submodules to their "proper" location in
`src/tools/{cargo,rls}`. Now that Cargo workspaces support the `exclude`
option this can work.
* Updates of the `cargo` and `rls` submodules to their master branches.
* Tweak to the `src/stage0.txt` format to be more amenable for Cargo version
numbers. On the beta channel Cargo will bootstrap from a different version
than rustc (e.g. the version numbers are different), so we need different
configuration for this.
* Addition of `dev` as a readable key in the `src/stage0.txt` format. If present
then stage0 compilers are downloaded from `dev-static.rust-lang.org` instead
of `static.rust-lang.org`. This is added to accomodate our updated release
process with Travis and AppVeyor.
|
|
Haiku: fix initial platform support
|
|
Add bootstrap support for android
|
|
|
|
|
|
This no longer manifests on any versions of OSX that I could find.
|
|
bootstrap.py: fix armv7 detection
This matches the logic that was in `./configure` before f8ca805422db8.
|
|
This matches the logic that was in `./configure` before f8ca805422db8.
|
|
Rollup of 5 pull requests
- Successful merges: #40908, #41011, #41026, #41037, #41050
- Failed merges:
|
|
- No more manual args manipulation -- getopts used for everything.
As a result, options can be in any position, now, even before the
subcommand.
- The additional options for test, bench, and dist now appear in the
help output.
- No more single-letter variable bindings used internally for large
scopes.
- Don't output the time measurement when just invoking 'x.py'
- Logic is now much more linear. We build strings up, and then print
them.
|
|
|
|
|
|
Now that we've also updated cargo's release process this commit also changes the
download location of Cargo from Cargos archives back to the static.r-l.o
archives. This should ensure that the Cargo download is the exact Cargo paired
with the rustc that we release.
|
|
This commit removes detection of CFG_OSTYPE and CFG_CPUTYPE from the configure
script, which means that the default value of `--build` is no longer present in
the configure script. All this logic is now available in rustbuild itself, so
there's no need to duplicate it.
|
|
They report their `uname -m` as armv8l rather than aarch64.
Patch originally by Matthias Klose <doko@debian.org>
|
|
Move some code from x.py to bootstrap.py
|
|
bootstrap: stop trashing (DY)LD_LIBRARY_PATH
This generated an ugly error with fakeroot before.
|
|
add solaris sparcv9 support
Fixes #39901
|
|
Don't rely on curl's --retry, it appears to not work for some errors like SSL
errors.
|
|
This generated an ugly error with fakeroot before.
|
|
Fix for bootstrapping on NixOS
NixOS puts Linux's dynamic loader in wierd place. Detect when we're on NixOS and patch the downloaded bootstrap executables appropriately.
|
|
|
|
* Update bootstrap to recognize the cputype 'sparcv9' (used on Solaris)
* Change to never use -fomit-frame-pointer on Solaris or for sparc
* Adds rust target sparcv9-sun-solaris
Fixes #39901
|
|
Automate vendoring by invoking cargo-vendor when building src dist tarballs.
This avoids #39633 bringing the `src/vendor` checked into git by #37524, past 200,000 lines of code.
I believe the strategy of having rustbuild run `cargo vendor` during the `dist src` step is sound.
However, the only way to be sure `cargo-vendor` exists is to run `cargo install --force cargo-vendor`, which will recompile it every time (not passing `--force` means you can't tell between "already exists" and "build error"). ~~This is quite suboptimal and I'd like to somehow do it in each `Dockerfile` that would need it.~~
* [ ] Cache `CARGO_HOME` (i.e. `~/.cargo`) between CI runs
* `bin/cargo-vendor` and the actual caches are the relevant bits
* [x] Do not build `cargo-vendor` all the time
* ~~Maybe detect `~/.cargo/bin/cargo-vendor` already exists?~~
* ~~Could also try to build it in a `Dockerfile` but do we have `cargo`/`rustc` there?~~
* Final solution: check `cargo install --list` for a line starting with `cargo-vendor `
cc @rust-lang/tools
|
|
|
|
|
|
remove unnecessary gcc_s addition in libstd for Solaris
|
|
Don't need to catch WindowsError. That was very silly of me.
|
|
Add cputype recognition for Solaris
Fixes #39729
|
|
|
|
|
|
NixOS puts Linux's dynamic loader in wierd place. Detect when we're on NixOS
and patch the downloaded bootstrap executables appropriately.
|
|
r=alexcrichton
Support aarch64-unknown-freebsd
|
|
|
|
|