deal.II package: Update CMake variable for >=9.3.0 (#26909)

This commit is contained in:
Daniel Arndt 2021-10-25 18:00:40 -04:00 committed by GitHub
parent 6063600a7b
commit e221617386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,9 +460,14 @@ def cmake_args(self):
)) ))
# Threading # Threading
options.append(self.define_from_variant( if spec.satisfies('@9.3.0:'):
'DEAL_II_WITH_THREADS', 'threads' options.append(self.define_from_variant(
)) 'DEAL_II_WITH_TBB', 'threads'
))
else:
options.append(self.define_from_variant(
'DEAL_II_WITH_THREADS', 'threads'
))
if '+threads' in spec: if '+threads' in spec:
if (spec.satisfies('^intel-parallel-studio+tbb')): if (spec.satisfies('^intel-parallel-studio+tbb')):
# deal.II/cmake will have hard time picking up TBB from Intel. # deal.II/cmake will have hard time picking up TBB from Intel.