Build LLVM on RedHat 7

Hi All,

I wonder if there is a procedure to build “official” RPMs for LLVM & Clang ?

I provide tools to dev teams and they would like to have recent versions of Clang on Red Hat7 boxes.

The one they currently use is the EPEL one: v3.4.2

Many thanks in advance for your help,

Jean

Hi Jean,

Red Hat provides the LLVM Toolset for RHEL which includes LLVM, Clang
and LLDB packages (currently shipping the 4.0.1 release), if you have
a RHEL 7 subscription you can install the software collection with the
instructions in [1] and [2].

In case you are on CentOS 7 you can still use the LLVM Toolset as
packages for CentOS 7 exist as well. You basically need to follow the
instructions at [3] to enable the software collections and then you
should be able to get things working with the instructions in [2] as
well.

Hope this helps!

Please let me know if you have any further questions.

Regards,

Tilmann

[1] https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/7/html/user_guide/chap-llvm-intro
[2] Getting started with llvm-toolset | Red Hat Developer
[3] AdditionalResources/Repositories/SCL - CentOS Wiki