about summary refs log tree commit diff
path: root/src/ci/docker
AgeCommit message (Collapse)AuthorLines
2017-12-26Add dist builder for armv5te-unknown-linux-gnueabiMarco A L Barbosa-1/+6
2017-12-26Fixup some previous configuration errors.kennytm-2/+5
2017-12-22Re-do the FreeBSD cross-builds to use Clang and libc++. Fixes #44433.Jed Davis-234/+113
The main goal here is to use FreeBSD's normal libc++, instead of statically linking the libstdc++ packaged with GCC, because that libstdc++ has bugs that cause rustc to deadlock inside LLVM. But the easiest way to use libc++ is to switch the build from GCC to Clang, and the Clang package in the Ubuntu image already knows how to cross-compile (given a sysroot and preferably cross-binutils), so the toolchain script now uses that instead of building a custom compiler. This also de-duplicates the `build-toolchain.sh` script.
2017-12-14Download the crosstool from GitHub instead of crosstool-ng.orgkennytm-4/+5
Temporary workaround since crosstool-ng.org was down. Consider mirroring the release tarball as a more permanent solution.
2017-12-11Remove armv5te target from dist-various-1Marco A L Barbosa-6/+1
Reverts https://github.com/rust-lang/rust/pull/46498 I must have made some mistake when I tested that commit and thought armv5te target worked. but testing it now the produced binaries segfaults (https://github.com/rust-lang/rust/pull/46498#issuecomment-350599233). I tried using crosstool-ng and buildroot toolchain (for armv5te) but the produced binaries also segfaults. Maybe there is a issue with the target, but I cannot investigate it any further. I think the best for now is not to distribute the armv5te target. I'm sorry for what happened.
2017-12-05Add armv5te-unknown-linux-gnueabi to cross builderMarco A L Barbosa-1/+6
2017-12-04Rename cross(2) builder to dist-various-{1,2}Marco A L Barbosa-7/+7
Follows the convention of the other builders.
2017-12-03Update the tools CI to use --no-fail-fast and --save-toolstates.kennytm-6/+43
2017-12-03Move the swap the tools test and cargotest within check-aux.kennytm-7/+11
The cargotest job is renamed to tools for clarification.
2017-11-28ci: Start running wasm32 tests on TravisAlex Crichton-0/+36
This commit allocates a builder to running wasm32 tests on Travis. Not all test suites pass right now so this is starting out with just the run-pass and the libcore test suites. This'll hopefully give us a pretty broad set of coverage for integration in rustc itself as well as a somewhat broad coverage of the llvm backend itself through integration/unit tests.
2017-11-25rustbuild: Enable WebAssembly backend by defaultAlex Crichton-0/+1
This commit alters how we compile LLVM by default enabling the WebAssembly backend. This then also adds the wasm32-unknown-unknown target to get compiled on the `cross` builder and distributed through rustup. Tests are not yet enabled for this target but that should hopefully be coming soon!
2017-11-21fix some typosMartin Lindhe-3/+3
2017-11-17Auto merge of #45991 - gnzlbg:fix_i586, r=alexcrichtonbors-0/+1
fix linking error on i586 Try to fix this linking error on i586 in cross: https://travis-ci.org/japaric/cross/builds/302095949#L8670 The problem is that `std` is built in Ubuntu 16.04 and `cross` uses a linker from 12.04. Currently this fix solves the problem for `i686-musl` making it "supercompatible", this PR applies the fix to `i586` as well. The cross PR is here: https://github.com/japaric/cross/pull/157
2017-11-14fix linking error on i586gnzlbg-0/+1
2017-11-13Use #!/usr/bin/env as shebang for Bash scriptsSébastien Santoro-39/+39
On some systems, the bash command could be available in another directory than /bin. As such, to offer an env shebang is more convenient. This make sense even for docker scripts, as you can use Docker on FreeBSD or SmartOS for example.
2017-11-12Auto merge of #45623 - mneumann:dragonfly-ci, r=alexcrichtonbors-0/+179
Add ci for DragonFly
2017-11-12Add ci for DragonFly (disabled for now)Michael Neumann-0/+179
2017-11-06Modify the script to allow for running docker images on Windows 7.kennytm-6/+57
2017-11-06dist-powerpc64le-linux: Use links from vault.centos.org instead.kennytm-3/+3
This commit reverts #45734 and applies #45744. We expect the vault links to be more stable than mirror.centos.org.
2017-11-03Fix broken link in `build-powerpc64le-toolchain.sh`kennytm-3/+3
2017-10-29ci: Upgrade Android SDK/NDK and refactor to use sdkmanager/avdmanager.kennytm-48/+66
* SDK tools is upgraded to 27.0.0. - Refactored to use `sdkmanager`/`avdmanager` instead of the deprecated `android` tool. * The Java version used by Android SDK is downgraded to OpenJDK-8, in order to download the SDK through HTTPS. * NDK is upgrade to r15c. - Dropped support for android-9 (2.3 / Gingerbread), the minimal supported version is now android-14 (4.0 / Ice Cream Sandwich). - Changed the default Android compiler from GCC to clang. - For details of change introduced by NDK r15, see https://github.com/android-ndk/ndk/wiki/Changelog-r15.
2017-10-25ci: Test more asmjs againAlex Crichton-1/+1
This was accidentally added in #45352, forgot to back it out!
2017-10-24Add WebRender to cargotestSimon Sapin-1/+5
2017-10-23Move cargotest to separate jobs on Travis-CI and AppVeyorSimon Sapin-0/+21
2017-10-21Auto merge of #45393 - alexcrichton:update-musl, r=Mark-Simulacrumbors-3/+3
ci: Update musl with new release Apparently there's at least one CVE fixed in the new version of musl, and because we're distributing it seems like a good opportunity to update! Unfortunately it looks like #38618 still hasn't been fixed.
2017-10-19ci: Update musl with new releaseAlex Crichton-3/+3
Apparently there's at least one CVE fixed in the new version of musl, and because we're distributing it seems like a good opportunity to update! Unfortunately it looks like #38618 still hasn't been fixed.
2017-10-20Rollup merge of #45352 - alexcrichton:emscripten-tests, r=nikomatsakiskennytm-4/+4
test: Update Emscripten failures/passing All tests should now have annotation for *why* they're ignored on emscripten. A few tests no longer need such an annotation as well! Closes #41299
2017-10-20Rollup merge of #45343 - bgermann:master, r=alexcrichtonkennytm-14/+14
Make Solaris builder compatible with Solaris 10 retry Unfortunately, #45255 does not quite cut it, so use a different approach to have Solaris 10 compatibility by tricking libbacktrace's autoconf tests. The sysroot download routine is slightly changed, too.
2017-10-17test: Update Emscripten failures/passingAlex Crichton-4/+4
All tests should now have annotation for *why* they're ignored on emscripten. A few tests no longer need such an annotation as well! Closes #41299
2017-10-17Remove tabsbgermann-2/+2
2017-10-17Make Solaris builder compatible with Solaris 10 retrybgermann-14/+14
Unfortunately, #45255 does not quite cut it, so use a different approach to have Solaris 10 compatibility by tricking libbacktrace's autoconf tests. The sysroot download routine is slightly changed, too.
2017-10-16Bump the minimum LLVM to 3.9Josh Stone-2/+4
Old LLVM bugs are reportedly cropping up harder, but 3.9 seems to be OK. Fixes #45277.
2017-10-15Auto merge of #45299 - kennytm:rollup, r=kennytmbors-15/+19
Rollup of 9 pull requests - Successful merges: #45113, #45250, #45255, #45258, #45263, #45264, #45269, #45280, #45289 - Failed merges:
2017-10-13Make Solaris builder compatible with Solaris 10bgermann-15/+19
2017-10-11Add gcc-multilib to cross2Marco A L Barbosa-0/+1
2017-10-11Add builder for x86_64-unknown-linux-gnux32 in cross2Marco A L Barbosa-0/+1
2017-10-10ci: Fix installing the Android SDKAlex Crichton-1/+1
Apparently the https urls are broken due to some certificate validation whatnots, and so far the least intrusive solution I've found is to just disable that.
2017-10-05Add libsocket and libresolv to Solaris builderbgermann-0/+4
2017-10-05Fix CC for solaris environmentsbgermann-2/+2
2017-10-05Merge dist-solaris with cross2 builderbgermann-61/+28
2017-10-05Rename dist-fuchsia builder to cross2bgermann-0/+0
2017-10-03Add build environment for Solarisbgermann-0/+143
This can be used to build rust-std. The dilos illumos distribution was chosen, because illumos is free software as opposed to Oracle Solaris and dilos is the only illumos distribution that supports x86_64 and sparcv9 at the same level.
2017-09-29Rollup merge of #44903 - kallisti5:ci-build-disabled, r=aidanhsMark Simulacrum-5/+7
ci: Fix building disabled containers * Change the context into the disabled directory. Now you can test containers which are disabled.
2017-09-28ci: Fix building disabled containersAlexander von Gluck IV-5/+7
* Change the context into the disabled directory. Now you can test containers which are disabled.
2017-09-28Auto merge of #44779 - tjkirch:master, r=alexcrichtonbors-1/+31
Add aarch64-unknown-linux-musl target This adds support for the aarch64-unknown-linux-musl target in the build and CI systems. This addresses half of issue #42520. The new file `aarch64_unknown_linux_musl.rs` is a copy of `aarch64_unknown_linux_gnu.rs` with "gnu" replaced by "musl", and the added logic in `build-arm-musl.sh` is similarly a near-copy of the arches around it, so overall the changes were straightforward. Testing: ``` $ sudo ./src/ci/docker/run.sh cross ... Dist std stage2 (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Building stage2 test artifacts (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Compiling getopts v0.2.14 Compiling term v0.0.0 (file:///checkout/src/libterm) Compiling test v0.0.0 (file:///checkout/src/libtest) Finished release [optimized] target(s) in 16.91 secs Copying stage2 test from stage2 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / aarch64-unknown-linux-musl) ... Build completed successfully in 0:55:22 ``` ``` $ rustup toolchain link local obj/build/x86_64-unknown-linux-gnu/stage2 $ rustup default local ``` After setting the local toolchain as default, and adding this in ~/.cargo/config: ``` [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" ``` ...then the toolchain was able to build a working ripgrep as a test: ``` $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep -i interpreter $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep NEEDED $ file target/aarch64-unknown-linux-musl/debug/rg target/aarch64-unknown-linux-musl/debug/rg: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=be11036b0988fac5dccc9f6487eb780b05186582, not stripped ```
2017-09-24Fix fuchsia toolchain prebuild setupJames Tucker-10/+14
* Adjust bootstrap to provide useful output on failure * Add missing package dependencies in the build environment * Fix permission bits on prebuilt toolchain files
2017-09-24ensure that prebuilt toolchain binaries are +xJames Tucker-0/+1
2017-09-24Re-add CMake packagePetr Hosek-0/+3
This appears to be needed by the Rust build.
2017-09-24Use Zircon's Clang rather than building our ownPetr Hosek-57/+19
This toolchain is already used to build Zircon itself and is the official Clang toolchain used by all Fuchsia developers.
2017-09-24Download clang-tools-extra as wellPetr Hosek-0/+1