cmake-installing clang on windows

Hi!

when installing llvm/clang on windows using cmake and visual studio 9
I get this error:

CMake Error at llvm/tools/clang/lib/Headers/cmake_install.cmake:31 (FILE):
1> file INSTALL cannot find
1> ".../llvm/build/llvm/lib/$(OutDir)/clang/2.9/include/arm_neon.h".
1>Call Stack (most recent call first):
1> llvm/tools/clang/lib/cmake_install.cmake:32 (INCLUDE)
1> llvm/tools/clang/cmake_install.cmake:41 (INCLUDE)
1> llvm/tools/cmake_install.cmake:52 (INCLUDE)
1> llvm/cmake_install.cmake:80 (INCLUDE)
1> cmake_install.cmake:64 (INCLUDE)

Only X86 and CppBackend are selected
(LLVM_TARGETS_TO_BUILD:STRING=X86;CppBackend)

-Jochen

Jochen Wilhelmy <j.wilhelmy@arcor.de> writes:

when installing llvm/clang on windows using cmake and visual studio 9
I get this error:

CMake Error at llvm/tools/clang/lib/Headers/cmake_install.cmake:31 (FILE):
1> file INSTALL cannot find
1> ".../llvm/build/llvm/lib/$(OutDir)/clang/2.9/include/arm_neon.h".
1>Call Stack (most recent call first):
1> llvm/tools/clang/lib/cmake_install.cmake:32 (INCLUDE)
1> llvm/tools/clang/cmake_install.cmake:41 (INCLUDE)
1> llvm/tools/cmake_install.cmake:52 (INCLUDE)
1> llvm/cmake_install.cmake:80 (INCLUDE)
1> cmake_install.cmake:64 (INCLUDE)

Most probably the bug was introduced by r116260 a few days ago.

Just tried to replicate it but the clang build is broken on MSVC++.

Only X86 and CppBackend are selected
(LLVM_TARGETS_TO_BUILD:STRING=X86;CppBackend)

This is not the origin of the problem. The generation of that header
file does not depend on the selected LLVM targets, although it wouldn't
be incorrect to ignore it when ARM is not on the list.

Jochen Wilhelmy <j.wilhelmy@arcor.de> writes:

when installing llvm/clang on windows using cmake and visual studio 9
I get this error:

CMake Error at llvm/tools/clang/lib/Headers/cmake_install.cmake:31 (FILE):
1> file INSTALL cannot find
1> ".../llvm/build/llvm/lib/$(OutDir)/clang/2.9/include/arm_neon.h".

Does your build directory contain embedded white spaces?

[snip]