[all-commits] [llvm/llvm-project] 783dc5: [compiler-rt] Check codesign in path before using ...

Tristan Ross via All-commits all-commits at lists.llvm.org
Wed Jan 8 18:57:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 783dc59b3ba16a785f48d0b58bf8c9f26a744aac
      https://github.com/llvm/llvm-project/commit/783dc59b3ba16a785f48d0b58bf8c9f26a744aac
  Author: Tristan Ross <tristan.ross at midstall.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  [compiler-rt] Check codesign in path before using (#99837)

Fixes an issue discovered with Nix where codesign is executed but Nix
cannot use codesign without faults. Use `find_program` in CMake to
ensure it is in `$PATH`.

Can be tested on macOS and change your path in such a way that
`codesign` isn't in it.

Related: https://github.com/NixOS/nixpkgs/pull/329058



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