summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-27 16:58:24 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-28 14:21:27 (GMT)
commit9c479c7c40c64d0fbe41cba1b422303989c306f7 (patch)
treeccf45dc9889207d5c7c98fa57156fe62fa18e34b /Help
parentb7193ab18f74a3b6eb6c24bac31384863ee87ffc (diff)
downloadCMake-9c479c7c40c64d0fbe41cba1b422303989c306f7.zip
CMake-9c479c7c40c64d0fbe41cba1b422303989c306f7.tar.gz
CMake-9c479c7c40c64d0fbe41cba1b422303989c306f7.tar.bz2
IntelLLVM: Add special case for ifx 2021.1 version extraction
The ifx beta versions forgot to define `__INTEL_LLVM_COMPILER`, and instead define `__INTEL_COMPILER == 201900`. Add a special case. Issue: #22120
Diffstat (limited to 'Help')
-rw-r--r--Help/release/3.20.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/Help/release/3.20.rst b/Help/release/3.20.rst
index d274c26..f77304f 100644
--- a/Help/release/3.20.rst
+++ b/Help/release/3.20.rst
@@ -47,11 +47,7 @@ Compilers
* The ``icx``/``icpx`` C/C++ compilers on Linux, and the ``icx``
C/C++ compiler on Windows, are fully supported as of oneAPI 2021.1.
- * The ``ifx`` Fortran compiler on Linux is partially supported.
- As of oneAPI 2021.1, ``ifx`` does not define several identification
- macros, so CMake identifies it as the classic ``Intel`` compiler.
- This works in many cases because ``ifx`` accepts the same command line
- parameters as ``ifort``. A future version of oneAPI may fix this.
+ * The ``ifx`` Fortran compiler on Linux is supported as of oneAPI 2021.1.
* The ``ifx`` Fortran compiler on Windows is not yet supported.
@@ -359,3 +355,10 @@ Changes made since CMake 3.20.0 include the following.
as having major version 2021. CMake 3.20.1 and below were not aware of a
change to the identification macro version scheme made by Intel starting
in version 2021, and detected the version as 20.2.
+
+* The Intel oneAPI Fortran compiler is now identified as ``IntelLLVM``.
+ The oneAPI 2021.1 Fortran compiler is missing an identification macro,
+ so CMake 3.20.1 and below identified it as ``Intel``. CMake now has
+ a special case to recognize oneAPI 2021.1 Fortran as ``IntelLLVM``.
+ The oneAPI 2021.2 Fortran compiler defines the proper identification
+ macro and so is identified as ``IntelLLVM`` by all CMake 3.20 versions.