[all-commits] [llvm/llvm-project] 3500d3: [llvm-exegesis] Explicitly link llvm-exegesis unit...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Jun 26 13:28:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3500d3ba1cd97df58776a79ed61e0d1946a085c2
      https://github.com/llvm/llvm-project/commit/3500d3ba1cd97df58776a79ed61e0d1946a085c2
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt

  Log Message:
  -----------
  [llvm-exegesis] Explicitly link llvm-exegesis unit tests against librt

On some platforms such as PPC shm_open is in librt and it isn't
automatically linked against. This patch explicitly links against librt
in the unittests which should hopefully fix the symbol resolution
errors.




More information about the All-commits mailing list