[PATCH] D83649: [flang][openacc] OpenACC 3.0 parser

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 08:09:18 PDT 2020


clementval added a comment.

In D83649#2147348 <https://reviews.llvm.org/D83649#2147348>, @tskeith wrote:

> When I try to build this (on macos) I get a missing include for unordered_map:
>
>   In file included from ../../flang/lib/Semantics/check-omp-structure.h:159:
>   include/llvm/Frontend/OpenMP/OMP.cpp.inc:2123:6: error: no template named 'unordered_map' in namespace 'std'
>   std::unordered_map<llvm::omp::Directive, OpenMPDirectiveClauses>
>   ~~~~~^
>
>
> Adding the include to `check-omp-structure.h` fixes the build problem.


@DavidTruby has seen similar problem here https://reviews.llvm.org/rG6e42a417bacbfd5a1f58b0ccb7c9b34ff9e54523. I'll send a patch today to switch to DenseMap so this should go away with it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83649/new/

https://reviews.llvm.org/D83649





More information about the llvm-commits mailing list