XACC
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

1 $ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
2 $ echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/llvm.list
3 $ apt-get update
4 $ apt-get install -y libclang-9-dev llvm-9-dev
5 $ ln -s /usr/bin/llvm-config-9 /usr/bin/llvm-config