Page 1 of 1

clang 7 on centos vs Arch Linux

Posted: 2019/06/16 22:58:17
by zerophase
So, I've been updating Unreal Engine to maintain compatibility with Arch's version of clang, and noticed the engine compiles fine with the variation of clang 7.0.1 provided with CentOS. (I believe Epig Games pulled clang 7 in from Redhat) However, the engine required a few bug fixes to compile with Arch Linux's Clang 7. Considering Arch makes a point of keeping their packages as close to upstream as possible; does Redhat and / or CentOS patch upstream to allow non-updated software to continue to compile?

Re: clang 7 on centos vs Arch Linux

Posted: 2019/06/17 15:16:02
by chemal
If you are refering to clang in llvm-toolset-7.0:

Code: Select all

Patch1:		0001-gtest-reorg.patch
Patch2:		0001-Properly-detect-libatomic.patch
Patch4:		0001-Driver-Add-gcc-search-path-for-RHEL-devtoolset-8.patch
That's all and none of these will make old sources compile.

Re: clang 7 on centos vs Arch Linux

Posted: 2019/06/18 07:44:05
by SOtenC
CentOS software collections (SCL) is your best bet.
https://wiki.centos.org/AdditionalResou ... tories/SCL