trilinos: Avoid Intel compiler segfaults in Trilinos with STK (#27073)
This commit is contained in:
parent
c19514e540
commit
c19a4e12c7
@ -363,6 +363,9 @@ def flag_handler(self, name, flags):
|
|||||||
flags.append('-DMUMPS_5_0')
|
flags.append('-DMUMPS_5_0')
|
||||||
if '+stk platform=darwin' in spec:
|
if '+stk platform=darwin' in spec:
|
||||||
flags.append('-DSTK_NO_BOOST_STACKTRACE')
|
flags.append('-DSTK_NO_BOOST_STACKTRACE')
|
||||||
|
if '+stk%intel' in spec:
|
||||||
|
# Workaround for Intel compiler segfaults with STK and IPO
|
||||||
|
flags.append('-no-ipo')
|
||||||
if '+wrapper' in spec:
|
if '+wrapper' in spec:
|
||||||
flags.append('--expt-extended-lambda')
|
flags.append('--expt-extended-lambda')
|
||||||
elif name == 'ldflags' and is_cce:
|
elif name == 'ldflags' and is_cce:
|
||||||
|
Loading…
Reference in New Issue
Block a user