This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Support host architectures other than x64
ClosedPublic

Authored by smeenai on Dec 13 2017, 12:44 AM.

Details

Summary

Allow building for other architectures when cross-compiling for Windows.

Event Timeline

smeenai created this revision.Dec 13 2017, 12:44 AM
zturner accepted this revision.Dec 13 2017, 8:58 AM
zturner added inline comments.
cmake/platforms/WinMsvc.cmake
177–181

Can you make these two branches also handle the relatively common spellings "x86" and "x64"?

This revision is now accepted and ready to land.Dec 13 2017, 8:58 AM
smeenai updated this revision to Diff 126845.Dec 13 2017, 2:23 PM

Support alternate architecture spellings

zturner accepted this revision.Dec 13 2017, 2:24 PM
This revision was automatically updated to reflect the committed changes.