[all-commits] [llvm/llvm-project] f111dc: [cmake] Link socket/nsl on SunOS in llvm-jitlink

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 9 10:05:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f111dc7cfcda28597b6f26728f7e0cc584e48460
      https://github.com/llvm/llvm-project/commit/f111dc7cfcda28597b6f26728f7e0cc584e48460
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

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

  Log Message:
  -----------
  [cmake] Link socket/nsl on SunOS in llvm-jitlink

llvm-jitlink and llvm-jitlink-executor make use of APIs that are
part of the socket and nsl libraries on SunOS systems (Solaris and
Illumos). Make sure they get linked.

Ran into this in Rust CI when cross-compiling LLVM 12 to these
targets.

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




More information about the All-commits mailing list