adios2 package: turn off new options by default on windows (#47070)
... for now. Will turn them back on for Windows when necessary adjustments are made to the package to support them.
This commit is contained in:
parent
d518aaa4c9
commit
56b2979966
@ -3,11 +3,14 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
from spack.build_systems.cmake import CMakeBuilder
|
||||
from spack.package import *
|
||||
|
||||
IS_WINDOWS = sys.platform == "win32"
|
||||
|
||||
|
||||
class Adios2(CMakePackage, CudaPackage, ROCmPackage):
|
||||
"""The Adaptable Input Output System version 2,
|
||||
@ -77,7 +80,7 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
|
||||
variant("zfp", default=True, description="Enable ZFP compression")
|
||||
variant("png", default=True, when="@2.4:", description="Enable PNG compression")
|
||||
variant("sz", default=True, when="@2.6:", description="Enable SZ compression")
|
||||
variant("mgard", default=True, when="@2.8:", description="Enable MGARD compression")
|
||||
variant("mgard", default=not IS_WINDOWS, when="@2.8:", description="Enable MGARD compression")
|
||||
|
||||
# Rransport engines
|
||||
variant("sst", default=True, description="Enable the SST staging engine")
|
||||
@ -99,7 +102,7 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
|
||||
)
|
||||
variant(
|
||||
"libcatalyst",
|
||||
default=True,
|
||||
default=not IS_WINDOWS,
|
||||
when="@2.9:",
|
||||
description="Enable support for in situ visualization plugin using ParaView Catalyst",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user