[all-commits] [llvm/llvm-project] 52acc0: [Bazel] Fix version defines

Geoffrey Martin-Noble via All-commits all-commits at lists.llvm.org
Fri Aug 20 17:01:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52acc0547d6de0749d47892b99abe8db657b1ba3
      https://github.com/llvm/llvm-project/commit/52acc0547d6de0749d47892b99abe8db657b1ba3
  Author: Geoffrey Martin-Noble <gcmn at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
    M utils/bazel/llvm-project-overlay/lld/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h

  Log Message:
  -----------
  [Bazel] Fix version defines

Some of these were the wrong version and some of them were the wrong
format. Did some hunting around to figure out what exactly they're
supposed to be. Since basically everything is derived from the LLVM
version we should probably make this a bit less hardcoded, but just
fixing the values for now.

Sources:
https://github.com/llvm/llvm-project/blob/b686fc7a1bea/clang/include/clang/Basic/Version.inc.in
https://github.com/llvm/llvm-project/blob/b686fc7a1bea/clang/CMakeLists.txt#L353-L363
https://github.com/llvm/llvm-project/blob/b686fc7a1bea/llvm/CMakeLists.txt#L13-L29
https://github.com/llvm/llvm-project/blob/b686fc7a1bea/lld/CMakeLists.txt#L131-L138

Reviewed By: MaskRay

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




More information about the All-commits mailing list