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

tstellar via All-commits all-commits at lists.llvm.org
Wed Nov 27 11:27:54 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 28f6aac1c102f7d8ba8afce900079e42e67bedca
      https://github.com/llvm/llvm-project/commit/28f6aac1c102f7d8ba8afce900079e42e67bedca
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2019-11-27 (Wed, 27 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

(cherry picked from commit c84c62c50aa8524dbf96217c337f3b5ee4139000)




More information about the All-commits mailing list