about summary refs log tree commit diff
path: root/src/ci/docker/host-x86_64/dist-x86_64-linux
AgeCommit message (Collapse)AuthorLines
2025-09-26Rename `rust.use-lld` to `rust.bootstrap-override-lld`Jakub Beránek-1/+1
2025-08-12Replace `stage0-tools-bin` with `stage1-tools-bin`Jakub Beránek-1/+1
2025-07-15Fix handling of SCRIPT_ARG in docker imagesNikita Popov-3/+1
Instead of making this a build parameter, pass the SCRIPT as an environment variable. To this purpose, normalize on always referring to a script in `/scripts`. For i686-gnu-nopt-2 I had to create a separate script, because Docker seems to be really terrible at command line argument parsing, so it's not possible to pass an environment variable that contains whitespace.
2025-06-25Do not build GCC in fast try buildsJakub Beránek-1/+4
2025-05-30Do not run PGO/BOLT in x64 Linux alt buildsJakub Beránek-8/+28
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-04-28ci: use aws codebuild for the `dist-x86_64-linux` jobMarcoIeni-1/+1
2025-03-13Use GCC for building GCCJakub Beránek-1/+3
2025-02-28Build GCC on the Linux x64 dist runnerJakub Beránek-1/+1
2025-01-27Fix 2/4 tests skipped by opt-distBen Kimock-0/+2
2025-01-21Make it possible to build GCC on CIJakub Beránek-0/+1
This is the first step to enable download of precompiled GCC
2025-01-11ci: Organise shared helper scriptsKajetan Puchalski-192/+6
Move shared helper scripts used by Docker builds under docker/scripts.
2024-12-27Auto merge of #134690 - clubby789:ci-clang-lto, r=Kobzolbors-2/+10
CI: Add LTO support to clang in dist-x86_64-linux After https://github.com/rust-lang/cc-rs/pull/1279, we attempt to pass `-flto=thin` to clang. In `dist-x86_64-linux`, we don't build clang with the `LLVMgold.so` library so this fails. This attempts to resolve this First, pass the binutils plugin include directory to Clang, [which will build the library](https://github.com/llvm/llvm-project/blob/2d6d723a85c2d007b0359c206d66cd2e5a9f00e1/llvm/docs/GoldPlugin.rst#how-to-build-it) Second, this library depends on the *version of libstdc++ that we built* specifically. However, despite both the RPATH and LD_LIBRARY_PATH pointing to `/rustroot/lib`, we incorrectly resolve to the system libstdc++, which doesn't load. ``` # LD_DEBUG=libs,files 2219: file=libstdc++.so.6 [0]; needed by /rustroot/bin/../lib/LLVMgold.so [0] 2219: find library=libstdc++.so.6 [0]; searching 2219: search path=/rustroot/bin/../lib/../lib (RPATH from file /rustroot/bin/../lib/LLVMgold.so) 2219: trying file=/rustroot/bin/../lib/../lib/libstdc++.so.6 2219: search path=/usr/lib64/tls:/usr/lib64 (system search path) 2219: trying file=/usr/lib64/tls/libstdc++.so.6 2219: trying file=/usr/lib64/libstdc++.so.6 ``` Using `LD_PRELOAD` causes it to correctly load the library I think this is probably not the most maintainable way to do this, so opening to see if this is desired and if there's a better way of doing this
2024-12-27Add LTO support to clang in CIclubby789-2/+10
2024-12-26Strip debuginfo from rustc-main and rustdocclubby789-0/+1
2024-12-20Revert "Auto merge of #133809 - mrkajetanp:ci-aarch64-dist, r=Kobzol"Jakub Beránek-5/+190
This reverts commit 023521e6825edfa6df01e392520d7cb120eab158, reversing changes made to c434b4b4b6cd20560c5b32e80b2b22618a4da3dd.
2024-12-18ci: Organise shared helper scriptsKajetan Puchalski-190/+5
Move shared helper scripts used by Docker builds under docker/scripts.
2024-09-27Update libgccjit version used in CIGuillaume Gomez-1/+1
2024-09-04Auto merge of #129356 - nikic:llvm19-host, r=Mark-Simulacrumbors-1/+2
Update x86_64-linux host compiler to LLVM 19 rc 3
2024-08-25move and rename zstd scriptRémy Rakic-3/+32
move it where it's used, and name it like the other scripts
2024-08-21Update x86_64-linux host compiler to LLVM 19 rc 3Nikita Popov-1/+2
2024-08-09Install zstd in dist builder image.Kyle Huey-0/+4
Build libzstd from source because the EPEL package is built without fPIC.
2024-08-09Enable zstd for debug compression.Kyle Huey-0/+1
Set LLVM_ENABLE_ZSTD alongside LLVM_ENABLE_ZLIB so that --compress-debug-sections=zstd is an option. Use static linking to avoid a new runtime dependency. Add an llvm.libzstd bootstrap option for LLVM with zstd. Set it off by default except for the dist builder. Handle llvm-config --system-libs output that contains static libraries.
2024-07-10Update GCC versionGuillaume Gomez-1/+1
2024-06-12ci: Update centos:7 to use vault reposJosh Stone-1/+5
CentOS 7 is going EOL on June 30, after which its package repos will no longer exist on the regular mirrors. We'll still be able to access packages from the vault server though, and can start doing so now. This affects `dist-i686-linux` and `dist-x86_64-linux`. I also removed `epel-release` because we were only using that for its `cmake3`, but we've been building our own version for a while.
2024-05-20refactor(ci/docker/dist-x86_64-linux): remove rustc-perf downloadingBernardo Meurer Costa-8/+0
It is now available as a submodule in src/tools/rustc-perf, and is initialized when building opt-dist
2024-05-09Upgrade the version of Clang used in the build, move MSVC builds to Server 2022Daniel Paoliello-0/+1
2024-03-17Use `pushd` and `popd`Josh Stone-2/+2
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
2024-03-17Use the rust-lang/gcc repo directlyJosh Stone-1/+1
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
2024-03-17ci: Build gccjit from a git archiveJosh Stone-7/+11
A full `git clone` of GCC includes quite a lot of history, and it's completely unnecessary for building it in CI. We can use a GitHub archive URL to get a simple tarball that is much faster to download. Also, the `gcc-build` directory can be removed after install to reduce the image size even further.
2024-03-15Build GCC with as many threads as availableGuillaume Gomez-3/+3
2024-03-15Greatly reduce GCC build logsGuillaume Gomez-4/+8
2024-03-10Auto merge of #122042 - GuillaumeGomez:subtree-update_cg_gcc_2024-03-05, ↵bors-0/+29
r=MarkSimulacrum Subtree update cg gcc 2024 03 05 Reopening of #121390. r? `@ghost`
2024-03-10Use full commit hash and remove `libgccjit.version` fileGuillaume Gomez-2/+2
2024-03-09Auto merge of #120985 - Kobzol:linux-update-host-llvm, r=Mark-Simulacrumbors-1/+1
Update host LLVM on x64 Linux to LLVM 18 Updates host LLVM on Linux to `18.1.0`.
2024-03-08Update host LLVM on x64 Linux to LLVM 18Jakub Beránek-1/+1
2024-03-06Build libgccjit in CIGuillaume Gomez-0/+29
2024-02-17Update cargoWeihang Lo-0/+1
perl-core is added for building OpenSSL v3 See https://github.com/openssl/openssl/blob/openssl-3.2.1/NOTES-PERL.md
2023-11-07add note to remember to update a url when bumping to gcc 10.1.0Rémy Rakic-0/+6
2023-11-07ci: bump gcc on dist x64 linux builder to 9.5Rémy Rakic-1/+1
Support for `-fuse-ld=lld` was added in GCC 9
2023-11-05bump clang version for dist-x86_64-linux from 17.0.2 to 17.0.4klensy-1/+1
This fixes few miscompiles, so nice to have.
2023-10-22Update rustc-perf versionJakub Beránek-2/+2
2023-10-09Build GCC with support for BOLTJakub Beránek-1/+6
2023-10-04Bump host compiler on x64 dist Linux to LLVM 17.0.2Jakub Beránek-1/+1
2023-09-28Build `rustc` with a single CGU on x64 LinuxJakub Beránek-1/+2
2023-09-12Refactor EnvironmentJakub Beránek-1/+1
2023-09-04Mirror the rustc-perf sourceMark Rousskov-1/+1
This avoids issues with the GitHub /archive/ links which can be somewhat unreliable and are currently causing CI issues.
2023-08-23Use LLVM 17 as the host compilerJakub Beránek-1/+1
2023-07-25CI: fix CMake installation for 32 and 64bit `dist` LinuxJakub Beránek-2/+1
2023-07-17Auto merge of #113714 - Kobzol:ci-cmake, r=nikicbors-0/+4
CI: build CMake 3.20 to support LLVM 17 LLVM 17 will require CMake at least 3.20, so we have to go back to building our own CMake on the Linux x64 dist builder. r? `@nikic`
2023-07-16CI: build CMake 3.20 to support LLVM 17Jakub Beránek-0/+4