[PATCH] D53073: With CMake 3.8+ force Visual Studio generator builds to use the x64 host toolchain if the user is on a 64-bit system

Greg Bedwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 12 08:27:40 PDT 2018


gbedwell abandoned this revision.
gbedwell added a comment.

Oh drat.  Well, I guess maybe this does manage to fall into the area of undefined behaviour then.  Weirdly, that didn't happen on my local system, although I did see something similar when setting the PreferredToolArchitecture environment variable for the environment that CMake spawns in, but not in the global environment when running the VS IDE (CMAKE_C[XX]_COMPILER would not match the actual compiler being invoked).  Thanks for taking a look anyway!


https://reviews.llvm.org/D53073





More information about the llvm-commits mailing list