[llvm-commits] [llvm] r127958 - /llvm/trunk/tools/llvm-config/CMakeLists.txt

Frits van Bommel fvbommel at gmail.com
Sun Mar 20 08:45:12 PDT 2011


On Sat, Mar 19, 2011 at 11:52 PM, Oscar Fuentes <ofv at wanadoo.es> wrote:
> Log:
> Make llvm-config.in configuration more MSYS-friendly.
>
> Some of those POSIX <-> Windows command line conversions ended on
> failure.

This description leads me to believe the first chunk was not intended:

> -set(LIBDEPS ${CMAKE_CURRENT_BINARY_DIR}/LibDeps.txt)
> -set(LIBDEPS_TMP ${CMAKE_CURRENT_BINARY_DIR}/LibDeps.txt.tmp)
> -set(FINAL_LIBDEPS ${CMAKE_CURRENT_BINARY_DIR}/FinalLibDeps.txt)
> +set(LIBDEPS LibDeps.txt)
> +set(LIBDEPS_TMP LibDeps.txt.tmp)
> +set(FINAL_LIBDEPS FinalLibDeps.txt)

That change seems to have caused this error:

[ 69%] Updating LibDeps.txt if necessary...
Error copying file (if different) from "LibDeps.txt.tmp" to "LibDeps.txt".
make[3]: *** [tools/llvm-config/LibDeps.txt] Error 1
make[2]: *** [tools/llvm-config/CMakeFiles/llvm-config.target.dir/all] Error 2
make[1]: *** [tools/clang/test/CMakeFiles/check-all.dir/rule] Error 2
make: *** [check-all] Error 2

(and reverting that chunk fixed it)



More information about the llvm-commits mailing list