[PATCH] D117016: [flang][examples] Add missing CMake dependencies

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 05:49:17 PST 2022


awarzynski created this revision.
awarzynski added reviewers: clementval, kiranchandramohan.
Herald added a subscriber: mgorny.
Herald added a reviewer: sscalpone.
Herald added a project: Flang.
awarzynski requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1, jdoerfert.
Herald added a project: LLVM.

Currently everything that includes "flang/Parser/parse-tree.h" in Flang
depends on the `gen_acc` CMake target (it generates one of the 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`. 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117016

Files:
  flang/examples/CMakeLists.txt
  flang/examples/FlangOmpReport/CMakeLists.txt
  flang/examples/FlangOmpReport/FlangOmpReport.cpp
  flang/examples/FlangOmpReport/FlangOmpReportVisitor.cpp
  flang/examples/FlangOmpReport/FlangOmpReportVisitor.h
  flang/examples/FlangOmpReport/requirements.txt
  flang/examples/FlangOmpReport/yaml_summarizer.py
  flang/examples/PrintFlangFunctionNames/CMakeLists.txt
  flang/examples/flang-omp-report-plugin/CMakeLists.txt
  flang/examples/flang-omp-report-plugin/flang-omp-report-visitor.cpp
  flang/examples/flang-omp-report-plugin/flang-omp-report-visitor.h
  flang/examples/flang-omp-report-plugin/flang-omp-report.cpp
  flang/examples/flang-omp-report-plugin/requirements.txt
  flang/examples/flang-omp-report-plugin/yaml_summarizer.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117016.398924.patch
Type: text/x-patch
Size: 16673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220111/d9880e24/attachment.bin>


More information about the llvm-commits mailing list