Commit 1c0180e
Cameron McInally
[MC] Update '-mcpu=native' test to be Linux only.
llvm::sys::getHostCPUName() and llvm::sys::getHostCPUFeatures() appear to need
special cases for _WIN32 on X86 (similar to the existing _WIN32 on ARM special
cases) to restrict what CPUs and Features are available with that OS.
For now, limit this test to Linux systems only, as this test does not check
very much being that it is sensitve to the Host machine.
Originally #159414.1 parent 2d503b9 commit 1c0180e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments