[Openmp-commits] [PATCH] D74258: [OpenMP] Switch default C++ standard to C++ 14

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Feb 8 08:32:57 PST 2020


JonChesterfield added a comment.

In D74258#1865533 <https://reviews.llvm.org/D74258#1865533>, @Hahnfeld wrote:

> You can do all that if the runtime only requires a subset of its parent project.


Yes, evidently. It's catering to a user who wants to build libomptarget from C++11 source, but is not willing to build a compiler from C++11 source, and is not willing to download a binary version of such a compiler. That's surely the empty set.

> I really hope that the OpenMP runtime has a broader usage than just with "the rest of llvm". It can be used standalone with Intel Compilers and GCC, and this is a great advantage for research.

I believe it does have such usage. I just don't believe that requiring the same compiler capability as the rest of llvm will hinder this, and I definitely believe in the ongoing inefficiency induced by sticking with an older C++ revision. Exactly the same arguments that (eventually) moved the rest of llvm up to C++14 apply here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74258





More information about the Openmp-commits mailing list