deal.II package: Update CMake variable for >=9.3.0 (#26909)
This commit is contained in:
parent
6063600a7b
commit
e221617386
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user