Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
d79beeb7
Commit
d79beeb7
authored
Jul 01, 2019
by
Mccaskey, Alex
Browse files
adding clang/llvm readme
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
4f2ceafc
Pipeline
#61785
passed with stages
in 10 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tools/compiler/README.md
0 → 100644
View file @
d79beeb7
## 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
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment