[MacPorts] #63750: RFE: gcc-10+: enable zstd support

MacPorts noreply at macports.org
Mon Nov 1 03:23:28 UTC 2021


#63750: RFE: gcc-10+: enable zstd support
-------------------------+-------------------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  gcc10, gcc11, gcc-devel
-------------------------+-------------------------------------
 As of GCC 10, GCC now supports zstd compression of LTO bytecode:
 https://gcc.gnu.org/gcc-10/changes.html

 This can be enabled with the `--with-zstd` option:
 https://gcc.gnu.org/install/prerequisites.html

 Trace mode also shows the configure process trying to access zstd:
 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/sphinx-
 build
   /opt/local/bin/aclocal
   /opt/local/bin/autoconf
   /opt/local/bin/autoheader
   /opt/local/bin/bison
   /opt/local/bin/clang-mp-10
   /opt/local/bin/ggrep
   /opt/local/bin/gmkdir
   /opt/local/include/mach-o/loader.h
   /opt/local/include/valgrind/memcheck.h
   /opt/local/include/zstd.h
   /opt/local/lib/libunwind.dylib
   /opt/local/lib/libzstd.a
   /opt/local/lib/libzstd.dylib
 }}}

 All that needs to be done to allow this is to add a `port:zstd` entry to
 the `depends_lib-append` section and a line for `--with-zstd=${prefix}` to
 the `configure.args` section.

-- 
Ticket URL: <https://trac.macports.org/ticket/63750>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list