[all-commits] [llvm/llvm-project] ead0b7: [gn build] Make build locally deterministic
    Nico Weber via All-commits 
    all-commits at lists.llvm.org
       
    Fri Feb 14 18:56:02 PST 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ead0b76382a5a20e8164583d86900de5b3fa9288
      https://github.com/llvm/llvm-project/commit/ead0b76382a5a20e8164583d86900de5b3fa9288
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-02-14 (Fri, 14 Feb 2020)
  Changed paths:
    M llvm/utils/gn/build/BUILD.gn
    M llvm/utils/gn/build/toolchain/BUILD.gn
    A llvm/utils/gn/docs/deterministic.md
  Log Message:
  -----------
  [gn build] Make build locally deterministic
This follows http://blog.llvm.org/2019/11/deterministic-builds-with-clang-and-lld.html
to make the GN build locally deterministic.
With this, I've built lld at two different build paths on my Windows box and got
identical binaries. (I'd expect the same to happen on Linux, and with other
binaries.)
This doesn't have the bits to get universal determinism yet.
Differential Revision: https://reviews.llvm.org/D74519
    
    
More information about the All-commits
mailing list