[Mlir-commits] [clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [CMake] Fold export_executable_symbols_* into function args. (PR #101741)

Petr Hosek llvmlistbot at llvm.org
Mon Aug 5 22:00:01 PDT 2024


petrhosek wrote:

This breaks the build with the following error:
```
CMake Error at cmake/modules/AddLLVM.cmake:970 (add_library):
  Cannot find source file:

    EXPORT_SYMBOLS_FOR_PLUGINS
Call Stack (most recent call first):
  /b/s/w/ir/x/w/llvm-llvm-project/lld/cmake/modules/AddLLD.cmake:48 (generate_llvm_objects)
  /b/s/w/ir/x/w/llvm-llvm-project/lld/tools/lld/CMakeLists.txt:6 (add_lld_tool)


CMake Error at cmake/modules/AddLLVM.cmake:970 (add_library):
  No SOURCES given to target: obj.lld
Call Stack (most recent call first):
  /b/s/w/ir/x/w/llvm-llvm-project/lld/cmake/modules/AddLLD.cmake:48 (generate_llvm_objects)
  /b/s/w/ir/x/w/llvm-llvm-project/lld/tools/lld/CMakeLists.txt:6 (add_lld_tool)
```
Would it be possible to revert the change?

https://github.com/llvm/llvm-project/pull/101741


More information about the Mlir-commits mailing list