Boost: enable lzma and zstd iostreams (#33998)
This commit is contained in:
parent
62b1d52a1e
commit
602984460d
@ -225,6 +225,8 @@ def libs(self):
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("bzip2", when="+iostreams")
|
||||
depends_on("zlib", when="+iostreams")
|
||||
depends_on("zstd", when="+iostreams")
|
||||
depends_on("xz", when="+iostreams")
|
||||
depends_on("py-numpy", when="+numpy", type=("build", "run"))
|
||||
|
||||
# Improve the error message when the context-impl variant is conflicting
|
||||
@ -513,9 +515,13 @@ def determine_b2_options(self, spec, options):
|
||||
"-s",
|
||||
"ZLIB_LIBPATH=%s" % spec["zlib"].prefix.lib,
|
||||
"-s",
|
||||
"NO_LZMA=1",
|
||||
"LZMA_INCLUDE=%s" % spec["xz"].prefix.include,
|
||||
"-s",
|
||||
"NO_ZSTD=1",
|
||||
"LZMA_LIBPATH=%s" % spec["xz"].prefix.lib,
|
||||
"-s",
|
||||
"ZSTD_INCLUDE=%s" % spec["zstd"].prefix.include,
|
||||
"-s",
|
||||
"ZSTD_LIBPATH=%s" % spec["zstd"].prefix.lib,
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user