[lld] [LLD] [COFF] Pick timestamps from the SOURCE_DATE_EPOCH variable (PR #81326)
    Fangrui Song via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Feb 10 13:40:15 PST 2024
    
    
  
Martin =?utf-8?q?Storsjö?= <martin at martin.st>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/81326 at github.com>
================
@@ -3,9 +3,11 @@ RUN: yaml2obj %p/Inputs/generic.yaml -o %t.obj
 RUN: lld-link %t.obj /debug /Brepro /entry:main /nodefaultlib /out:%t.1.exe
 RUN: lld-link %t.obj /debug /Brepro /entry:main /nodefaultlib /out:%t.2.exe
 RUN: lld-link %t.obj /debug /timestamp:0 /entry:main /nodefaultlib /out:%t.3.exe
+RUN: env SOURCE_DATE_EPOCH=0 lld-link %t.obj /debug /entry:main /nodefaultlib /out:%t.4.exe
----------------
MaskRay wrote:
LGTM for a backport to improve reproducibility! 
https://reproducible-builds.org/
https://github.com/llvm/llvm-project/pull/81326
    
    
More information about the llvm-commits
mailing list