We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-msse2
1 parent 30f2f92 commit e23cbefCopy full SHA for e23cbef
builder/imports/awslc.py
@@ -54,11 +54,8 @@ def __init__(self, **kwargs):
54
**kwargs)
55
56
def cmake_args(self, env):
57
- result = super().cmake_args(env)
58
if env.spec.compiler == 'gcc' and env.spec.compiler_version.startswith('4.'):
59
# Disable AVX512 on old GCC versions for aws-lc as they dont support AVX512 instructions used by aws-lc
60
- result = result + ['-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON']
61
- if env.spec.arch == 'x86':
62
- # Add -msse2 for compiler on x86.
63
- result = result + ['-DCMAKE_C_FLAGS=-msse2']
64
- return result
+ return super().cmake_args(env) + ['-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON']
+
+ return super().cmake_args(env)
0 commit comments