[m-rev.] for post-commit review: document status of clang support

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Oct 3 14:48:46 AEDT 2011


On Mon, 3 Oct 2011, Zoltan Somogyi wrote:

> On 03-Oct-2011, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>> If you are using a more recent
>> version of
>> +LLVM then you should be able to safely increase the optimization level
>> used by
>> +clang by applying the following patch:
>
> Is there a way of detecting automatically whether clang is recent enough,

Yes, we should be able to look at the value of the C compiler type
determined by configure, that includes the version number.
(e.g. it has the form clang_3_0_0 where the three digits give the major,
minor and patchlevel version numbers respectively.)

> and if yes, making the change also happen automatically?

Yes, it can be made to happen automatically - I will look into to doing
that.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list