[flang-commits] [flang] [flang] Use precompiled parsing headers (PR #130600)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Mar 10 06:21:44 PDT 2025
================
@@ -72,3 +72,11 @@ add_flang_library(flangFrontend
clangBasic
clangDriver
)
+
+target_precompile_headers(flangFrontend PRIVATE
+ [["flang/Parser/parsing.h"]]
+ [["flang/Parser/parse-tree.h"]]
+ [["flang/Parser/dump-parse-tree.h"]]
+ [["flang/Lower/PFTBuilder.h"]]
+ [["flang/Lower/Bridge.h"]]
+)
----------------
tblah wrote:
Is there a way these could be kept in the part of flang the headers are from and then re-used here?
e.g. the first three would be precompiled in flang/lib/Parser/CMakeLists.txt
https://github.com/llvm/llvm-project/pull/130600
More information about the flang-commits
mailing list