Skip to content

[compiler-rt] Check codesign in path before using #99837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

RossComputerGuy
Copy link
Member

@RossComputerGuy RossComputerGuy commented Jul 22, 2024

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: NixOS/nixpkgs#329058

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`.
@RossComputerGuy RossComputerGuy force-pushed the feat/compiler-rt-no-codesign branch from e84b12e to 14ae0a6 Compare July 22, 2024 15:40
@paparodeo
Copy link
Contributor

paparodeo commented Nov 1, 2024

would be great if this was merged. thx!

@RossComputerGuy
Copy link
Member Author

Well, I got merge perms recently now so I guess no harm if I merge it myself then?

@RossComputerGuy RossComputerGuy merged commit 783dc59 into llvm:main Jan 9, 2025
7 checks passed
@RossComputerGuy RossComputerGuy deleted the feat/compiler-rt-no-codesign branch January 9, 2025 02:57
@jroelofs
Copy link
Contributor

Sorry, I should have followed up and asked if you needed help merging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants