about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2017-07-05Switch to rust-lang-nursery/compiler-builtinsAlex Crichton-3/+4
This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-06-24Restore old emscripten.sh for use by asmjsThomas Lively-23/+76
2017-06-23Add Target (de)serialization for environment varsThomas Lively-1/+1
Also turn WebAssembly backend back on in its builder.
2017-06-22Add wasm32-experimental-emscripten to wasm builderThomas Lively-18/+28
This modifies the builder to download and use the LLVM tools from the last known good build on the WebAssembly buildbot waterfall, since these tools are built with the WebAssembly LLVM backend enabled.
2017-06-22Make wasm32 buildbot test LLVM backendThomas Lively-4/+7
This adds the experimental targets option to configure so it can be used by the builders and changes the wasm32 Dockerfile accordingly. Instead of using LLVM from the emsdk, the builder's emscripten tools now uses the Rust in-tree LLVM, since this is the one built with wasm support.
2017-06-16Auto merge of #42631 - malbarbo:wasm32, r=alexcrichtonbors-94/+159
Add a travis builder for wasm32-unknown-emscripten This commits add an entry to travis matrix that will execute wasm32-unknown-emscripten tests suites. - Emscripten for asmjs was updated to sdk-1.37.13-64bit - The tests are run with node 8.0.0 (it can execute wasm) - A wrapper script is used to run each test from the directory where it is (workaround for https://github.com/kripken/emscripten/issues/4542) - Some tests are ignore, see #42629 and #42630
2017-06-15Use --depth to speed up pristine submodule cloningAidan Hobson Sayers-35/+4
In addition, remove all the unused cache stuff
2017-06-13Disable wasm32 imageMarco A L Barbosa-0/+0
2017-06-13Make tidy happyMarco A L Barbosa-1/+1
2017-06-13Add missing emscripten.sh fileMarco A L Barbosa-0/+53
2017-06-13Add docker image for wasm32-unknown-emscriptenMarco A L Barbosa-94/+106
- rename emscripten docker image to asmjs - create wasm32 docker image
2017-06-06Enable profiler selectively on some buildersMarco Castelluccio-4/+5
2017-06-06Spell profiler option correctly...Marco Castelluccio-1/+1
2017-06-05Enable profiler on all buildersMarco Castelluccio-0/+1
2017-06-02Quiet tests on PR testsMark Simulacrum-0/+5
2017-06-02ci: Improve log output (mainly Travis).kennytm-7/+83
* 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-28Auto merge of #42218 - venkatagiri:update_cross, r=alexchrichtonbors-24/+62
use shared scripts for init and sccache in cross image cc #42201 cc @malbarbo
2017-05-26ci: move musl install into their own scriptsVenkata Giri Reddy-16/+52
2017-05-25Update OpenSSL download locationAlex Crichton-4/+6
In rustbuild itself we download from our mirror but in the containers we don't do this yet. The OpenSSL download url changes from time to time (it breaks when they release a new version) so let's download from our mirror instead.
2017-05-25use shared scripts for init and sccache in cross imageVenkata Giri Reddy-8/+10
2017-05-25Hack around abysmally slow llvm clonesAidan Hobson Sayers-0/+10
2017-05-18ci: fix dist-powerpc-linux imageMarco A L Barbosa-2/+2
2017-05-18ci: add filesystem layout docsMarco A L Barbosa-0/+6
2017-05-18ci: move shared scripts to src/ci/docker/scripts/Marco A L Barbosa-20/+20
2017-05-17ci: allows shared scriptsMarco A L Barbosa-260/+237
2017-05-12Update sccache binaries to mozilla/sccache@d3627d766Alex Crichton-39/+39
This commit updates the sccache binaries to fix a cache load failure seen on #41926, fixed by mozilla/sccache#119
2017-05-11Auto merge of #41864 - malbarbo:android-docker, r=alexcrichtonbors-5/+284
Add disabled android host builders Introduce the concept of disabled builder. A disabled builder is one that is not run by travis. It is intended to be run by the user who wants a rustc for a tier 2 or 3 platform. Off corse, there is no guarantee that it will work.
2017-05-09Add disabled android host buildersMarco A L Barbosa-5/+284
2017-05-09ci: Update android ndk and sdkMarco A L Barbosa-118/+138
2017-04-29ci: Update sccache buildAlex Crichton-34/+34
Pulls in mozilla/sccache@ef0d77543 to fix #40240 again after the builds included in #41447 forgot to include the mio fixed included in #41076. Closes #40240
2017-04-27appveyor: Use Ninja/sccache on MSVCAlex Crichton-34/+34
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-27travis: Update sccache build usedAlex Crichton-34/+34
This build is no longer a forked version with temporary bugfixes, everything should be upstreamed!
2017-04-24Auto merge of #40123 - TimNN:llvm40, r=alexcrichtonbors-5/+5
LLVM 4.0 Upgrade Since nobody has done this yet, I decided to get things started: **Todo:** * [x] push the relevant commits to `rust-lang/llvm` and `rust-lang/compiler-rt` * [x] cleanup `.gitmodules` * [x] Verify if there are any other commits from `rust-lang/llvm` which need backporting * [x] Investigate / fix debuginfo ("`<optimized out>`") failures * [x] Use correct emscripten version in docker image --- Closes #37609. --- **Test results:** Everything is green 🎉
2017-04-23FIN: update emscripten builderTim Neumann-5/+5
2017-04-20Add x86_64-linux-android targetMarco A L Barbosa-3/+11
2017-04-16Auto merge of #41157 - aidanhs:aphs-debug-appveyor-cache, r=TimNNbors-0/+2
Add a comment for disabling errexit, try to debug appveyor cache Comments added as requested. Also, lets add some cache debugging to appveyor. I *think* this is how to ignore errors in cmd.exe (and I did try it on my own machine), but I'm not 100% sure how appveyor runs them. In the worst case it'll fail but I guess that isn't the end of the world since the build has already failed by this point. r? @TimNN
2017-04-14Add a comment for disabling errexitAidan Hobson Sayers-0/+2
2017-04-12travis: Enable rust-analysis package for more targetsAlex Crichton-3/+7
This commit enables the `rust-analysis` package to be produced for all targets that are part of the `dist-*` suite of docker images on Travis. Currently these packages are showing up with `available = false` in the `channel-rust-nightly.toml` manifest where we'd prefer to have them show up for all targets. Unfortunately rustup isn't handling the `available = false` section well right now, so this should also inadvertently fix the nightly regression.
2017-04-12Auto merge of #40584 - nrc:rls-submod, r=alexcrichtonbors-1/+0
Add the RLS as a submodule and build a package out of it r? @brson (and cc @alexcrichton) Please review closely, I am not at all convinced I've done the right things here. I did run `x.py dist` and it makes an rls package which looks right to my eyes, but I haven't tested on non-linux platforms nor am I really sure what it should look like. This does not attempt to run tests for the RLS yet.
2017-04-11Rollup merge of #41231 - TimNN:fix-centos, r=frewsxcvCorey Farwell-2/+2
Use correct vault URL in CentOS images r? @frewsxcv
2017-04-11use correct vault urlTim Neumann-2/+2
2017-04-11Make sccache a bit quieterAidan Hobson Sayers-1/+0
2017-04-10Remove --enable-save-analysis configure flagNick Cameron-1/+0
2017-04-08Auto merge of #41147 - aidanhs:aphs-fix-appveyor-cache, r=TimNNbors-1/+3
Disable errexit for sanity checking git repo Unblock appveyor
2017-04-07Disable errexit for sanity checking git repoAidan Hobson Sayers-1/+3
2017-04-07Auto merge of #41138 - frewsxcv:rollup, r=frewsxcvbors-24/+82
Rollup of 9 pull requests - Successful merges: #40797, #41047, #41056, #41061, #41075, #41080, #41120, #41130, #41131 - Failed merges:
2017-04-07Rollup merge of #41130 - petrhosek:fuchsia-ci-upstream, r=alexcrichtonCorey Farwell-12/+64
travis: Use upstream LLVM repositories for Fuchsia The Fuchsia copies of LLVM repositories contain additional patches for work-in-progress features and there is some amount of churn that may break Rust. Use upstream LLVM repositories instead for building the toolchain used by the Fuchsia builder.
2017-04-07Rollup merge of #41080 - cuviper:generic-powerpc, r=alexcrichtonCorey Farwell-10/+5
dist-powerpc-linux: use a pure 32-bit CPU profile With `-mcpu=power4`, code might use instructions like `fcfid`, excluding older CPUs like the PowerPC G4, which apparently some users would like to use. The generic `-mcpu=powerpc` should stick to pure 32-bit PowerPC instructions. Fixes rust-lang/cargo#3852.
2017-04-07Rollup merge of #41075 - aidanhs:aphs-enable-appveyor-cache, r=alexcrichtonCorey Farwell-2/+13
Re-enable appveyor cache After breaking the queue last time, I'm cautiously back with a PR to re-enable caching on appveyor. If you look at https://ci.appveyor.com/project/rust-lang/rust/build/1.0.2623/job/46o90by4ari6gege (one of the multiple runs that started failed, there are actually two errors - one for restoring the cache, one right at the bottom for creating a directory. I only noticed the restore error at the time as I was a bit rushed to revert and didn't stop to wonder why it continued - turns out appveyor [does not abort on cache restore failure](https://github.com/appveyor/ci/issues/723). Turns out the cause of the build failures was the cache directory existing and me being thinking that because mkdir on windows is [recursive by default](http://stackoverflow.com/a/905239/2352259), it ignores the error if the directory already exists. Apparently this is not true, so now it checks if the directory exists before attempting to create. In addition, I've added some more paranoia to double check everything is sane.
2017-04-07Auto merge of #40971 - malbarbo:android-emulator-64, r=alexcrichtonbors-4/+6
Use 64 bits emulator to run android tests Also install headless jre instead of the full jre.