-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang][examples] Add missing CMake dependencies
Currently, everything that includes "flang/Parser/parse-tree.h" in Flang depends on the `gen_acc` and `gen_omp` CMake targets (these targets generate include files that are used in "parse-tree.h"). The examples in Flang do use this header file and hence also depend on `gen_acc`/`gen_omp`. This patch updates relevant CMake scripts accordingly. I've also taken the liberty to rename some of the example files so that their names follow LLVM's coding guidelines. Differential Revision: https://reviews.llvm.org/D117016
- Loading branch information
1 parent
67346b4
commit 7ccacaf
Showing
9 changed files
with
17 additions
and
11 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
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,9 @@ | ||
add_llvm_library(flangOmpReport | ||
MODULE | ||
FlangOmpReport.cpp | ||
FlangOmpReportVisitor.cpp | ||
|
||
DEPENDS | ||
acc_gen | ||
omp_gen | ||
) |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# TODO: Note that this is currently only available on Linux. | ||
# On Windows, we would also have to specify e.g. `PLUGIN_TOOL`. | ||
add_llvm_library( | ||
flangPrintFunctionNames | ||
add_llvm_library(flangPrintFunctionNames | ||
MODULE | ||
PrintFlangFunctionNames.cpp | ||
|
||
DEPENDS | ||
acc_gen | ||
omp_gen | ||
) |
This file was deleted.
Oops, something went wrong.