[PATCH] D30467: Use relative path to clang-cl

Brad King via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 09:01:08 PST 2017


brad.king added a comment.

> The CMAKE_C_COMPILER: ../build/bin/clang-cl.exe is not a full path and was not found in the PATH

CMake expects that if this is set then it is an absolute path with forward slashes.  Either the infrastructure here will need to learn how to give `%(workdir)` forward slashes, or the change to CMake I mentioned previously will need to be made.

Alternatively, put the path to `clang-cl` in the `PATH` and set `CMAKE_C_COMPILER=clang-cl`.


https://reviews.llvm.org/D30467





More information about the llvm-commits mailing list