[PATCH] D70467: [Distro] Bypass distro detection on Windows
Alexandre Ganea via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 13:35:17 PST 2019
aganea updated this revision to Diff 230525.
aganea added a comment.
Removed `#ifdef _WIN32`
Use the target triple where possible to detect the distro. The Cuda installation detector uses the host triple, in order to use the host tooling.
Skip distro detection when the target or host system is not Linux.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70467/new/
https://reviews.llvm.org/D70467
Files:
clang/include/clang/Driver/Distro.h
clang/lib/Driver/Distro.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
clang/lib/Driver/ToolChains/Linux.cpp
clang/unittests/Driver/DistroTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70467.230525.patch
Type: text/x-patch
Size: 12303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191121/527569f6/attachment-0001.bin>
More information about the cfe-commits
mailing list