Re: [PATCH 1/3] kbuild: add clang-version.sh

2017-11-30 Thread Masahiro Yamada
2017-11-30 2:39 GMT+09:00 Nick Desaulniers : > +# clang-version [-p] clang-command > +# > +# Prints the compiler version of `command' in a canonical 4-digit form > > small nit: `command` should be `clang-command`, but its just a comment > (maybe the maintainer can make that change when/if applying)

Re: [PATCH 1/3] kbuild: add clang-version.sh

2017-11-29 Thread Nick Desaulniers
+# clang-version [-p] clang-command +# +# Prints the compiler version of `command' in a canonical 4-digit form small nit: `command` should be `clang-command`, but its just a comment (maybe the maintainer can make that change when/if applying). The conditional at the end to see if $with_patchlevel

[PATCH 1/3] kbuild: add clang-version.sh

2017-11-28 Thread Sami Tolvanen
Based on gcc-version.sh, clang-version.sh prints out the correct version of clang. Signed-off-by: Sami Tolvanen --- scripts/clang-version.sh | 33 + 1 file changed, 33 insertions(+) create mode 100755 scripts/clang-version.sh diff --git a/scripts/clang-version.s