elpa: Fix for aarch64 (#19872)

This commit is contained in:
t-nojiri 2020-11-13 02:24:45 +09:00 committed by GitHub
parent 757b74aeff
commit 301b94d338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,9 @@ def configure_args(self):
msg = '--enable-{0}' if feature in spec.target else '--disable-{0}'
options.append(msg.format(feature))
if spec.target.family == 'aarch64':
options.append('--disable-sse-assembly')
# If no features are found, enable the generic ones
if not any(f in spec.target for f in simd_features):
options.append('--enable-generic')