[all-commits] [llvm/llvm-project] 662a58: [lld] Convert LLVM_CMAKE_PATH to a CMake path

Isuru Fernando via All-commits all-commits at lists.llvm.org
Wed May 5 13:43:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 662a58fa0534508c2c37b22425bfdf16b9d985a8
      https://github.com/llvm/llvm-project/commit/662a58fa0534508c2c37b22425bfdf16b9d985a8
  Author: Isuru Fernando <isuruf at gmail.com>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M lld/CMakeLists.txt

  Log Message:
  -----------
  [lld] Convert LLVM_CMAKE_PATH to a CMake path

Otherwise I get the following error on windows.
```
CMake Error at D:/bld/lld_1569206597988/work/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (set):
  Syntax error in cmake code at

    D:/bld/lld_1569206597988/work/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2

  when parsing string

    D:\bld\lld_1569206597988\_h_env\Library\lib\cmake\llvm

  Invalid character escape '\b'.

CMake Error at D:/bld/lld_1569206597988/_build_env/Library/share/cmake-3.15/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  D:/bld/lld_1569206597988/_build_env/Library/share/cmake-3.15/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  D:/bld/lld_1569206597988/_h_env/Library/lib/cmake/llvm/HandleLLVMOptions.cmake:943 (check_symbol_exists)
  CMakeLists.txt:56 (include)
```

Reviewed By: sbc100

Differential Revision: https://reviews.llvm.org/D68158




More information about the All-commits mailing list