[LLVMdev] Non-deterministic builds
Rafael EspĂndola
rafael.espindola at gmail.com
Fri Nov 12 09:59:35 PST 2010
On 12 November 2010 12:48, Chris Lattner <clattner at apple.com> wrote:
> Oh, I should point out that using randomness is the unfortunate part, but you can get deterministic builds by passing -frandom-seed=0 to clang and/or gcc.
One thing I have seen done with gcc is "gcc -c foo.c -o foo.o
-frandom-seed=foo.o". That way you still get a different seed for
different output files.
> -Chris
Cheers,
Rafael
More information about the llvm-dev
mailing list