Re: [PATCH] RHEL: Look in more places to find g++ headers and runtime

2016-04-11 Thread Michael Lampe via cfe-commits
New patch attached. -Michael Rafael EspĂ­ndola wrote: LGTM with a comment saying why it is needed. Cheers, Rafael On 22 March 2016 at 23:02, Michael Lampe via cfe-commits <cfe-commits@lists.llvm.org> wrote: Some distros with ten years of support ship an old gcc but later offer more

[PATCH] RHEL: Look in more places to find g++ headers and runtime

2016-03-23 Thread Michael Lampe via cfe-commits
Some distros with ten years of support ship an old gcc but later offer more recent versions for installation in parallel. These versions are typically not only needed for the compilation of llvm/clang, but also to properly use the clang binary that comes out. Clang already searches /usr at

[PATCH] Proper detection and handling of RHEL and variants

2016-03-23 Thread Michael Lampe via cfe-commits
- Don't consider "/etc/lsb-release" to be Ubuntu only. - Detect SL, too. - Only add "--no-add-needed" for RHEL7 (or Fedora), not for RHEL6 (that's what the compilers shipped with RHEL do). --- a/tools/clang/lib/Driver/ToolChains.cpp 2015-09-02 04:26:13.266233474 +0200 +++

Re: [PATCH] Proper detection and handling of RHEL and variants

2016-03-26 Thread Michael Lampe via cfe-commits
--no-add-needed. Can you change this to "if (IsRedhat(Distro) && !old_rhel_distro) "? Cheers, Rafael On 22 March 2016 at 22:07, Michael Lampe via cfe-commits <cfe-commits@lists.llvm.org> wrote: - Don't consider "/etc/lsb-release" to be Ubuntu only. - Detect SL

Re: [PATCH] RHEL: Look in more places to find g++ headers and runtime

2016-05-07 Thread Michael Lampe via cfe-commits
uni-frankfurt.de> wrote: New patch attached. -Michael Rafael EspĂ­ndola wrote: LGTM with a comment saying why it is needed. Cheers, Rafael On 22 March 2016 at 23:02, Michael Lampe via cfe-commits <cfe-commits@lists.llvm.org> wrote: Some distros with ten years of support ship an old g

[PATCH] Update usage of RHEL devtoolsets

2016-11-28 Thread Michael Lampe via cfe-commits
- remove devtoolset-1 (obsoleted gcc 4.7) - add devtoolset-6 (gcc 6.2+) (There is no devtoolset-5, RH switched to gcc major version numbering.) Please apply, I don't have commit access. Thanks, Michael diff -ru a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp ---