Re: llvm-defaults vs update alternatives

2014-06-24 Thread Thorsten Glaser
Sylvestre Ledru debian.org> writes: > > Build systems that ignore those environment variables are broken and > > need to be fixed. > > > Yes, but we have plenty of packages not honoring CC, CXX or CLFAGS. Yes, but I have a GCC patch (in MirBSD) that can make such builds fail, by adding a non-sta

Re: llvm-defaults vs update alternatives

2014-06-23 Thread Vincent Danjean
On 22/06/2014 11:47, Christian Hofstaedtler wrote: > update-alternatives gives the user a choice, My remark is not directly related to this problem (perhaps, in fact) but update-alternatives does *not* give the user a choice. It give the *admin* a choice. You must be root to run update-alternative

Re: llvm-defaults vs update alternatives

2014-06-22 Thread Christian Hofstaedtler
* Sylvestre Ledru [140622 00:50]: > Currently, LLVM default binaries are managed by the llvm-defaults package > (similar to gcc-defaults). > To sum up, we have binaries like /usr/bin/llvm-nm-X.Y. llvm-defaults > provides symlinks /usr/bin/llvm-nm to the actual binaries. > Usually, I manage 3 versi

Re: llvm-defaults vs update alternatives

2014-06-21 Thread Sylvestre Ledru
On 21/06/2014 19:19, Paul Wise wrote: > On Sun, Jun 22, 2014 at 12:46 AM, Sylvestre Ledru wrote: > >> Any opinions on the subject? > There is already the CC (and CXX etc) environment variable to select > the compiler, they should use that. I am not talking about Clang but LLVM here. LLVM itself shi

Re: llvm-defaults vs update alternatives

2014-06-21 Thread Paul Wise
On Sun, Jun 22, 2014 at 12:46 AM, Sylvestre Ledru wrote: > Any opinions on the subject? There is already the CC (and CXX etc) environment variable to select the compiler, they should use that. Build systems that ignore those environment variables are broken and need to be fixed. -- bye, pabs

Re: llvm-defaults vs update alternatives

2014-06-21 Thread Vincent Bernat
❦ 21 juin 2014 18:46 +0200, Sylvestre Ledru  : > Currently, LLVM default binaries are managed by the llvm-defaults package > (similar to gcc-defaults). > To sum up, we have binaries like /usr/bin/llvm-nm-X.Y. llvm-defaults > provides symlinks /usr/bin/llvm-nm to the actual binaries. > Usually, I

llvm-defaults vs update alternatives

2014-06-21 Thread Sylvestre Ledru
Hello, Currently, LLVM default binaries are managed by the llvm-defaults package (similar to gcc-defaults). To sum up, we have binaries like /usr/bin/llvm-nm-X.Y. llvm-defaults provides symlinks /usr/bin/llvm-nm to the actual binaries. Usually, I manage 3 versions of LLVM in parallel (currently, 3