Skip to content

Add version macros for clang

Sami Tolvanen linux-arm-kernel linux-kbuild lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- fixed a comment in clang-version.sh
- renamed macros to __cc-ifversion and __cc-if-fullversion
- fixed a bug with non-bash shells
- dropped the arm64 patch as unnecessary

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kbuild: add clang-version.shscripts/clang-version.sh+33 -00 replies
2/2kbuild: add __cc-ifversion and compiler-specific variantsscripts/Kbuild.include+34 -70 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchNick Desaulniers
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add version macros for clang

This patch set adds macros for checking clang version.

Changes from v1:
- fixed a comment in clang-version.sh
- renamed macros to __cc-ifversion and __cc-if-fullversion
- fixed a bug with non-bash shells
- dropped the arm64 patch as unnecessary

Sami Tolvanen (2):
kbuild: add clang-version.sh
kbuild: add __cc-ifversion and compiler-specific variants

 scripts/Kbuild.include   | 41 ++++++++++++++++++++++++++++++++++-------
 scripts/clang-version.sh | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 7 deletions(-)
 create mode 100755 scripts/clang-version.sh
Signature · 1 line
2.15.0.531.g2ccb3012c9-goog