diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2021-09-28 23:28:37 +0300 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-09-29 20:16:02 -0700 |
commit | fe0809360d391ac98f43625b115ce5def3eda408 (patch) | |
tree | 9d38c3500a435b18258e505f1c372fe98f73ce50 | |
parent | 79f9a2076a103ece991590d250e09551c1897cf2 (diff) | |
download | meson-fe0809360d391ac98f43625b115ce5def3eda408.zip meson-fe0809360d391ac98f43625b115ce5def3eda408.tar.gz meson-fe0809360d391ac98f43625b115ce5def3eda408.tar.bz2 |
compilers: There is clang for e2k (elbrus) platform finally
-rw-r--r-- | mesonbuild/compilers/detect.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mesonbuild/compilers/detect.py b/mesonbuild/compilers/detect.py index 52ad7f3..88da0cc 100644 --- a/mesonbuild/compilers/detect.py +++ b/mesonbuild/compilers/detect.py @@ -167,12 +167,10 @@ if is_windows(): defaults['cs'] = ['csc', 'mcs'] else: if platform.machine().lower() == 'e2k': - # There are no objc or objc++ compilers for Elbrus, - # and there's no clang which can build binaries for host. - defaults['c'] = ['cc', 'gcc', 'lcc'] - defaults['cpp'] = ['c++', 'g++', 'l++'] - defaults['objc'] = [] - defaults['objcpp'] = [] + defaults['c'] = ['cc', 'gcc', 'lcc', 'clang'] + defaults['cpp'] = ['c++', 'g++', 'l++', 'clang'] + defaults['objc'] = ['clang'] + defaults['objcpp'] = ['clang'] else: defaults['c'] = ['cc', 'gcc', 'clang', 'nvc', 'pgcc', 'icc'] defaults['cpp'] = ['c++', 'g++', 'clang++', 'nvc++', 'pgc++', 'icpc'] |