trilinos: Avoid Intel compiler segfaults in Trilinos with STK (#27073)

This commit is contained in:
Jon Rood 2021-10-29 20:03:46 -06:00 committed by GitHub
parent c19514e540
commit c19a4e12c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,6 +363,9 @@ def flag_handler(self, name, flags):
flags.append('-DMUMPS_5_0')
if '+stk platform=darwin' in spec:
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:
flags.append('--expt-extended-lambda')
elif name == 'ldflags' and is_cce: