about summary refs log tree commit diff
path: root/src/bootstrap/native.rs
AgeCommit message (Collapse)AuthorLines
2017-09-29Rollup merge of #44320 - ↵Mark Simulacrum-2/+2
jakllsch:jakllsch-caf2c3d2-c939-4c4d-8c68-1aecbd570fab, r=Mark-Simulacrum Fix extended bootstrap issues with OpenSSL on NetBSD build hosts
2017-09-28Auto merge of #44785 - alexcrichton:update-cargo, r=nikomatsakisbors-2/+2
Update some minor dependencies * run `cargo update` * Update cargo submodule * Update to the `cc` crate from `gcc`
2017-09-28Update to the `cc` crateAlex Crichton-2/+2
This is the name the `gcc` crate has moved to
2017-09-27bootstrap: use tar -z on extractJonathan A. Kollasch-1/+1
Some tar(1) programs—such as NetBSD's—do not automatically decompress.
2017-09-27bootstrap: use shasum(1) on NetBSD build hostsJonathan A. Kollasch-1/+1
NetBSD doesn't ship with sha256sum. The openssl build will probably try to use perl anyway, so using perl's shasum is reasonable.
2017-09-23add aarch64-unknown-linux-musl targetBen Cressey-0/+1
Signed-off-by: Ben Cressey <bcressey@amazon.com> Signed-off-by: Tom Kirchner <tjk@amazon.com>
2017-09-16ci: Upload/download from a new S3 bucketAlex Crichton-1/+1
Moving buckets from us-east-1 to us-west-1 because us-west-1 is where rust-central-station itself runs and in general is where we have all our other buckets.
2017-09-14Rollup merge of #44131 - smaeul:openssl-perl, r=Mark-SimulacrumCorey Farwell-1/+2
Explicitly run perl for OpenSSL Configure OpenSSL's Configure script is missing a shebang. On some platforms, execve falls back to execution with the shell. Some other platforms, like musl, will fail with an exec format error. Avoid this by calling perl explicitly (since it's a perl script).
2017-09-06Rollup merge of #44354 - ↵Mark Simulacrum-0/+10
jakllsch:jakllsch-85453197-a0cc-43f6-8c55-7bce6c4a4ebf, r=Mark-Simulacrum bootstrap: openssl for NetBSD/sparc64 in extended build r? @Mark-Simulacrum
2017-09-05bootstrap: avoid m4 -B for NetBSD-built sparc64 OpenSSLJonathan A. Kollasch-0/+5
2017-09-05bootstrap: add openssl config for sparc64-unknown-netbsdJonathan A. Kollasch-0/+5
2017-09-05disable gcc warningsRalf Jung-0/+1
2017-09-02update gcc crateRalf Jung-1/+1
Use gcc::Build rather than deprecated gcc::Config. Fixes #43973
2017-08-30bootstrap: add openssl configuration mapping for i686-unknown-netbsdJonathan A. Kollasch-0/+1
2017-08-28Explicitly run perl for OpenSSL ConfigureSamuel Holland-1/+2
OpenSSL's Configure script is missing a shebang. On some platforms, execve falls back to execution with the shell. Some other platforms, like musl, will fail with an exec format error. Avoid this by calling perl explicitly (since it's a perl script).
2017-08-15Fix typos & us spellingsFourchaux-1/+1
2017-08-11Build support for no llvmbjorn3-0/+6
2017-08-04Use LLVM_LINK_LLVM_DYLIB only on linux-gnu and apple-darwinJosh Stone-2/+2
2017-08-03Exclude Windows from LLVM_LINK_LLVM_DYLIBJosh Stone-1/+9
2017-07-31Link LLVM tools dynamicallyJosh Stone-0/+1
Set `LLVM_LINK_LLVM_DYLIB=ON` -- "If enabled, tools will be linked with the libLLVM shared library." Rust doesn't ship any of the LLVM tools, and only needs a few at all for some test cases, so statically linking the tools is just a waste of space. I've also had memory issues on slower machines with LLVM debuginfo enabled, when several tools start linking in parallel consuming several GBs each. With the default configuration, `build/x86_64-unknown-linux-gnu/llvm` was 1.5GB before, now down to 731MB. The difference is more drastic with `--enable-llvm-release-debuginfo`, from 28GB to "only" 13GB. This does not change the linking behavior of `rustc_llvm`.
2017-07-30rustbuild: Remove `--enable-llvm-clean-rebuild`Alex Crichton-3/+0
This was intended for bots back in the day where we'd persist caches of LLVM builds across runs, but nowadays we don't do that on any of the bots so this option is no longer necessary
2017-07-29rustbuild: Enable building LLVMAlex Crichton-0/+4
I use this from time to time debugging LLVM builds, useful to have!
2017-07-28rustbuild: Tweak how we cross-compile LLVMAlex Crichton-0/+8
In preparation for upgrading to LLVM 5.0 it looks like we need to tweak how we cross compile LLVM slightly. It's using `CMAKE_SYSTEM_NAME` to infer whether to build libFuzzer which only works on some platforms, and then once we configure that it needs to apparently reach into the host build area to try to compile `llvm-config` as well. Once these are both configured, though, it looks like we can successfully cross-compile LLVM.
2017-07-20Change make_run signature to taking a RunConfig struct for refactorability.Mark Simulacrum-8/+3
2017-07-20Remove step.rs commentsMark Simulacrum-18/+1
2017-07-20Implement available paths list.Mark Simulacrum-7/+7
2017-07-20Require should_run to be implemented.Mark Simulacrum-0/+4
2017-07-20Utilize interning to allow Copy/Clone stepsMark Simulacrum-22/+25
2017-07-20Remove core_intrinsics feature gateMark Simulacrum-0/+3
2017-07-20Fixes warnings and errors introduced while moving code aroundMark Simulacrum-2/+3
2017-07-20Change code to work with the new systemMark Simulacrum-2/+16
2017-07-20Move code into Step trait implementations.Mark Simulacrum-288/+324
No changes are introduced to code body. This commit will not build; it is done to permit a better diff in later commits.
2017-07-20Move rule configs out of stepMark Simulacrum-0/+15
2017-07-04Use build.build instead of build.config.buildMark Simulacrum-4/+4
2017-06-22Make Build.cxx() return a Result instead of panickingIan Douglas Scott-1/+1
2017-06-16Add target to use LLVM wasm backendThomas Lively-0/+6
The new target is wasm32-experimental-emscripten. Adds a new configuration option to opt in to building experimental LLVM backends such as the WebAssembly backend. The target name was chosen to be similar to the existing wasm32-unknown-emscripten target so that the build and tests would work with minimal other code changes. When/if the new target replaces the old target, simply renaming it should just work.
2017-06-02Reduce sccache log level.Mark Simulacrum-1/+1
2017-06-02ci: Improve log output (mainly Travis).kennytm-0/+2
* Bring back colors on Travis, which was disabled since #39036. Append --color=always to cargo when running in CI environment. * Removed `set -x` in the shell scripts. The `retry` function already prints which command it is running, add `-x` just add noise to the output. * Support travis_fold/travis_time. Matching pairs of these allow Travis CI to collapse the output in between. This greatly cut down the unnecessary "successful" output one need to scroll through before finding the failed statement.
2017-05-13Pass static crt to llvm cmake configurationLiran Ringel-0/+1
2017-05-05bootstrap: openssl android supportMarco A L Barbosa-0/+17
2017-04-27appveyor: Use Ninja/sccache on MSVCAlex Crichton-9/+44
Now that the final bug fixes have been merged into sccache we can start leveraging sccache on the MSVC builders on AppVeyor instead of relying on the ad-hoc caching strategy of trigger files and whatnot.
2017-04-27Auto merge of #41567 - arielb1:rollup, r=arielb1bors-1/+1
Rollup of 9 pull requests - Successful merges: #41370, #41456, #41493, #41499, #41501, #41524, #41546, #41550, #41552 - Failed merges:
2017-04-26Make sure openssl compiles with only one coreAidan Hobson Sayers-1/+1
Fixes #40417
2017-04-26Enable building the LLVM Hexagon targetMichael Wu-1/+1
2017-04-11Make sccache a bit quieterAidan Hobson Sayers-1/+1
2017-03-20travis: Don't set `RUST_LOG` globallyAlex Crichton-0/+5
I have a suspicion that this caused a large regression in cycle times by forcing the compiler to perform more checks on every `debug!` statement, so let's test this out by removing the `RUST_LOG` env var globally. This regression in cycle time was witnessed between [two] [builds] where the [PR] in question didn't do much suspicious. Judging by how the stage0 times *also* regressed though then this is my best guess. [two]: https://travis-ci.org/rust-lang/rust/builds/210149932 [builds]: https://travis-ci.org/rust-lang/rust/builds/210179995 [PR]: https://github.com/rust-lang/rust/pull/40446
2017-03-15rustbuild: Retry downloads of OpenSSL sourceAlex Crichton-3/+18
We need this to compile Cargo and we download it at build time, but as like all other network requests it has a chance of failing. This commit moves the source of the tarball to a mirror (S3 seems semi-more-reliable most of the time) and also wraps the download in a retry loop. cc #40474
2017-03-12Allow cleaning llvm build dir to failAlex Crichton-1/+1
It may not exist, so we don't want to spuriously generate an error.
2017-03-12rustbuild: Add option for enabling partial LLVM rebuildsVadim Petrochenkov-13/+10
2017-03-09rustbuild: expose LLVM_PARALLEL_LINK_JOBSRobin Kruppe-0/+6
This allows limiting the number of linker jobs to avoid swapping when linking LLVM with debug info.