[all-commits] [llvm/llvm-project] c84c62: [CMake] Fix LLVM build non-determinism on RHEL

Amy Kwan via All-commits all-commits at lists.llvm.org
Thu Nov 21 21:18:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c84c62c50aa8524dbf96217c337f3b5ee4139000
      https://github.com/llvm/llvm-project/commit/c84c62c50aa8524dbf96217c337f3b5ee4139000
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [CMake] Fix LLVM build non-determinism on RHEL

On RHEL, the OS tooling (ar, ranlib) is not deterministic by default.
Therefore, we cannot get bit-for-bit identical builds.

The goal of this patch is that it adds the flags required to force determinism.

Differential Revision: https://reviews.llvm.org/D64817




More information about the All-commits mailing list