summaryrefslogtreecommitdiff
path: root/gcc/doc/install.texi
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-07-03 10:36:54 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-07-03 08:36:54 +0000
commit87741e51b53511bed2bd687dc48fe8578ae81d6c (patch)
treee230e0bcb2b3cceb4f9d73ecbd46d47f7fa7ffd0 /gcc/doc/install.texi
parent88614dfa2bb5a40566bef00a85b13c4b167dc3c5 (diff)
Add zstd support for LTO bytecode compression.
2019-07-03 Martin Liska <mliska@suse.cz> * Makefile.in: Define ZSTD_LIB. * common.opt: Adjust compression level to support also zstd levels. * config.in: Regenerate. * configure: Likewise. * configure.ac: Add --with-zstd and --with-zstd-include options and detect ZSTD. * doc/install.texi: Mention zstd dependency. * gcc.c: Print supported LTO compression algorithms. * lto-compress.c (lto_normalized_zstd_level): Likewise. (lto_compression_zstd): Likewise. (lto_uncompression_zstd): Likewise. (lto_end_compression): Dispatch in between zlib and zstd. (lto_compression_zlib): Mark with ATTRIBUTE_UNUSED. (lto_uncompression_zlib): Make it static. * lto-compress.h (lto_end_uncompression): Fix GNU coding style. * lto-section-in.c (lto_get_section_data): Pass info about used compression. * lto-streamer-out.c: By default use zstd when possible. * timevar.def (TV_IPA_LTO_DECOMPRESS): Rename to decompression (TV_IPA_LTO_COMPRESS): Likewise for compression. From-SVN: r272996
Diffstat (limited to 'gcc/doc/install.texi')
-rw-r--r--gcc/doc/install.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 1a0e8c7d3f8..852aa8f6dae 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -396,6 +396,12 @@ built together with GCC. Alternatively, the @option{--with-isl} configure
option should be used if isl is not installed in your default library
search path.
+@item zstd Library.
+
+Necessary to build GCC with zstd compression used for LTO bytecode.
+The library is searched in your default library patch search.
+Alternatively, the @option{--with-zstd} configure option should be used.
+
@end table
@heading Tools/packages necessary for modifying GCC