Skip to content

[Build] Enable use of clang-15 on linux. Prioritize numbered clang over defau… #8713

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hughperkins
Copy link
Contributor

@hughperkins hughperkins commented May 8, 2025

…lt clang

Issue: #

Brief Summary

Enable use of clang-15 on linux. Prioritize numbered clang over default clang

copilot:summary

Walkthrough

  • the documentatino says to install clang-15, is sufficient

  • in praactice, clang-15 provides clang-15 command, and not clang command, and is not sufficient: built terminates with 'cannot find a clang compiler'
    Screenshot 2025-05-08 at 5 27 35 AM

  • this PR addresses this issue, by adding search for clang-15 compiler

  • in addition, since later versions of clang do not play well with loading the llvm runtime, numbered clangs are prioritized now in search order, relative to default, un-numbered, clang.

copilot:walkthrough

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

Successfully merging this pull request may close these issues.

1 participant