This is an archive of the discontinued LLVM Phabricator instance.

[bazel] Migrate LLVM_VERSION stuff to llvm_config_defines
AbandonedPublic

Authored by chapuni on Oct 20 2022, 4:15 PM.

Details

Reviewers
None
Summary

It would be smarter if the BUILD phase could generate llvm-config.h.
Since I am afraid of the discussion in 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

Diff Detail

Event Timeline

chapuni created this revision.Oct 20 2022, 4:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 4:15 PM
chapuni requested review of this revision.Oct 20 2022, 4:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 4:15 PM
chapuni abandoned this revision.Oct 20 2022, 4:24 PM

I failed to add all essential commits in it. Will redo.