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

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 29 03:10:43 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC328769: Rename clang link from clang-X.Y to clang-X (authored by sylvestre, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D41808?vs=140202&id=140203#toc

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.140203.patch
Type: text/x-patch
Size: 1335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180329/cc828de8/attachment.bin>


More information about the cfe-commits mailing list