diff options
| author | Kyle Huey <khuey@kylehuey.com> | 2024-05-27 20:10:46 -0700 |
|---|---|---|
| committer | Kyle Huey <khuey@kylehuey.com> | 2024-08-09 05:55:23 -0700 |
| commit | 6e9afb8dde7a9810fe444efc6e0e282c23be0a24 (patch) | |
| tree | 90259b0ff371cbb6ca40b5d7e649bd7d1b0c06b8 /src/ci/docker | |
| parent | 97e72524a34994541810438258115802f8b85543 (diff) | |
| download | rust-6e9afb8dde7a9810fe444efc6e0e282c23be0a24.tar.gz rust-6e9afb8dde7a9810fe444efc6e0e282c23be0a24.zip | |
Enable zstd for debug compression.
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.
Diffstat (limited to 'src/ci/docker')
| -rw-r--r-- | src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile | 1 |
1 files changed, 1 insertions, 0 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 4aa1a3ccc2a..5188035d54a 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 @@ -79,6 +79,7 @@ ENV RUST_CONFIGURE_ARGS \ --set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \ --set llvm.thin-lto=true \ --set llvm.ninja=false \ + --set llvm.libzstd=true \ --set rust.jemalloc \ --set rust.use-lld=true \ --set rust.lto=thin \ |
