projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expose LLVM version string via macro in llvm-config.h, and modify Go bindings
[oota-llvm.git]
/
include
/
llvm
/
Config
/
llvm-config.h.cmake
diff --git
a/include/llvm/Config/llvm-config.h.cmake
b/include/llvm/Config/llvm-config.h.cmake
index 58111644ffa96e2149f6bb7a52b278885807f614..77201e6330bbab3673d513275ef20d5c902e20df 100644
(file)
--- a/
include/llvm/Config/llvm-config.h.cmake
+++ b/
include/llvm/Config/llvm-config.h.cmake
@@
-92,6
+92,9
@@
/* Minor version of the LLVM API */
#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
/* Minor version of the LLVM API */
#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
+/* LLVM version string */
+#define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
+
/* Define if we link Polly to the tools */
#cmakedefine LINK_POLLY_INTO_TOOLS
/* Define if we link Polly to the tools */
#cmakedefine LINK_POLLY_INTO_TOOLS