[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
Thu Mar 29 03:03:05 PDT 2018


sylvestre.ledru updated this revision to Diff 140202.
sylvestre.ledru edited the summary of this revision.
sylvestre.ledru added a comment.

Add to the release notes


Repository:
  rC Clang

https://reviews.llvm.org/D41808

Files:
  CMakeLists.txt
  docs/ReleaseNotes.rst


Index: docs/ReleaseNotes.rst
===================================================================
--- docs/ReleaseNotes.rst
+++ docs/ReleaseNotes.rst
@@ -62,6 +62,9 @@
 Non-comprehensive list of changes in this release
 -------------------------------------------------
 
+- clang binary and libraries have been renamed from 7.0 to 7.
+  For example, the clang binary will be called clang-7 instead of clang-7.0.
+
 - ...
 
 New Compiler Flags
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -424,11 +424,11 @@
 
 # Clang version information
 set(CLANG_EXECUTABLE_VERSION
-     "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING
-    "Version number that will be placed into the clang executable, in the form XX.YY")
+    "${CLANG_VERSION_MAJOR}" CACHE STRING
+    "Major version number that will be appended to the clang executable name")
 set(LIBCLANG_LIBRARY_VERSION
-     "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING
-    "Version number that will be placed into the libclang library , in the form XX.YY")
+    "${CLANG_VERSION_MAJOR}" CACHE STRING
+    "Major version number that will be appended to the libclang library")
 mark_as_advanced(CLANG_EXECUTABLE_VERSION LIBCLANG_LIBRARY_VERSION)
 
 option(CLANG_INCLUDE_TESTS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41808.140202.patch
Type: text/x-patch
Size: 1335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180329/2b9c5563/attachment.bin>


More information about the cfe-commits mailing list