[PATCH] D136391: [bazel] Migrate LLVM_VERSION stuff to llvm_config_defines

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 16:15:39 PDT 2022


chapuni created this revision.
Herald added a project: All.
chapuni requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

It would be smarter if the BUILD phase could generate `llvm-config.h`.
Since I am afraid of the discussion in D126581 <https://reviews.llvm.org/D126581>, I just remove
LLVM_VERSION stuff out of the static `llvm-config.h`.

[bazel] Define LLD_VERSION_STRING with vars.bzl.

[bazel] Define CLANG_VERSION stuff with vars.bzl


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136391

Files:
  utils/bazel/llvm-project-overlay/clang/BUILD.bazel
  utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h
  utils/bazel/llvm-project-overlay/lld/BUILD.bazel
  utils/bazel/llvm-project-overlay/llvm/config.bzl
  utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136391.469394.patch
Type: text/x-patch
Size: 5063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221020/5e07497c/attachment.bin>


More information about the llvm-commits mailing list