[llvm-dev] Moving to a new machine

Fangrui Song via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 23 14:27:54 PST 2021


On 2021-02-23, Paul C. Anagnostopoulos via llvm-dev wrote:
>I've edited CMakeCache.txt so many times that I have no idea what to specify on the 'cmake' command line. Should I just guess, run cmake, copy my existing file on top of CMakeCache.txt, and run cmake again?
>
>At 2/23/2021 04:46 PM, Stefanos Baziotis wrote:
>>Hi Paul,
>>
>>Maybe I missed something but why do you need to copy directories if you want to build from scratch?
>>Just use the same CMake arguments you used in the original build.

Hi Paul,

You can run cmake on the new machine, and compare the CMakeCache.txt file with the old one to catch needed variables.


More information about the llvm-dev mailing list