[all-commits] [llvm/llvm-project] 2e0a10: [CMake] Fix building on Haiku and Solaris after c0...

Brad Smith via All-commits all-commits at lists.llvm.org
Sun Jan 14 17:23:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e0a105761cd33e42b915da5aab35c966daf8241
      https://github.com/llvm/llvm-project/commit/2e0a105761cd33e42b915da5aab35c966daf8241
  Author: Brad Smith <brad at comstyle.com>
  Date:   2024-01-14 (Sun, 14 Jan 2024)

  Changed paths:
    M llvm/lib/Support/CMakeLists.txt
    M llvm/tools/llvm-jitlink/CMakeLists.txt
    M llvm/tools/llvm-jitlink/llvm-jitlink-executor/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Fix building on Haiku and Solaris after c0d5d36dda04cdd409aabc015da0beb810842fcd (#78084)

Haiku and Solaris need some additional libraries after the commit
c0d5d36dda04cdd409aabc015da0beb810842fcd

Otherwise fails to link a whole bunch of the tools and other binaries
with undefined symbols with accept() and connect().

I did a static and dynamic build on illumos and a dynamic build on
Haiku.

```
-DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;lld;mlir'
```
and on illumos
```
-DLLVM_ENABLE_RUNTIMES='openmp'
```




More information about the All-commits mailing list