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
|
# logging support
|
||||||
if "+logging" in spec:
|
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\
|
raise InstallError('logging is not supported for\
|
||||||
vtkm version lower than 1.3')
|
vtkm version lower than 1.3')
|
||||||
options.append("-DVTKm_ENABLE_LOGGING:BOOL=ON")
|
options.append("-DVTKm_ENABLE_LOGGING:BOOL=ON")
|
||||||
@ -115,7 +115,7 @@ def cmake_args(self):
|
|||||||
|
|
||||||
# mpi support
|
# mpi support
|
||||||
if "+mpi" in spec:
|
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\
|
raise InstallError('mpi is not supported for\
|
||||||
vtkm version lower than 1.3')
|
vtkm version lower than 1.3')
|
||||||
options.append("-DVTKm_ENABLE_MPI:BOOL=ON")
|
options.append("-DVTKm_ENABLE_MPI:BOOL=ON")
|
||||||
@ -125,7 +125,7 @@ def cmake_args(self):
|
|||||||
# openmp support
|
# openmp support
|
||||||
if "+openmp" in spec:
|
if "+openmp" in spec:
|
||||||
# openmp is added since version 1.3.0
|
# 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\
|
raise InstallError('OpenMP is not supported for\
|
||||||
vtkm version lower than 1.3')
|
vtkm version lower than 1.3')
|
||||||
options.append("-DVTKm_ENABLE_OPENMP:BOOL=ON")
|
options.append("-DVTKm_ENABLE_OPENMP:BOOL=ON")
|
||||||
|
Loading…
Reference in New Issue
Block a user