[all-commits] [llvm/llvm-project] a1bbd1: [flang][driver] Unify f18_version.h.in and Version...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Thu Jan 14 05:55:20 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a1bbd1ef1dbd2a39777ef0b2d623f15f0523cdbf
https://github.com/llvm/llvm-project/commit/a1bbd1ef1dbd2a39777ef0b2d623f15f0523cdbf
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M flang/CMakeLists.txt
M flang/include/flang/Version.inc.in
M flang/tools/f18/CMakeLists.txt
M flang/tools/f18/f18.cpp
R flang/tools/f18/f18_version.h.in
Log Message:
-----------
[flang][driver] Unify f18_version.h.in and Version.inc.in
Flang has two CMake configurable header files that define compiler
version numbers:
* f18_version.h.in - only used in f18.cpp (uses version numbers from
LLVM's macro definitions)
* Version.inc.in - not currently used (uses version numbers hard-coded
in Flang's top CMake script)
Currently only f18_version.h.in provides version numbers consistent with
other subprojects in llvm-project. However, its location and name are
inconsistent with e.g. Clang. This patch merges the two headers
together:
* hard-coded version numbers in Flang's top CMake script are deleted
* Version.inc.in is updated to provide string versions of version
numbers (required by f18.cpp)
* f18_version.h.in is deleted as it's no longer needed
Differential Revision: https://reviews.llvm.org/D94422
More information about the All-commits
mailing list