about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2018-11-06Rollup merge of #55644 - glaubitz:powerpcspe-linux, r=alexcrichtonkennytm-0/+26
ci: Add Dockerfile for dist-powerpcspe-linux This adds the Dockerfile for cross-building Rust for the powerpcspe target. It's currently disabled.
2018-11-06Auto merge of #55106 - petrhosek:fuchsia-lld, r=alexcrichtonbors-1/+12
Use lld directly for Fuchsia target Fuchsia already uses lld as the default linker, so there's no reason to always invoke it through Clang, instead we can simply invoke lld directly and pass the set of flags that matches Clang.
2018-11-05Use lld directly for Fuchsia targetPetr Hosek-1/+12
Fuchsia already uses lld as the default linker, so there's no reason to always invoke it through Clang, instead we can simply invoke lld directly and pass the set of flags that matches Clang.
2018-11-04Update llvm-emscriptenNikita Popov-7/+7
This updates emscripten to version 1.38.15, which is based on LLVM 6.0.1.
2018-11-03ci: Add Dockerfile for dist-powerpcspe-linuxJohn Paul Adrian Glaubitz-0/+26
2018-11-02Use `jemalloc-sys` on Linux and OSX compilersAlex Crichton-2/+4
This commit adds opt-in support to the compiler to link to `jemalloc` in the compiler. When activated the compiler will depend on `jemalloc-sys`, instruct jemalloc to unprefix its symbols, and then link to it. The feature is activated by default on Linux/OSX compilers for x86_64/i686 platforms, and it's not enabled anywhere else for now. We may be able to opt-in other platforms in the future! Also note that the opt-in only happens on CI, it's otherwise unconditionally turned off by default. Closes #36963
2018-10-30Update enum debuginfo testsTom Tromey-1/+1
Bug #52452 notes some debuginfo test regressions when moving to gdb 8.1. This series will also cause versions of gdb before 8.2 to fail when a recent LLVM is used -- DW_TAG_variant_part support was not added until 8.2. This patch updates one of the builders to a later version of Ubuntu, which comes with gdb 8.2. It updates the relevant tests to require both a new-enough LLVM and a new-enough gdb; the subsequent patch arranges to continue testing the fallback mode. The "gdbg" results are removed from these tests because the tests now require a rust-enabled gdb. If you read closely, you'll see that some of the lldb results in this patch still look a bit strange. This will be addressed in a subsequent patch; I believe the fix is to disable the Python pretty-printers when lldb is rust-enabled.
2018-10-26CI: Set codegen-units-std=1 for dist builds.Michael Woerister-0/+1
2018-10-21Remove the parse-fail test suiteVadim Petrochenkov-1/+0
2018-10-20Update Cargo, build curl/OpenSSL statically via featuresAlex Crichton-1/+40
In addition to to updating Cargo's submodule and Cargo's dependencies, this also updates Cargo's build to build OpenSSL statically into Cargo as well as libcurl unconditionally. This removes OpenSSL build logic from the bootstrap code, and otherwise requests that even on OSX we build curl statically.
2018-10-13Improve verify_llvm_ir config optionNikita Popov-0/+3
* Make it influence the behavior of the compiled rustc, rather than just the rustc build system. That is, if verify_llvm_ir=true, even manual invocations of the built rustc will verify LLVM IR. * Enable verification of LLVM IR in CI, for non-deploy and deploy-alt builds. This is similar to how LLVM assertions are handled.
2018-10-01Fix conditions to allow missing tools in CIChristian Poveda-1/+1
2018-09-30[ci] add qemu-system-arm in docker imageHideki Sekine-1/+2
2018-09-28Add DIST_REQUIRE_ALL_TOOLS to CI scriptsChristian Poveda-0/+4
2018-09-28Add enable-missing-tools optionChristian Poveda-0/+4
2018-09-21Update musl to 1.1.20.Adrian Budau-7/+1
2018-09-10Add rustc SHA to released DWARF debuginfoAlex Crichton-0/+1
This commit updates the debuginfo that is encoded in all of our released artifacts by default. Currently it has paths like `/checkout/src/...` but these are a little inconsistent and have changed over time. This commit instead attempts to actually define the file paths in our debuginfo to be consistent between releases. All debuginfo paths are now intended to be `/rustc/$sha` where `$sha` is the git sha of the released compiler. Sub-paths are all paths into the git repo at that `$sha`.
2018-08-30[RISCV] Add riscv32imc-unknown-none-elf target.David Craven-0/+1
2018-08-29Auto merge of #53245 - michaelwoerister:thinlto-rust-llvm, r=alexcrichtonbors-1/+10
[experimental]: Build LLVM with ThinLTO enabled (2nd attempt) This is https://github.com/rust-lang/rust/pull/51207 revived. This time, I'd like to run actual performance tests to see if it improves compile times.
2018-08-26remove no longer needed Docker imagesJorge Aparicio-70/+0
2018-08-26fix docker build for the armebv7r-none-eabi targetJorge Aparicio-1/+2
2018-08-26add armebv7r-none-eabi targetJorge Aparicio-0/+1
2018-08-26build rust-std components for the Cortex-R targetsJorge Aparicio-1/+4
2018-08-26Add target for Little-endian ARM Cortex-R4F/R5F MCUsPaolo Teti-0/+34
Similar to `armebv7r-none-eabihf`, but for Little-endian MCUs. As example TI RM4x/RM5x are Little-endian Cortex-R4F/R5F MCUs. CI/Dockerfile is intentionally in the disabled folder.
2018-08-20Compile LLVM with ThinLTO for x86_64 Linux dist builds.Michael Woerister-1/+4
2018-08-20Build LLD in addition to Clang in Linux CIMichael Woerister-0/+6
2018-08-19Fix typos found by codespell.Matthias Krüger-1/+1
2018-08-16Revert "Use public DNS server instead of 169.254.169.254 on CI."kennytm-4/+0
This reverts commit 32e8bda4e35ada92beab7236d62520e6c6df8596.
2018-08-04Rollup merge of #52940 - kennytm:move-checktool-protection-week, r=alexcrichtonkennytm-4/+6
Align 6-week cycle check with beta promotion instead of stable release. The regression check is to make beta promotion easier, so it makes more sense to use the Tuesday of the release week (T-2) as the end point of the regression prevention, instead of Thursday (T-0). But since the beta promotion PR is sent at Tuesday evening at UTC, the protection should include the whole Tuesday as well, meaning the 6-week cycle will start from Wednesdays. This will also move the start of the regression protection week one day earlier.
2018-08-01[RISCV] Enable CI.David Craven-0/+1
2018-08-01Align 6-week cycle check with beta promotion instead of stable release.kennytm-4/+6
The regression check is to make beta promotion easier, so it makes more sense to use the Tuesday of the release week (T-2) as the end point of the regression prevention, instead of Thursday (T-0). But since the beta promotion PR is sent at Tuesday evening at UTC, the protection should include the whole Tuesday as well, meaning the 6-week cycle will start from Wednesdays. This will also move the start of the regression protection week one day earlier.
2018-07-29Test clippy first to workaround the derive-new conflict.kennytm-1/+2
2018-07-26Omit the vendor component in Fuchsia triplePetr Hosek-13/+13
Previously, using unknown as the vendor value would lead to the same result, but with the multiarch runtimes support in Clang, the target is now used to locate the runtime libraries and so the format is important. The denormalized format with omitted vendor component is the format we use with Clang and should be using for Rust as well.
2018-07-25Auto merge of #52561 - ljedrz:fixme_cc_271, r=alexcrichtonbors-7/+1
Remove obsolete armv5te vars from the dist-various-1 Dockerfile The [related cc issue](https://github.com/alexcrichton/cc-rs/issues/271) is closed and its changes are in force.
2018-07-24Rollup merge of #52538 - ljedrz:old_musl_i586_flags, r=kennytmkennytm-3/+1
Remove obsolete flags in the i586_musl Dockerfile Resolves an [outdated FIXME](https://github.com/rust-lang/rust/blob/ab8b961677ac5c74762dcea955aa0ff4d7fe4915/src/ci/docker/dist-i586-gnu-i586-i686-musl/Dockerfile#L45) in the Dockerfile for dist-i586-gnu-i586-i686-musl.
2018-07-22Rollup merge of #52465 - sekineh:add-ci-thumb, r=alexcrichtonkennytm-1/+8
Add CI test harness for `thumb*` targets. [IRR-2018-embedded] This pull request will do the following (rather trivial) changes: - Fix #52163. In other words, we enabled `./x.py test src/test/run-make` for `no_std` targets. - Modify `dist-various-1` Dockerfile. - CI now performs `run-make` test run on the targets below: - `thumbv6m-none-eabi` - `thumbv7m-none-eabi` - `thumbv7em-none-eabi` - `thumbv7em-none-eabihf`. - ~~Add `thumb-none` Dockerfile.~~ - ~~Initially, `thumbv7m-none-eabi`, `thumbv7em-none-eabi` and `thumbv7em-none-eabihf` are included as the tested target. `thumbv6m-none-eabi` is disabled for now because LLVM support is not certain.~~ - ~~Add `thumb-none` to .travis.yml~~ Note: - `run-make` tests are not implemented yet. This PR is test harness only. The amount of change is very small, but I'd like to open the pull request while the change is trivial. Because I'm not very used to pull request process, I want to make a small progress first. This PR will be a foundation for later additions. CC @kennytm @jamesmunns @nerdyvaishali
2018-07-20Remove obsolete armv5te vars from the dist-various-1 Dockerfileljedrz-7/+1
2018-07-19Fix docker/run.sh script when run locallyAlex Crichton-1/+1
Switch a `mkdir $foo` to `mkdir -p $foo` to handle the case that this script is being run locally and has previously executed.
2018-07-19Remove obsolete flags in the i586_musl Dockerfileljedrz-3/+1
2018-07-18Re-include `thumbv6m-none-eabi` to `run-make` targetHideki Sekine-2/+2
2018-07-18Use `dist-various-1` Dockerfile.Hideki Sekine-35/+8
2018-07-18Cleanup Dockerfile.Hideki Sekine-79/+0
2018-07-18Adjust TARGETS.Hideki Sekine-18/+3
2018-07-17Block beta if clippy breaks.kennytm-7/+9
Don't fail master pull request when an unrelated tool is not test-pass.
2018-07-13Enabled core dump on Linux, and print stack trace on failure.kennytm-0/+6
2018-07-09bump minimum LLVM version to 5.0gnzlbg-2/+2
2018-07-08Remove the comment line that harmed.Hideki Sekine-1/+0
2018-07-08Tweak to run test for thumbv7m target.Hideki Sekine-18/+20
2018-07-08Create Dockerfile based on dist-various-1.Hideki Sekine-0/+127
2018-07-05Update musl to 1.1.19 and add patch to fix tls issueMarco A L Barbosa-1/+7