LLVM-Tracer icon indicating copy to clipboard operation
LLVM-Tracer copied to clipboard

How to set the LLVM_HOME?

Open peterhchen opened this issue 3 years ago • 3 comments

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 avatar Nov 03 '21 01:11 peterhchen

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

peterhchen avatar Nov 03 '21 01:11 peterhchen

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.

xyzsam avatar Nov 03 '21 17:11 xyzsam

We have old gem5-Aladdin based on old python 2.7 I need to ask system admin to pull the new xyzsam/gem5-Aladdin image

On Wed, Nov 3, 2021 at 10:08 AM Sam Xi @.***> wrote:

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 https://github.com/harvard-acc/gem5-aladdin/blob/master/docker/Dockerfile#L73-L98, but you can also just follow their installation instructions on the LLVM website.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/LLVM-Tracer/issues/44#issuecomment-959740499, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBDY45EZAD6N5DB4F7ITUKF3CBANCNFSM5HHZ5BIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Sincerely Yours, Peter H. Chen

peterhchen avatar Nov 03 '21 18:11 peterhchen