From 5b65fc51bc2d2b9971ab39ed81415aaae1bd7878 Mon Sep 17 00:00:00 2001 From: DmitriyMusatkin Date: Mon, 8 Jul 2024 11:08:54 -0700 Subject: [PATCH] add disable flag --- builder/imports/awslc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/imports/awslc.py b/builder/imports/awslc.py index 6c0737a71..60407687a 100644 --- a/builder/imports/awslc.py +++ b/builder/imports/awslc.py @@ -57,6 +57,6 @@ def cmake_args(self, env): if env.spec.compiler == 'gcc' and env.spec.compiler_version.startswith('4.'): # Disable AVX512 on old GCC for aws-lc # Not disable PERL for old GCC to avoid the pre-compiled binary with AVX512 - return super().cmake_args(env) + ['-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON'] + return super().cmake_args(env) + ['-DDISABLE_PERL=ON', '-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON'] else: return super().cmake_args(env) + ['-DDISABLE_PERL=ON']