[PATCH] D64817: [CMake] Fix LLVM build non-determinism on RHEL
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 09:50:56 PDT 2019
tstellar added inline comments.
================
Comment at: llvm/cmake/modules/HandleLLVMOptions.cmake:149-150
+if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ # RHEL has ar and ranlib being non-deterministic by default. The D flag forces determinism,
+ # however only GNU version of ar and ranlib have this option
+ execute_process(COMMAND ${CMAKE_AR} rD t.a
----------------
Can you make this comment more specific about which versions of RHEL and also ar and randlib this is intended for? If we ever drop support for these older tools, this would make it easier to identify and remove this section.
Otherwise, LGTM.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64817/new/
https://reviews.llvm.org/D64817
More information about the llvm-commits
mailing list