[all-commits] [llvm/llvm-project] 4cee0e: [LLD] Fix llvm-driver cmake integration for LLD (#...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Thu Jan 11 16:05:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cee0e3c88d4e5c96cda0a4c3e2e91d4d4b1df69
      https://github.com/llvm/llvm-project/commit/4cee0e3c88d4e5c96cda0a4c3e2e91d4d4b1df69
  Author: Alexandre Ganea <37383324+aganea at users.noreply.github.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M lld/cmake/modules/AddLLD.cmake
    M lld/test/CMakeLists.txt
    M lld/tools/lld/CMakeLists.txt

  Log Message:
  -----------
  [LLD] Fix llvm-driver cmake integration for LLD (#76305)

Previously, even though LLD was linked as part of llvm-driver when using
`cmake ... -DLLVM_TOOL_LLVM_DRIVER_BUILD=ON`, there were build issues
when compiling incrementally. Sometimes link errors when linking LLD,
other times, the `llvm.exe` would be impropely be replaced by `lld.exe`.




More information about the All-commits mailing list