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

How to set the LLVM_HOME? #44

Open
peterhchen opened this issue Nov 3, 2021 · 3 comments
Open

How to set the LLVM_HOME? #44

peterhchen opened this issue Nov 3, 2021 · 3 comments

Comments

@peterhchen
Copy link

export LLVM_HOME=/path/to/your/llvm/installation

  1. What is "/llvm/installation" example?
  2. Do we have to build "llvm/installation"?
  3. Can you give us the link of step-by-step how to build "llvm/installtion"?

Thanks,
Peter H. Chen

@peterhchen
Copy link
Author

My email address: peter,[email protected]
Thanks for the help.

@xyzsam
Copy link
Member

xyzsam commented Nov 3, 2021

I recommend you use the Docker image. Installing LLVM-Tracer and LLVM on a regular machine has been notoriously difficult and riddled with system-specific errors that are hard for us to diagnose and debug.

To answer your question: you will need to build and install LLVM and Clang from source. The Dockerfile shows how it is done here, but you can also just follow their installation instructions on the LLVM website.

@peterhchen
Copy link
Author

peterhchen commented Nov 3, 2021 via email

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

No branches or pull requests

2 participants