diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2018-04-12 22:40:53 +0300 |
---|---|---|
committer | makise-homura <akemi_homura@kurisa.ch> | 2018-04-12 22:40:53 +0300 |
commit | 495f47b12ba0f6463c999a1ec988146fd0b578b8 (patch) | |
tree | 1bcb57abb38378a75460e44163ac99d6135c35fd | |
parent | 0bea50816b6ffc0f35a15bdbac3cfd00bc13e8e0 (diff) | |
download | meson-495f47b12ba0f6463c999a1ec988146fd0b578b8.zip meson-495f47b12ba0f6463c999a1ec988146fd0b578b8.tar.gz meson-495f47b12ba0f6463c999a1ec988146fd0b578b8.tar.bz2 |
Make more precise CPU detection for Elbrus platform
-rw-r--r-- | mesonbuild/environment.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 25be7cb..cb23a5b 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -213,6 +213,9 @@ def detect_cpu(compilers): except mesonlib.MesonException: pass 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. return trial |