about summary refs log tree commit diff
path: root/src/ci/docker/scripts
AgeCommit message (Collapse)AuthorLines
2023-09-28ci: upgrade to crosstool-ng 1.26.0WANG Rui-18/+1
2023-08-22ci: Update FreeBSD and illumos binutils to 2.40Fangrui Song-3/+3
The current old 2.25 seems to cause trouble to #106511. Install texinfo to dist-x86_64-freebsd/Dockerfile like other containers to fix ``` MAKEINFO doc/bfd.info /binutils/binutils-2.40/missing: 81: /binutils/binutils-2.40/missing: makeinfo: not found WARNING: 'makeinfo' is missing on your system. ```
2023-08-02Fix recent python linting errorsTrevor Gross-4/+2
- Remove unneeded imports in 'fuscia-test-runner.py' - Add explicit stacklevel to 'x.py' - Fix mutable types as default args in `bootstrap.py` and `bootstrap_test.py`
2023-07-16CI: build CMake 3.20 to support LLVM 17Jakub Beránek-3/+3
2023-06-19Rollup merge of #112499 - tgross35:py-ruff-fixes, r=Mark-SimulacrumMichael Goulet-11/+10
Fix python linting errors These were flagged by `ruff`, run using the config in https://github.com/rust-lang/rust/pull/112482
2023-06-16Apply changes to fix python linting errorsTrevor Gross-11/+10
2023-06-16Replace fvdl with ffx, allow test without installDavid Koloski-145/+92
Along with replacing fvdl uses with the equivalent ffx commands, this also switches from using the install path for libstd-*.so and libtest-*.so to using the build directory (now passed on the command line). The user no longer needs to run x.py install before running tests now, and the correct libstd and libtest are detected on run instead of startup so the test runner can handle recompilations after starting the testing environment.
2023-06-15Add support for test tmpdir to fuchsia test runnerDavid Koloski-6/+7
Also format the script to keep the code nice.
2023-06-05ci: Upgrade loongarch64-linux-gnu GCC to 13.1.0WANG Rui-1/+1
2023-05-12ci: Add support for dist-loongarch64-linuxWANG Rui-0/+18
Co-Authored-By: YANG Xiaojuan <yangxiaojuan@loongson.cn>
2023-05-06Auto merge of #107129 - wesleywiser:musl_1.2_upgrade, r=petrochenkovbors-13/+7
Update the version of musl used on `*-linux-musl` targets to 1.2.3 Update the version of musl used on our Linux musl targets from 1.1.24 to 1.2.3 as proposed in rust-lang/compiler-team#572. musl 1.2.3 is the latest version of musl and supports the same range of Linux kernels as the 1.1 series. As such, it does not affect the minimum supported version of Linux for any of the musl targets. One of the major musl 1.2 features is support for [time64](https://musl.libc.org/time64.html). This support is both source and ABI compatible with programs built against musl 1.1 and so updating the musl version for these targets should not cause Rust programs to fail to run or compile (a [crater run](https://github.com/rust-lang/rust/pull/107129#issuecomment-1407196104) has been completed which demonstrates this for the `i686-unknown-linux-musl` target). Once this change reaches stable, the `libc` crate will then be able to [update their definitions to support 64-bit time](https://github.com/rust-lang/libc/pull/3068), matching the default musl 1.2 APIs exactly. Fixes #91178
2023-05-03Rollup merge of #111154 - djkoloski:use_builtin_ffx_isolation, r=tmandryManish Goregaokar-92/+45
Use builtin FFX isolation for Fuchsia test runner FFX has new builtin support for isolating the daemon's environment. This switches the manual isolation originally written to that new builtin feature. r? ````@tmandry````
2023-05-03Use builtin FFX isolation for Fuchsia test runnerDavid Koloski-92/+45
FFX has new builtin support for isolating the daemon's environment. This switches the manual isolation originally written to that new builtin feature.
2023-04-26ci: refactor crosstool-ng to use mini-defconfigJosh Stone-0/+32
2023-04-26ci: upgrade to crosstool-ng 1.25.0Josh Stone-16/+10
2023-04-17Spelling src/ciJosh Soref-1/+1
* architecture * configures * preparation * toolstate * unknown Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-29Update Emscripten on CI to 2.0.5Kleis Auke Wolthuizen-2/+2
`getentropy()` is available since Emscripten 2.0.5. See: https://github.com/emscripten-core/emscripten/pull/12240
2023-03-01Run compiler test suite in parallel on FuchsiaDavid Koloski-13/+26
2023-02-24Update `fuchsia-test-runner.py` and docsDavid Koloski-13/+69
This updates the test runner to the latest version of the SDK and fixes debugging support for Rust source code.
2023-02-02Use triple rather than arch for fuchsia test runnerJoseph Ryan-28/+23
2023-01-20Specify version of Linux headersWesley Wiser-2/+3
2023-01-20Bump musl-cross-make to get support for building musl 1.2.3Wesley Wiser-2/+2
2023-01-20Upgrade to musl 1.2.3Wesley Wiser-12/+5
2023-01-18Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbinibors-20/+2
Ndk update redux Blocked on https://github.com/rust-lang/blog.rust-lang.org/pull/1055
2023-01-05Add vendor to Fuchsia's target tripleDavid Koloski-3/+3
Historically, Rust's Fuchsia targets have been labeled x86_64-fuchsia and aarch64-fuchsia. However, they should technically contain vendor information. This CL changes Fuchsia's target triples to include the "unknown" vendor since Clang now does normalization and handles all triple spellings. This was previously attempted in #90510, which was closed due to inactivity.
2022-12-14Update CI to use Android NDK r25bChris Wailes-20/+2
This commit updates the CI definitions to use the most recent Android LTS NDK release: r25b. Changes since the last NDK used by Rust negate the need to generate "standalone toolchains" and newer NDKs can be used in-place. See https://developer.android.com/ndk/guides/other_build_systems#overview
2022-12-13Adjust log line in `fuchsia-test-runner.py`Andrew Pollack-1/+1
* Adjusting log line in `fuchsia-test-runner.py` to refer to self
2022-12-03std update libc version and freebsd image build dependenciesDavid CARLIER-1/+1
2022-11-29Rollup merge of #104465 - djkoloski:improve_fuchsia_testing_docs, r=tmandryMatthias Krüger-0/+0
Document more settings for building rustc for Fuchsia This documents that you need to link for Fuchsia with `lld` and provides configuration settings for both `clang` and `lld`. It also adjusts the documentation for running the test suite to recommend installing to a prefix. r? ``@tmandry``
2022-11-19Revert "Update CI to use Android NDK r25b"Alex Pinkus-2/+20
This reverts commit bf7f1ca316a249cf99d722d79a0db12fef687142.
2022-11-16[fuchsia] Document more settings for building RustDavid Koloski-0/+0
2022-11-11Adding Fuchsia compiler testing script, docsAndrew Pollack-0/+1041
2022-10-04Update CI to use Android NDK r25bChris Wailes-20/+2
This commit updates the CI definitions to use the most recent Android LTS NDK release: r25b. Changes since the last NDK used by Rust negate the need to generate "standalone toolchains" and newer NDKs can be used in-place. See https://developer.android.com/ndk/guides/other_build_systems#overview
2022-08-23ci: Upgrade android containers from ubuntu:16.04 to 22.04Josh Stone-0/+1
2022-07-10Remove unsupported options in configure.pyJoshua Nelson-1/+1
I've seen people using `optimize = false` and `full-bootstrap = true` in the past, without knowing that they're not recommended. Remove `optimize` and a few other options that are always a bad idea, and document that full-bootstrap is only for testing reproducible builds.
2022-06-10Update FreeBSD toolchain to 12.3Nikita Popov-4/+4
2022-03-17Fix cmake build.Eric Huss-3/+3
2022-01-10Add note about upstream commit musl-patch-configure.diff is derived fromWesley Wiser-1/+3
2021-12-15Pull in libdevstat on FreeBSDLaurențiu Nicola-1/+1
2021-11-12Build musl dist artifacts with debuginfo enabledWesley Wiser-1/+21
Since our musl targets link to a version of musl we build and bundle with the targets, if users need to debug into musl or generate backtraces which contain parts of the musl library, they will be unable to do so unless we enable and ship the debug info. This patch changes our dist builds so they enabled debug info when building musl. This patch also includes a fix for CFI detection in musl's `configure` script which has been posted upstream[1]. The net effect of this is that we now ship debug info for musl in those targets. This adds ~90kb to those artifacts but running `strip` on binaries produced removes all of that. For a "hello world" Rust binary on x86_64, the numbers are: | | debug | release | release + strip | | - | - | - | - | | without musl debuginfo | 507kb | 495kb | 410kb | | with musl debuginfo | 595kb | 584kb | 410kb | Once stripped, the final binaries are the same size (down to the byte). [1]: https://www.openwall.com/lists/musl/2021/10/21/2
2021-11-02Pull in libkvm on FreeBSDLaurențiu Nicola-1/+1
2021-09-08update of the CI freebsd toolchainDavid Carlier-1/+1
adding libproctsta, for the upcoming libc update.
2021-08-25Bump sccache used in CI to v0.2.15Mark Rousskov-2/+5
This skips bumping Windows sccache because we run into compilation failures when doing so (-m32 not supported by clang-cl?). Not clear on cause, but seems easiest to just hold back. This should avoid PGO-related failures encountered on Linux, and more broadly seems like a good idea on other platforms as well (though it is likely not necessary right this moment).
2021-03-04Auto merge of #81451 - nikic:llvm-12, r=nagisabors-0/+34
Upgrade to LLVM 12 This implements the necessary adjustments to make rustc work with LLVM 12. I didn't encounter any major issues so far. r? `@cuviper`
2021-03-01Build newer version of cmake in Docker imagesNikita Popov-0/+34
LLVM requires CMake 3.13.4, which is only available as of Ubuntu 20.04. On images using an older version, build it manually.
2021-03-01Update Docker to use the correct targetJakub Kulik-1/+1
2021-01-29Update dist-various to Ubuntu 20.04Nikita Popov-1/+1
This updates the dist-various-1 and dist-various-2 images to Ubuntu 20.04. This requires some adjustments: * `DEBIAN_FRONTEND=noninteractive` required for apt install. * `team-gcc-argm-embedded` PPA does not support focal. However, we can simply use the distro-provided `gcc-arm-none-eabi`. Per the comment, the PPA was only used to get a newer version. * rumprun has to be updated to avoid a linker error. * We need to build rumrun with `NOGCCERROR`, which disables use of `-Werror` and allows building with a newer compiler. * We need to install `libtinfo5`, which appears to be a dependency of the clang used during the fuchsia build. * We need to switch to `g++-8` rather than `g++-7`, as at least `g++-7-arm-linux-gnueabi` is not available on focal. * We need to upgrade to GCC 6.5 for the Solaris build, as GCC 6.4 does not support the newer libisl version.
2020-11-06fix shellcheck error of SC2068Daiki Ihara-5/+5
2020-11-06fix shellcheck error of SC2148Daiki Ihara-0/+12
2020-10-24Use own mirror for linux headers in musl-toolchain CI script.Mara Bos-2/+8