[llvm-bugs] [Bug 48386] New: LLVM 11.0.0 always rebuilds due to VCS revision

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 4 01:53:40 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48386

            Bug ID: 48386
           Summary: LLVM 11.0.0 always rebuilds due to VCS revision
           Product: Build scripts
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: hahnjo at hahnjo.de
                CC: llvm-bugs at lists.llvm.org

When building LLVM 11.0.0 from the monorepo source code, I always get a rebuild
due to target llvm_vcsrevision_h that generates VCSRevision.h and
__FakeVCSRevision.h. However, the latter doesn't exist so 'make' always
rebuilds that target and all others that depend on it. Touching
include/llvm/Support/__FakeVCSRevision.h (with empty content) avoids the
rebuild, but this should be fixed in CMake since releases are mostly not build
from a VCS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201204/a44f988c/attachment.html>


More information about the llvm-bugs mailing list