-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] Exposes LLVM version number in the runtimes. (#84641)
This allows sharing the LLVM version number in libc++.
- Loading branch information
Showing
3 changed files
with
18 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# The LLVM Version number information | ||
|
||
if(NOT DEFINED LLVM_VERSION_MAJOR) | ||
set(LLVM_VERSION_MAJOR 19) | ||
endif() | ||
if(NOT DEFINED LLVM_VERSION_MINOR) | ||
set(LLVM_VERSION_MINOR 0) | ||
endif() | ||
if(NOT DEFINED LLVM_VERSION_PATCH) | ||
set(LLVM_VERSION_PATCH 0) | ||
endif() | ||
if(NOT DEFINED LLVM_VERSION_SUFFIX) | ||
set(LLVM_VERSION_SUFFIX git) | ||
endif() | ||
|
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