Commit d79beeb7 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

adding clang/llvm readme


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 4f2ceafc
Pipeline #61785 passed with stages
in 10 minutes and 24 seconds
## Building XACC with single-source compiler
You will need to install the latest clang and llvm libraries and headers (Version 9). On Ubuntu, this can be done with the following commands
```bash
$ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
$ echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/llvm.list
$ apt-get update
$ apt-get install -y libclang-9-dev llvm-9-dev
$ ln -s /usr/bin/llvm-config-9 /usr/bin/llvm-config
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment