Boost logo

Boost Testing :

Subject: Re: [Boost-testing] minion-clang runner: incorrect version information
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2011-02-13 03:48:02

Hi wash,

On Sunday, 13. February 2011 07:58:39 Bryce Lelbach wrote:
> Who is the minion-clang runner? The version specified for clang on the
> regression page is incorrect; there is no clang version "4.2.1".

That is the version number you get if you run "clang -dumpversion". gcc
compatibilty at its worse.

> hunold_at_speed:~/src/devel/boost$ clang -dumpversion
> 4.2.1

And this is evalutated by gcc.jam which is inherited by clang-*.jam...

> That is
> probably a reference to the version of the GNU stdlib/system version of
> GCC. This is erronous and potentially confusing. I would like to know what
> version of clang/llvm each of your test runners is supplied with,

One way dould be to change the clang toolset to parse "clang -v"

> hunold_at_speed:~/src/devel/boost$ clang -v
> clang version 2.9 (trunk 125450)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix

and use this. Or get the clang devs to report the "real" clang version with "-
dumpversion" or something different switch.

> and I
> would appreciate it if you would change the compiler name that is supplied
> to

This is error prone, as all manual intervention.



* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        !
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost-testing list run by mbergal at