Add -DSTK_NO_BOOST_STACKTRACE to compile line in trilinos if +stk and on a Mac. (#23625)

This commit is contained in:
Jon Rood 2021-05-13 19:21:40 -06:00 committed by GitHub
parent 8b25bdcf4d
commit 0cc42acbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -885,6 +885,8 @@ def define_prefix_enable(prefix, cmake_var, spec_var=None):
if sys.platform == 'darwin':
options.append(define('Trilinos_ENABLE_FEI', False))
if '+stk' in spec:
cxx_flags.extend(['-DSTK_NO_BOOST_STACKTRACE'])
if sys.platform == 'darwin' and macos_version() >= Version('10.12'):
# use @rpath on Sierra due to limit of dynamic loader