Skip to content
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

Use find_program to find llvm-config (#500) #502

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

wenju-he
Copy link
Contributor

llvm-config may have a different name in the default path, see #497.
On Ubuntu 22.04,

  • https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
    /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
  • If llvm is built from source, the name is /usr/local/bin/llvm-config.

(cherry picked from commit 8304021)

llvm-config may have a different name in the default path, see intel#497.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-{VERSION} to
  /usr/bin folder. It is a symlink to /usr/lib/llvm-{VERSION}/bin/llvm-config.
* If latest llvm is built from source, the name is /usr/local/bin/llvm-config.

(cherry picked from commit 8304021)
@wenju-he wenju-he requested review from cdai2 and haonanya October 31, 2023 01:48
@wenju-he wenju-he merged commit c9a6012 into intel:ocl-open-160 Oct 31, 2023
2 checks passed
@wenju-he wenju-he deleted the find_program-llvm-config-16 branch October 31, 2023 05:48
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.

2 participants