[LLVMdev] LNT BenchmarkGame

Daniel Dunbar daniel at zuster.org
Tue Mar 12 09:48:55 PDT 2013


On Tue, Mar 12, 2013 at 9:19 AM, Renato Golin <renato.golin at linaro.org>wrote:

> On 12 March 2013 15:28, Hal Finkel <hfinkel at anl.gov> wrote:
>
>> Can't we just paste in a RNG so that we'll get the same output on all
>> systems (and can still use the reference output)?
>>
>
> We can, though other tests suffer from the same issue. Would be good to
> have a solution to all of them without pasting the same code on all of them.
>
> I really thought that the native output was always generated by the
> "native compiler" which is normally GCC. Removing the reference output
> doesn't work, since it just creates an empty file instead. The Makefile is
> too simple to mean anything, but maybe there's some environment variable
> that needs setting to make LNT get the result from a GCC run...
>

The test suite supports multiple modes, one mode in which the native output
is generated by an executable built by the native compiler, another in
which the output is compared to a reference compiler.

The former mode is historically what the test suite did, the latter mode is
substantially faster (and independent of bugs in the native CC).

 - Daniel


> --renato
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130312/f96a0bfc/attachment.html>


More information about the llvm-dev mailing list