[Openmp-commits] [PATCH] D40386: [OpenMP] Add entry for Intel Compiler 18

Olga Malysheva via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 30 03:08:02 PST 2017


omalyshe added a comment.

In https://reviews.llvm.org/D40386#939020, @Hahnfeld wrote:

> Question to Intel: At the moment we have to add a new compiler version each year. Can we switch to the same process used for Clang and GCC, i.e. automatically getting the version and composing the string?


Intel compiler provides just two version-related macros, e.g.
#define __INTEL_COMPILER 1800
#define __INTEL_COMPILER_UPDATE 1

Is there a simple way to turn them into "18.0.1" (and also "9999" into "mainline")?


https://reviews.llvm.org/D40386





More information about the Openmp-commits mailing list