Skip to content
Snippets Groups Projects
Commit ab5135db authored by Frédéric Simonis's avatar Frédéric Simonis Committed by Peter Scheibel
Browse files

Boost package: Fix iostream autodetect libraries (#12440)

Boost iostream autodetects the compression libraries libzstd and
liblzma outside of the Spack environment.

This commit disables mentioned libraries. In the future if the
Spack zstd/lzma packages were added as dependencies of the Spack
Boost package, additional work could be done to build Boost with
the Spack-built versions of these libraries.
parent 0f931cfc
No related branches found
No related tags found
No related merge requests found
...@@ -305,7 +305,9 @@ def determine_b2_options(self, spec, options): ...@@ -305,7 +305,9 @@ def determine_b2_options(self, spec, options):
'-s', 'BZIP2_INCLUDE=%s' % spec['bzip2'].prefix.include, '-s', 'BZIP2_INCLUDE=%s' % spec['bzip2'].prefix.include,
'-s', 'BZIP2_LIBPATH=%s' % spec['bzip2'].prefix.lib, '-s', 'BZIP2_LIBPATH=%s' % spec['bzip2'].prefix.lib,
'-s', 'ZLIB_INCLUDE=%s' % spec['zlib'].prefix.include, '-s', 'ZLIB_INCLUDE=%s' % spec['zlib'].prefix.include,
'-s', 'ZLIB_LIBPATH=%s' % spec['zlib'].prefix.lib]) '-s', 'ZLIB_LIBPATH=%s' % spec['zlib'].prefix.lib,
'-s', 'NO_LZMA=1',
'-s', 'NO_ZSTD=1'])
link_types = ['static'] link_types = ['static']
if '+shared' in spec: if '+shared' in spec:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment