[llvm-dev] Moving to a new machine

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 24 13:00:48 PST 2021


Are you running these commands from a VS command prompt, or a plain command
prompt? I think you have to use the VS command prompt that sets up the
environment variables to point to VS compilers, etc.

On Wed, Feb 24, 2021 at 12:52 PM Paul C. Anagnostopoulos via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> 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.
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210224/d2204fab/attachment.html>


More information about the llvm-dev mailing list