diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-03-04 14:50:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-04 14:50:41 -0800 |
| commit | df2a263ec201fc6591c554d3528924cef8211b82 (patch) | |
| tree | c3d2a86273444c113f61207beb3d2c5eabc6dd7b /src/ci/docker | |
| parent | dd594f642e613c25d339350c92600eb48994869e (diff) | |
| parent | e4bfad2ba1ee8df8147a41e480d0c2735e12dbdd (diff) | |
| download | rust-df2a263ec201fc6591c554d3528924cef8211b82.tar.gz rust-df2a263ec201fc6591c554d3528924cef8211b82.zip | |
Rollup merge of #137667 - Kobzol:gcc-dist-build, r=onur-ozkan
Add `dist::Gcc` build step This PR adds a `dist:Gcc` bootstrap step to distribute a prebuilt `libgccjit.so` from CI on x64 Linux. With primed sccache, the build takes ~4 minutes on CI, and produces a 50 MiB archive. I want to land this before adding something akin to `[gcc] download-ci-gcc = true`, to already have the artifacts available on CI, to make it easier to setup the download merge-base logic. r? ``@ghost``
Diffstat (limited to 'src/ci/docker')
| -rw-r--r-- | src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile b/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile index 0b4682ac32b..f54ecef1e30 100644 --- a/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile +++ b/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile @@ -101,7 +101,7 @@ ENV SCRIPT python3 ../x.py build --set rust.debug=true opt-dist && \ ./build/$HOSTS/stage0-tools-bin/opt-dist linux-ci -- python3 ../x.py dist \ --host $HOSTS --target $HOSTS \ --include-default-paths \ - build-manifest bootstrap + build-manifest bootstrap gcc ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang # This is the only builder which will create source tarballs |
