[PATCH] Enable standard so versioning for libLLVM.

NAKAMURA Takumi geek4civic at gmail.com
Thu Nov 6 17:30:56 PST 2014


Looks good. Although I could **accept** this, excuse me to sit here to listen in more opinions.

I wish this logic into llvm_add_library(). Versioning may be general among shared libs. I will do in future.

FYI, autoconf's --enable-shared emits the library like libLLVM-3.6.0svn.so.

In llvm-shlib/Makefile;
  LIBRARYNAME = LLVM-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(LLVM_VERSION_SUFFIX)
  LIBRARYALIASNAME = LLVM-$(LLVMVersion)

In Makefile.config;
  LLVMVersion       := 3.6.0svn
  LLVM_VERSION_MAJOR := 3
  LLVM_VERSION_MINOR := 6
  LLVM_VERSION_PATCH := 0
  LLVM_VERSION_SUFFIX := svn

To which way shall we follow?

http://reviews.llvm.org/D6157






More information about the llvm-commits mailing list