[PATCH] D49115: Add lowercase OS name feature
Vlad Tsyrklevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 9 19:07:24 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL336633: Add lowercase OS name feature (authored by vlad.tsyrklevich, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D49115
Files:
compiler-rt/trunk/test/lit.common.cfg
Index: compiler-rt/trunk/test/lit.common.cfg
===================================================================
--- compiler-rt/trunk/test/lit.common.cfg
+++ compiler-rt/trunk/test/lit.common.cfg
@@ -91,8 +91,10 @@
if platform.system() == 'Windows' and '-win' in config.target_triple:
config.environment['LIB'] = os.environ['LIB']
+config.available_features.add(config.host_os.lower())
+
if re.match(r'^x86_64.*-linux', config.target_triple):
- config.available_features.add("x86_64-linux")
+ config.available_features.add("x86_64-linux")
# Use ugly construction to explicitly prohibit "clang", "clang++" etc.
# in RUN lines.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49115.154752.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/d7097dc7/attachment.bin>
More information about the llvm-commits
mailing list