summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorTin Huynh <ahuynh@nvidia.com>2021-07-08 01:20:36 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-24 14:37:33 (GMT)
commit85749766dff084e433f05b23f9b93c28704ab014 (patch)
treec85b8209c3a3264969858f88eee06da1c0378b84 /Help
parentf791cd23d408ff7af104d119898c4dd8e1e87688 (diff)
downloadCMake-85749766dff084e433f05b23f9b93c28704ab014.zip
CMake-85749766dff084e433f05b23f9b93c28704ab014.tar.gz
CMake-85749766dff084e433f05b23f9b93c28704ab014.tar.bz2
LLVMFlang: Add support for LLVM Flang
LLVM Flang (https://github.com/llvm/llvm-project/tree/main/flang) is an LLVM Fortran compiler that shares the same name as Flang (also known as Classic Flang). Classic Flang is in active development and is already identified by CMake as Flang. As such, LLVM Flang will be identified as `LLVMFlang`. Fixes: #22387
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/LLVMFlang-compiler.rst6
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_ID.rst3
2 files changed, 8 insertions, 1 deletions
diff --git a/Help/release/dev/LLVMFlang-compiler.rst b/Help/release/dev/LLVMFlang-compiler.rst
new file mode 100644
index 0000000..1d29449
--- /dev/null
+++ b/Help/release/dev/LLVMFlang-compiler.rst
@@ -0,0 +1,6 @@
+LLVMFlang-compiler
+------------------
+
+* LLVM's `flang`_ Fortran compiler is now supported, with compiler id ``LLVMFlang``.
+
+.. _`flang`: https://github.com/llvm/llvm-project/tree/main/flang
diff --git a/Help/variable/CMAKE_LANG_COMPILER_ID.rst b/Help/variable/CMAKE_LANG_COMPILER_ID.rst
index cd7d5cd..6a0a1d9 100644
--- a/Help/variable/CMAKE_LANG_COMPILER_ID.rst
+++ b/Help/variable/CMAKE_LANG_COMPILER_ID.rst
@@ -18,7 +18,8 @@ include:
Clang = LLVM Clang (clang.llvm.org)
Cray = Cray Compiler (cray.com)
Embarcadero, Borland = Embarcadero (embarcadero.com)
- Flang = Flang LLVM Fortran Compiler
+ Flang = Classic Flang Fortran Compiler (https://github.com/flang-compiler/flang)
+ LLVMFlang = LLVM Flang Fortran Compiler (https://github.com/llvm/llvm-project/tree/main/flang)
Fujitsu = Fujitsu HPC compiler (Trad mode)
FujitsuClang = Fujitsu HPC compiler (Clang mode)
G95 = G95 Fortran (g95.org)