[libcxx-commits] [PATCH] D98026: [libcxx] [test] Fix cross testing for windows
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 5 07:26:19 PST 2021
mstorsjo updated this revision to Diff 328523.
mstorsjo added a comment.
Split out the target info change, keeping only the clang-cl detection
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.328523.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210305/097924a6/attachment.bin>
More information about the libcxx-commits
mailing list