[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

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 12 08:29:35 PDT 2018


aaron.ballman added a comment.

In https://reviews.llvm.org/D53073#1263453, @gbedwell wrote:

> 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!


Thank you for trying to improve the situation!


https://reviews.llvm.org/D53073





More information about the llvm-commits mailing list