[llvm-dev] [LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
Sedat Dilek via llvm-dev
llvm-dev at lists.llvm.org
Sun Jun 26 23:00:09 PDT 2016
> Can you answer my question on how to set the version-string correct
> when generating tarballs out of the release_38 Git branch?
> ( I generated source-tarballs out of my local Git repositories, see below. )
[ llvm.src/CMakeLists.txt ]
...
if(NOT DEFINED LLVM_VERSION_MAJOR)
set(LLVM_VERSION_MAJOR 3)
endif()
if(NOT DEFINED LLVM_VERSION_MINOR)
set(LLVM_VERSION_MINOR 8)
endif()
if(NOT DEFINED LLVM_VERSION_PATCH)
set(LLVM_VERSION_PATCH 1)
endif()
if(NOT DEFINED LLVM_VERSION_SUFFIX)
set(LLVM_VERSION_SUFFIX "")
endif()
...
[ llvm.src/autoconf/configure.ac ]
...
AC_INIT([LLVM],[3.8.0],[http://llvm.org/bugs/])
LLVM_VERSION_MAJOR=3
LLVM_VERSION_MINOR=8
LLVM_VERSION_PATCH=0
LLVM_VERSION_SUFFIX=
...
Building with CMake sets the version-string correct whereas using
autotools as build-system does not.
- Sedat -
More information about the llvm-dev
mailing list