Bugfix: Do not raise InstallError for ascent_ver (#17578)
This commit is contained in:
parent
897e80e596
commit
86ec698a33
@ -106,7 +106,7 @@ def cmake_args(self):
|
||||
|
||||
# logging support
|
||||
if "+logging" in spec:
|
||||
if spec.satisfies('@:1.2.0'):
|
||||
if not spec.satisfies('@1.3.0:,ascent_ver'):
|
||||
raise InstallError('logging is not supported for\
|
||||
vtkm version lower than 1.3')
|
||||
options.append("-DVTKm_ENABLE_LOGGING:BOOL=ON")
|
||||
@ -115,7 +115,7 @@ def cmake_args(self):
|
||||
|
||||
# mpi support
|
||||
if "+mpi" in spec:
|
||||
if spec.satisfies('@:1.2.0'):
|
||||
if not spec.satisfies('@1.3.0:,ascent_ver'):
|
||||
raise InstallError('mpi is not supported for\
|
||||
vtkm version lower than 1.3')
|
||||
options.append("-DVTKm_ENABLE_MPI:BOOL=ON")
|
||||
@ -125,7 +125,7 @@ def cmake_args(self):
|
||||
# openmp support
|
||||
if "+openmp" in spec:
|
||||
# openmp is added since version 1.3.0
|
||||
if spec.satisfies('@:1.2.0'):
|
||||
if not spec.satisfies('@1.3.0:,ascent_ver'):
|
||||
raise InstallError('OpenMP is not supported for\
|
||||
vtkm version lower than 1.3')
|
||||
options.append("-DVTKm_ENABLE_OPENMP:BOOL=ON")
|
||||
|
Loading…
Reference in New Issue
Block a user