summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-21 18:37:48 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-25 13:24:28 (GMT)
commit5c41386357977d931f73e3bb824080af795b3cd5 (patch)
tree45ecef4703540ce639600c28464e5c7313526c0f /Help/release
parent82782379337fe922f96f4f19b8deae1fab6212fe (diff)
downloadCMake-5c41386357977d931f73e3bb824080af795b3cd5.zip
CMake-5c41386357977d931f73e3bb824080af795b3cd5.tar.gz
CMake-5c41386357977d931f73e3bb824080af795b3cd5.tar.bz2
XLClang: Add policy CMP0089 to present as XL for compatibility
We now identify IBM's Clang-based XL compilers, which define `__ibmxl__`, as `XLClang` rather than `XL`. In order to support existing project code that checks for `XL`, add a policy whose OLD behavior is to present the compiler id as `XL` and whose NEW behavior is to present the compiler id as `XLClang` as we really detect it.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/add-xlclang.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/add-xlclang.rst b/Help/release/dev/add-xlclang.rst
new file mode 100644
index 0000000..77ff938
--- /dev/null
+++ b/Help/release/dev/add-xlclang.rst
@@ -0,0 +1,5 @@
+add-xlclang
+-----------
+
+* IBM Clang-based XL compilers that define ``__ibmxl__`` now use the
+ compiler id ``XLClang`` instead of ``XL``. See policy :policy:`CMP0089`.