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