Ubuntu and Windows (WSL)
Ubuntu 23.10
sudo apt install clang llvm-15-dev libpolly-15-dev llvm-17 cmake
Ubuntu 22.04
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main' && \
(wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - ) && \
sudo apt-get update && \
sudo apt-get install -y clang-15 llvm-15-dev libpolly-15-dev cmake
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main' && \
(wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - ) && \
sudo apt-get update && \
sudo apt-get install -y llvm-17
Ubuntu 20.04
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main' && \
(wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - ) && \
sudo apt-get update && \
sudo apt-get install -y clang-15 llvm-15-dev libpolly-15-dev cmake
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-17 main' && \
(wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - ) && \
sudo apt-get update && \
sudo apt-get install -y llvm-17
Last updated