ponylang / ponyc

Pony is an open-source, actor-model, capabilities-secure, high performance programming language
http://www.ponylang.io
BSD 2-Clause "Simplified" License
5.73k stars 415 forks source link

Correctly find custom-built `llc` #4537

Closed chalcolith closed 2 weeks ago

chalcolith commented 2 weeks ago

Use HINTS instead of PATHS in the CMake find_path command that tries to find our custom-build llc. From the documentation for find_file it seems that PATHS is searched after the system PATH, so if there was a system llc that would get picked up first. Since HINTS is searched before PATH, our llc now gets picked up correctly.

ponylang-main commented 2 weeks ago

Hi @chalcolith,

The changelog - fixed label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.

Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 4537.md to match the number of this pull request.

The basic format of the release notes (using markdown) should be:

## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.