Don't inline BLAS/CLAPACK

This commit is contained in:
Roman Yurchak 2018-10-31 16:48:53 +01:00
parent d6bc94ef53
commit c992e847b7
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,2 @@
CFLAGS_OPT=-O2
LDFLAGS_OPT=-O2
CFLAGS_OPT=-O2 -s INLINING_LIMIT=5
LDFLAGS_OPT=-O2 -s INLINING_LIMIT=5

View File

@ -287,6 +287,8 @@ def handle_command(line, args, dryrun=False):
for lib_name in link_libs:
arg = os.path.join(lapack_dir, f"{lib_name}")
new_args.append(arg)
new_args.extend(['-s', 'INLINING_LIMIT=5'])
continue
new_args.append(arg)