Install llvm-toolset-10.0 or newer in Centos7

Viewed 346

I used docker image docker run -ti centos:7 /bin/bash, i try install llvm-toolset-10.0 like this yum install llvm-toolset-10.0 but got error No package llvm-toolset-10.0 available.

After that i tried use pre-built binraries from https://github.com/llvm/llvm-project/releases, but got bash: ./clang: cannot execute binary file, i used clang+llvm-13.0.0-powerpc64le-linux-rhel-7.9.

Question how to install clang or llvm with version 10 or higher in Centos7?

1 Answers

Install by conda or homebrew in general, you installation failure might be powerpc64le is not your processor’s type, it's an old processor type.

Related