Make more precise CPU detection for Elbrus platform

pull/3115/head
makise-homura 7 years ago
parent 0bea50816b
commit 495f47b12b
  1. 3
      mesonbuild/environment.py

@ -213,6 +213,9 @@ def detect_cpu(compilers):
except mesonlib.MesonException: except mesonlib.MesonException:
pass pass
return 'x86_64' return 'x86_64'
if trial == 'e2k':
# Make more precise CPU detection for Elbrus platform.
trial = platform.processor().lower()
# Add fixes here as bugs are reported. # Add fixes here as bugs are reported.
return trial return trial

Loading…
Cancel
Save