Skip to content

Commit ef17e91

Browse files
pull into const
1 parent df215cd commit ef17e91

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

builder/imports/awslc.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
'targets': ['linux', 'android'],
1212
'test_steps': [],
1313
'build_tests': False,
14-
'cmake_args': ['-DDISABLE_GO=ON', '-DBUILD_LIBSSL=OFF']
14+
'cmake_args': ['-DDISABLE_GO=ON', '-DBUILD_LIBSSL=OFF', '-DDISABLE_PERL=ON']
1515
}
1616

1717

@@ -54,11 +54,8 @@ def __init__(self, **kwargs):
5454
**kwargs)
5555

5656
def cmake_args(self, env):
57-
# always disable perl to skip codegen and instead rely on pre-generated code
58-
args = super().cmake_args(env) + ['-DDISABLE_PERL=ON']
59-
6057
if env.spec.compiler == 'gcc' and env.spec.compiler_version.startswith('4.'):
6158
# Disable AVX512 on old GCC versions for aws-lc as they dont support AVX512 instructions used by aws-lc
62-
args += ['-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON']
59+
return super().cmake_args(env) + ['-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON']
6360

64-
return args
61+
return super().cmake_args(env)

0 commit comments

Comments
 (0)