[cfe-dev] Clang configure problem with latest changes

Justin Bogner mail at justinbogner.com
Fri Aug 7 00:10:56 PDT 2015


Edward Diener <eldlistmailingz at tropicsoft.com> writes:
> On 8/6/2015 10:24 PM, Nico Weber wrote:
>> I got this too. Deleting my build directory and starting over in a new
>> one fixed it.
>
> That seems pretty drastic.
>
> I solved it by going into the configuration and deleting all the
> llvm/project paths, except for compiler-rt, that were there.

Deleting CMakeCache.txt and re-running your original cmake command would
also fix this.

Some cached cmake variables changed meaning slightly, but there's no way
to invalidate the cmake cache so build directories with the old values
can get these strange errors.

>>
>> On Aug 6, 2015 6:00 PM, "Edward Diener" <eldlistmailingz at tropicsoft.com
>> <mailto:eldlistmailingz-5p0dqD/c5LGWd6l5hS35sQ at public.gmane.org>> wrote:
>>
>>     I am trying to configure clang on Windows after getting the latest
>>     changes. I am geting the cmake error:
>>
>>     CMake Error at cmake/modules/AddLLVM.cmake:710 (add_subdirectory):
>>        add_subdirectory given source
>>        "C:/Programming/VersionControl/llvm/projects/libcxxabi" which is
>>     not an
>>        existing directory.
>>     Call Stack (most recent call first):
>>        projects/CMakeLists.txt:25 (add_llvm_external_project)
>>
>>     There is no llvm/projects/libcxxabi directory.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list