s390x on apt.llvm.org - and libclc


Thanks to the help of IBM and Ulrich Weigand in particular, https://apt.llvm.org/ now provides packages for s390x.

This is supported for all Ubuntu and Debian (except Debian/stretch) for all the recent versions of LLVM (10, 11, 12 and 13).

All the packages are built except OpenMP libraries.

To report bug, please use: https://bugs.llvm.org/enter_bug.cgi?product=Packaging

Repositories remain the same.


$ echo “deb llvm-toolchain main” > /etc/apt/sources.list.d/llvm.lst

$ apt update

$ apt install clang-13


Get:8 llvm-toolchain/main s390x clang-13 s390x 1:13~++20210503111117+91607dce615a-1~exp1~20210503091836.3955 [113 kB]


$ clang-13 --version

Debian clang version 13.0.0-++20210503111117+91607dce615a-1~exp1~20210503091836.3955

Target: s390x-ibm-linux-gnu

Thread model: posix

InstalledDir: /usr/bin

In parallel, from LLVM 12, libclc packages are now generated. Thanks to Timo Aaltonen for the work!

Cheers, Sylvestre