forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch level to llvm version in CMake and Autoconf
The shared library generated by autoconf will now be called libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)$(VERSION_SUFFIX).so and a symlink named libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_SUFFIX).so will also be created in the install directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202720 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
7bc65d0
commit db3064e
Showing
7 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.60 for LLVM 3.5svn. | ||
# Generated by GNU Autoconf 2.60 for LLVM 3.5.0svn. | ||
# | ||
# Report bugs to <http://llvm.org/bugs/>. | ||
# | ||
|
@@ -561,8 +561,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} | |
# Identity of this package. | ||
PACKAGE_NAME='LLVM' | ||
PACKAGE_TARNAME='llvm' | ||
PACKAGE_VERSION='3.5svn' | ||
PACKAGE_STRING='LLVM 3.5svn' | ||
PACKAGE_VERSION='3.5.0svn' | ||
PACKAGE_STRING='LLVM 3.5.0svn' | ||
PACKAGE_BUGREPORT='http://llvm.org/bugs/' | ||
|
||
ac_unique_file="lib/IR/Module.cpp" | ||
|
@@ -641,6 +641,8 @@ host_alias | |
target_alias | ||
LLVM_VERSION_MAJOR | ||
LLVM_VERSION_MINOR | ||
LLVM_VERSION_PATCH | ||
LLVM_VERSION_SUFFIX | ||
LLVM_COPYRIGHT | ||
CC | ||
CFLAGS | ||
|
@@ -1324,7 +1326,7 @@ if test "$ac_init_help" = "long"; then | |
# Omit some internal or obsolete options to make the list less imposing. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat <<_ACEOF | ||
\`configure' configures LLVM 3.5svn to adapt to many kinds of systems. | ||
\`configure' configures LLVM 3.5.0svn to adapt to many kinds of systems. | ||
|
||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
||
|
@@ -1390,7 +1392,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of LLVM 3.5svn:";; | ||
short | recursive ) echo "Configuration of LLVM 3.5.0svn:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
||
|
@@ -1561,7 +1563,7 @@ fi | |
test -n "$ac_init_help" && exit $ac_status | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
LLVM configure 3.5svn | ||
LLVM configure 3.5.0svn | ||
generated by GNU Autoconf 2.60 | ||
|
||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
|
@@ -1577,7 +1579,7 @@ cat >config.log <<_ACEOF | |
This file contains any messages produced by compilers while | ||
running configure, to aid debugging if configure makes a mistake. | ||
|
||
It was created by LLVM $as_me 3.5svn, which was | ||
It was created by LLVM $as_me 3.5.0svn, which was | ||
generated by GNU Autoconf 2.60. Invocation command line was | ||
|
||
$ $0 $@ | ||
|
@@ -1931,21 +1933,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
|
||
|
||
|
||
LLVM_VERSION_MAJOR=3 | ||
LLVM_VERSION_MINOR=5 | ||
LLVM_VERSION_PATCH=0 | ||
LLVM_VERSION_SUFFIX=svn | ||
|
||
cat >>confdefs.h <<\_ACEOF | ||
#define LLVM_VERSION_MAJOR 3 | ||
_ACEOF | ||
|
||
LLVM_VERSION_MAJOR='3' | ||
cat >>confdefs.h <<_ACEOF | ||
#define LLVM_VERSION_MAJOR $LLVM_VERSION_MAJOR | ||
_ACEOF | ||
|
||
|
||
cat >>confdefs.h <<_ACEOF | ||
#define LLVM_VERSION_MINOR $LLVM_VERSION_MINOR | ||
_ACEOF | ||
|
||
|
||
cat >>confdefs.h <<\_ACEOF | ||
#define LLVM_VERSION_MINOR 5 | ||
cat >>confdefs.h <<_ACEOF | ||
#define LLVM_VERSION_PATCH $LLVM_VERSION_PATCH | ||
_ACEOF | ||
|
||
LLVM_VERSION_MINOR='5' | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
@@ -19829,7 +19839,7 @@ exec 6>&1 | |
# report actual input values of CONFIG_FILES etc. instead of their | ||
# values after options handling. | ||
ac_log=" | ||
This file was extended by LLVM $as_me 3.5svn, which was | ||
This file was extended by LLVM $as_me 3.5.0svn, which was | ||
generated by GNU Autoconf 2.60. Invocation command line was | ||
|
||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -19882,7 +19892,7 @@ Report bugs to <[email protected]>." | |
_ACEOF | ||
cat >>$CONFIG_STATUS <<_ACEOF | ||
ac_cs_version="\\ | ||
LLVM config.status 3.5svn | ||
LLVM config.status 3.5.0svn | ||
configured by $0, generated by GNU Autoconf 2.60, | ||
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
|
||
|
@@ -20122,6 +20132,8 @@ host_alias!$host_alias$ac_delim | |
target_alias!$target_alias$ac_delim | ||
LLVM_VERSION_MAJOR!$LLVM_VERSION_MAJOR$ac_delim | ||
LLVM_VERSION_MINOR!$LLVM_VERSION_MINOR$ac_delim | ||
LLVM_VERSION_PATCH!$LLVM_VERSION_PATCH$ac_delim | ||
LLVM_VERSION_SUFFIX!$LLVM_VERSION_SUFFIX$ac_delim | ||
LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim | ||
CC!$CC$ac_delim | ||
CFLAGS!$CFLAGS$ac_delim | ||
|
@@ -20178,8 +20190,6 @@ ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim | |
EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim | ||
DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim | ||
DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim | ||
KEEP_SYMBOLS!$KEEP_SYMBOLS$ac_delim | ||
JIT!$JIT$ac_delim | ||
_ACEOF | ||
|
||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | ||
|
@@ -20221,6 +20231,8 @@ _ACEOF | |
ac_delim='%!_!# ' | ||
for ac_last_try in false false false false false :; do | ||
cat >conf$$subs.sed <<_ACEOF | ||
KEEP_SYMBOLS!$KEEP_SYMBOLS$ac_delim | ||
JIT!$JIT$ac_delim | ||
TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim | ||
TARGETS_WITH_JIT!$TARGETS_WITH_JIT$ac_delim | ||
ENABLE_DOCS!$ENABLE_DOCS$ac_delim | ||
|
@@ -20316,8 +20328,6 @@ LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim | |
LLVM_INFODIR!$LLVM_INFODIR$ac_delim | ||
LLVM_MANDIR!$LLVM_MANDIR$ac_delim | ||
LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim | ||
BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim | ||
ALL_BINDINGS!$ALL_BINDINGS$ac_delim | ||
_ACEOF | ||
|
||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | ||
|
@@ -20359,6 +20369,8 @@ _ACEOF | |
ac_delim='%!_!# ' | ||
for ac_last_try in false false false false false :; do | ||
cat >conf$$subs.sed <<_ACEOF | ||
BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim | ||
ALL_BINDINGS!$ALL_BINDINGS$ac_delim | ||
OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim | ||
ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim | ||
RPATH!$RPATH$ac_delim | ||
|
@@ -20368,7 +20380,7 @@ LIBOBJS!$LIBOBJS$ac_delim | |
LTLIBOBJS!$LTLIBOBJS$ac_delim | ||
_ACEOF | ||
|
||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then | ||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then | ||
break | ||
elif $ac_last_try; then | ||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters