[llvm-dev] Moving to a new machine

Paul C. Anagnostopoulos via llvm-dev
Wed, 24 Feb 2021 20:51:41 -0000

At 2/24/2021 03:56 AM, James Henderson wrote:
>Unless everything is installed in the same location, copying the
CMakeCache.txt likely won't work, as it includes things like paths to
compilers in it, if I remember rightly. I've used diffs to try to identify
which variables I've set before, but in practice, I end up just memorizing
the three or four variables I tend to change from the defaults.

Of course I'm not done with questions.

When I run CMake, it complains that it cannot find the C, C++, and ASM
compilers. I don't recall this problem before. I have Visual Studio
installed, but CMake isn't finding it.

If it matters, my build directory is not on the C drive. I'm using Ninja to
build.