summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorTin Huynh <ahuynh@nvidia.com>2017-08-05 00:50:09 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-31 19:24:59 (GMT)
commit2f3a07a981edfbc325f19ea252003e9da59dbcf5 (patch)
tree6ca31c90c90ddec49fde7009262775dc16078cfa /Help
parent9bad65940c87f594a5f1007019d4b187068dbce0 (diff)
downloadCMake-2f3a07a981edfbc325f19ea252003e9da59dbcf5.zip
CMake-2f3a07a981edfbc325f19ea252003e9da59dbcf5.tar.gz
CMake-2f3a07a981edfbc325f19ea252003e9da59dbcf5.tar.bz2
Flang: Add support for flang Fortran compiler
flang is a Fortran compiler built on top of clang [1]. Because flang shares a lot of commonalities with clang, the flang module piggybacks off the clang module and overrides certain options. Add flang to Fortran compiler auto find list. Update flang preprocessor macros to differentiate from PGI. Add Flang-FindBinUtils. [1] https://github.com/flang-compiler/flang
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/flang.rst6
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_ID.rst1
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/flang.rst b/Help/release/dev/flang.rst
new file mode 100644
index 0000000..9849f14
--- /dev/null
+++ b/Help/release/dev/flang.rst
@@ -0,0 +1,6 @@
+flang
+-----
+
+* The `flang`_ Fortran compiler is now supported, with compiler id ``Flang``.
+
+.. _`flang`: https://github.com/flang-compiler/flang
diff --git a/Help/variable/CMAKE_LANG_COMPILER_ID.rst b/Help/variable/CMAKE_LANG_COMPILER_ID.rst
index 5204044..2264269 100644
--- a/Help/variable/CMAKE_LANG_COMPILER_ID.rst
+++ b/Help/variable/CMAKE_LANG_COMPILER_ID.rst
@@ -27,6 +27,7 @@ include:
NVIDIA = NVIDIA CUDA Compiler (nvidia.com)
OpenWatcom = Open Watcom (openwatcom.org)
PGI = The Portland Group (pgroup.com)
+ Flang = Flang Fortran Compiler
PathScale = PathScale (pathscale.com)
SDCC = Small Device C Compiler (sdcc.sourceforge.net)
SunPro = Oracle Solaris Studio (oracle.com)