[libcxx-commits] [PATCH] D98026: [libcxx] [test] Fix detection of clang-cl when cross compiling
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 5 14:49:48 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9e29852f5c0f: [libcxx] [test] Fix detection of clang-cl when cross compiling (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98026/new/
https://reviews.llvm.org/D98026
Files:
libcxx/utils/libcxx/test/config.py
Index: libcxx/utils/libcxx/test/config.py
===================================================================
--- libcxx/utils/libcxx/test/config.py
+++ libcxx/utils/libcxx/test/config.py
@@ -175,7 +175,7 @@
# Gather various compiler parameters.
cxx = self.get_lit_conf('cxx_under_test')
self.cxx_is_clang_cl = cxx is not None and \
- os.path.basename(cxx) == 'clang-cl.exe'
+ os.path.basename(cxx).startswith('clang-cl')
# If no specific cxx_under_test was given, attempt to infer it as
# clang++.
if cxx is None or self.cxx_is_clang_cl:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98026.328658.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210305/0ca3eb25/attachment.bin>
More information about the libcxx-commits
mailing list