Disable the OpenSUSE rules for OpenSUSE versions older than 11 as they
are incompatible with the old binutils on that distribution.
Differential Revision: https://reviews.llvm.org/D24954
Differential D24954
[Driver] Disable OpenSUSE rules for OpenSUSE/SLES 10 and older mgorny on Sep 27 2016, 12:36 AM. Authored by
Details Disable the OpenSUSE rules for OpenSUSE versions older than 11 as they Differential Revision: https://reviews.llvm.org/D24954
Diff Detail
Event TimelineComment Actions This will break SLES11 and later so it's not OK. Also note that SLES10 is not supported anymore. Comment Actions Does this one look better for you? Yes, I know it's unsupported, that's why I don't really want to put any more effort on it than it is absolutely necessary to make clang work somehow.
Comment Actions I'm going to delay this one a bit. I've already fixed all other distro checks to use VFS. Now I'd like to update them to use proper numeric parsing.
Comment Actions Refactored the code as requested. Also I've noticed that if VERSION had invalid value, the code continued reading the file — now it immediately returns UnknownDistro in that case.
|