![]() + # CMake 3. + "64-bit host compiler, pass -Thost=圆4 on the CMake " + "linker instability and out of memory errors. + message(WARNING "Visual Studio generators use the x86 host compiler by " + if ((CMAKE_VERSION VERSION_LESS 3.8) OR (NOT "$ENV" STREQUAL "AMD64")) "host compiler, pass -Thost=圆4 on the CMake command line.") ![]() message(WARNING "Visual Studio generators use the x86 host compiler by " +++ -26,10 +26,19 ((CMAKE_GENERATOR MATCHES "Visual Studio") AND (CMAKE_GENERATOR_TOOLSET STREQUAL "")) | 3.8.2 | Visual StuWin64 | no | C:/Program Files (x86)/Microsoft Visual Studio/Preview/Professional/VC/Tools/MSVC/6/bin/Host圆4/圆4/cl.exe | The CMake helper in the build method chose the generator of 'Visual StuWin64' based on arch x8664, which CMake errors out on when CMAKEGENERATORPLATFORM is defined as '圆4', ala the CMakeToolchain generator. | 3.8.2 | Visual Stu| no | C:/Program Files (x86)/Microsoft Visual Studio/Preview/Professional/VC/Tools/MSVC/6/bin/Host圆4/x86/cl.exe | However, in my case, I did not specify the generator, only the architecture. Visual Studio Add-in 2.5.2 for Qt5 MSVC 2017 (17 MB) (info) Visual Studio Add-in 2.5.2 for Qt5 MSVC 2015. | 3.8.2 | Visual Stu| no | C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64_x86/cl.exe | | 3.4.3 | Visual StuWin64 | yes | C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe | | 3.4.3 | Visual Stu| yes | C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe | | CMake version | Generator | warning (CMakeLists.txt:31) produced | CMAKE_CPP_COMPILER | On my 64-bit Windows system, I get the following behaviour: The "Getting Started with the LLVM System using Microsoft Visual Studio" documentation suggests a CMake 3.8.0 requirement anyway. Hopefully this will alleviate some of the teething problems new developers may run into using the Visual Studio generators (assuming the workflow is to go and grab the latest version of CMake. With older CMake versions, or if the user is on a 32-bit system we'll still output a warning suggesting using the 64-bit host toolchain. ![]() Gbedwell added reviewers: zturner, rnk, aaron.ballman, MikeStump. Next message: D53073: With CMake 3.8+ force Visual Studio generator builds to use the 圆4 host toolchain if the user is on a 64-bit system.Previous message: D50433: A New Divergence Analysis for LLVM.D53073: With CMake 3.8+ force Visual Studio generator builds to use the 圆4 host toolchain if the user is on a 64-bit system Greg Bedwell via Phabricator via llvm-commits llvm-commits at D53073: With CMake 3.8+ force Visual Studio generator builds to use the 圆4 host toolchain if the user is on a 64-bit system ![]()
0 Comments
Leave a Reply. |