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 #498

Closed

Conversation

wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Oct 30, 2023

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

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

llvm-config may have a different name in the default path.
On Ubuntu 22.04,
* https://apt.llvm.org/llvm.sh installs llvm-config-17 to /usr/bin
  folder. It is an symlink to /usr/lib/llvm-17/bin/llvm-config.
* If llvm 17 is built from source, the name is /usr/local/bin/llvm-config
@haonanya
Copy link

It is an symlink to /usr/lib/llvm-17/bin/llvm-config.

a symlink?

@wenju-he
Copy link
Contributor Author

It is an symlink to /usr/lib/llvm-17/bin/llvm-config.

a symlink?

done

@wenju-he
Copy link
Contributor Author

closing, I'll cherry-pick #500 to this branch

@wenju-he wenju-he closed this Oct 30, 2023
@wenju-he wenju-he deleted the find-package-llvm-config branch October 30, 2023 23:54
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