[all-commits] [llvm/llvm-project] 96a3b7: [flang] Make runtimes headers independent of the m...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Tue Aug 23 07:26:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96a3b78183579c78d3b20c707650794efceae422
https://github.com/llvm/llvm-project/commit/96a3b78183579c78d3b20c707650794efceae422
Author: Martin Storsjö <martin at martin.st>
Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths:
M flang/include/flang/Common/idioms.h
Log Message:
-----------
[flang] Make runtimes headers independent of the main llvm headers
llvm/Support/Compiler.h requires llvm-config.h, i.e. to include it,
you'd need to actually set up building llvm for that target.
If using flang to cross compile code for a different target, we need
the runtimes built for that target, but we might not want to build
llvm itself for that target.
This is one out of two essential steps for building the flang runtimes
for a foreign target, i.e. setting up cross compiling with flang.
Differential Revision: https://reviews.llvm.org/D130351
Commit: b75a3c9f31c1ffdc9856aee32991d8129b372ee7
https://github.com/llvm/llvm-project/commit/b75a3c9f31c1ffdc9856aee32991d8129b372ee7
Author: Martin Storsjö <martin at martin.st>
Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths:
M flang/lib/Decimal/CMakeLists.txt
M flang/runtime/CMakeLists.txt
Log Message:
-----------
[flang] Allow configuring building the flang runtime standalone
This allows building the flang runtime and libFortranDecimal standalone,
without setting up the full llvm build, by pointing cmake to these
directories.
This is the other one out of two essential steps for building the flang runtimes
for a foreign target, i.e. setting up cross compiling with flang.
Differential Revision: https://reviews.llvm.org/D130352
Compare: https://github.com/llvm/llvm-project/compare/0565e65a6967...b75a3c9f31c1
More information about the All-commits
mailing list