aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/swift.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-30 20:25:50 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-12-06 13:25:16 +0000
commita872b925ea41be3e6beffeb934030068c0d83be9 (patch)
treec7a51c46a30202cb4109570a7c7c032be4e133f5 /mesonbuild/compilers/swift.py
parent4db1b3a09f8e1f9faf7747beca2bc77ae0e5a6a5 (diff)
downloadmeson-a872b925ea41be3e6beffeb934030068c0d83be9.zip
meson-a872b925ea41be3e6beffeb934030068c0d83be9.tar.gz
meson-a872b925ea41be3e6beffeb934030068c0d83be9.tar.bz2
Store the target architecture for CL-like compilers
Store the MSVC compiler target architecture ('x86', 'x64' or 'ARM' (this is ARM64, I believe)), rather than just if it's x64 or not. The regex used for target architecture should be ok, based on this list of [1] version outputs, but we assume x86 if no match, for safety's sake. [1] https://stackoverflow.com/a/1233332/1951600 Also detect arch even if cl outputs version to stdout. Ditto for clang-cl Future work: is_64 is now only used in get_instruction_set_args()
Diffstat (limited to 'mesonbuild/compilers/swift.py')
0 files changed, 0 insertions, 0 deletions