Skip to content

Help with Integrating LLVM #620

Answered by Avus-c
jiezhuzzz asked this question in Q&A
Nov 20, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Sorry for the late response.

I'm not very familiar with LLVM's setup, and unfortunately, I don't have the time to look into it in detail. Sorry about that.

However, my intuition is that LLVM may not be easily usable with CPM, at least without significant configuration effort. From what I’ve seen in the examples, LLVM seems to be designed for integration using find_package. The recommended approach would be to install LLVM separately so that find_package can locate the installed version. After that, you can directly use the binaries, libraries, ... in your project.

CPM, on the other hand, is great for adding dependencies that you can built alongside your project. This approach works well f…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jiezhuzzz
Comment options

@Avus-c
Comment options

Answer selected by jiezhuzzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants