[all-commits] [llvm/llvm-project] 42595d: [llvm] [cmake] Use pkg-config to obtain libffi sea...

Michał Górny via All-commits all-commits at lists.llvm.org
Sat Jun 14 07:12:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42595d34bda74e0d6e3b6ec0cf253875330f9c42
      https://github.com/llvm/llvm-project/commit/42595d34bda74e0d6e3b6ec0cf253875330f9c42
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-06-14 (Sat, 14 Jun 2025)

  Changed paths:
    M llvm/cmake/modules/FindFFI.cmake

  Log Message:
  -----------
  [llvm] [cmake] Use pkg-config to obtain libffi search hints (#144221)

Extend `FindFFI.cmake` to include the paths obtained from pkg-config
when searching for libffi. This is going to help systems where libffi is
installed in nonstandard directory such as Gentoo, saving us from having
to copy the paths from pkg-config to `FFI_*` variables explicitly. The
logic is inspired by `FindLibEdit.cmake`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list