[PATCH] D41808: Rename clang link from clang-X.Y to clang-X

Sylvestre Ledru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 7 08:15:38 PST 2018


sylvestre.ledru created this revision.
sylvestre.ledru added a reviewer: tstellar.
Herald added a subscriber: mgorny.

As we are only doing X.0.Z releases (not using the minor version), there is no need to keep -X.Y in the version.
So, instead, I propose the following:
Instead of having clang-7.0 in bin/, we will have clang-7

Since also matches was gcc is doing.


https://reviews.llvm.org/D41808

Files:
  CMakeLists.txt


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -418,10 +418,10 @@
 
 # Clang version information
 set(CLANG_EXECUTABLE_VERSION
-     "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING
+     "${CLANG_VERSION_MAJOR}" CACHE STRING
     "Version number that will be placed into the clang executable, in the form XX.YY")
 set(LIBCLANG_LIBRARY_VERSION
-     "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING
+     "${CLANG_VERSION_MAJOR}" CACHE STRING
     "Version number that will be placed into the libclang library , in the form XX.YY")
 mark_as_advanced(CLANG_EXECUTABLE_VERSION LIBCLANG_LIBRARY_VERSION)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41808.128872.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180107/a4af5308/attachment.bin>


More information about the cfe-commits mailing list