diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-12-15 01:05:48 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-12-15 01:05:48 +0000 |
commit | c84211b9a8f08b2e96f1374c27c5ee193d516219 (patch) | |
tree | 8f6de1377abeea2d37e5317e5144db996b81ae61 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 1a1e6d6cf6a08d7cba34d67d929423ad38437e38 (diff) | |
download | llvm-c84211b9a8f08b2e96f1374c27c5ee193d516219.zip llvm-c84211b9a8f08b2e96f1374c27c5ee193d516219.tar.gz llvm-c84211b9a8f08b2e96f1374c27c5ee193d516219.tar.bz2 |
[cmake] Fix clang-cl cross-compilation on macOS
macOS paths usually start with /Users, which clang-cl interprets as a
macro undefine, leading to pretty much everything failing to compile.
CMake should be taught to put a -- in its compilation rules for clang-cl
(and I've been meaning to submit that upstream for a while). In the
meantime, however, and to support older CMake versions, we can just
create a custom make rules override to fix the compilation rules.
Differential Revision: https://reviews.llvm.org/D41219
llvm-svn: 320785
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions