美文网首页
centos7 使用SCL(SoftwareCollection

centos7 使用SCL(SoftwareCollection

作者: 云石畅想 | 来源:发表于2019-03-28 11:18 被阅读0次
$ sudo yum install centos-release-scl
$ sudo yum install scl-utils

$ # clang && llvm
$ sudo yum install install llvm-toolset-7

$ scl --list
devtoolset-7
llvm-toolset-7

$ scl enable llvm-toolset-7 bash

$ # bashrc
$ # source /opt/rh/llvm-toolset-7/enable 

$ lldb -version
lldb version 5.0.1

$ clang --version                   
clang version 5.0.1 (tags/RELEASE_501/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/rh/llvm-toolset-7/root/usr/bin

相关文章

网友评论

      本文标题:centos7 使用SCL(SoftwareCollection

      本文链接:https://www.haomeiwen.com/subject/cezfbqtx.html