Just to roundtrip this for posterity. The fix for incorrect
identification of XLC will be in CMake 3.11.0-rc3
On Thu, Mar 8, 2018 at 11:17 AM, Robert Maynard
wrote:
> Hi.
>
> 1. You can report this issue on the CMake gitlab (
> https://gitlab.kitware.com/cmake/cmake/issues ). You will want to
> a
Hi.
1. You can report this issue on the CMake gitlab (
https://gitlab.kitware.com/cmake/cmake/issues ). You will want to
attach the result of dumping all defines from the compiler ( xlc++ -dD
-E - < /dev/null or xlc++ -dM -E ). Currently it looks like we are
using '__IBMCPP__' to detect xlc++, a
Hi,
I am using cmake-3.9.4 on a power9 system with CXX=xlc++ (IBM XL C++) and CMake
is misidentifying the compiler as "clang".
% uname -a
Linux cn2021 4.11.0-44.4.1.el7a.ppc64le #1 SMP Sat Dec 9 02:17:51 EST 2017
ppc64le ppc64le ppc64le GNU/Linux
% echo $CXX
xlc++
% $CXX --version
IBM XL C/C+