RFR : 8218965: aix: support xlclang++ in the compiler detection

Baesken, Matthias matthias.baesken at sap.com
Thu Feb 14 14:44:01 UTC 2019


please review this small  change .

On AIX,   it adds   detection  of xlc16 /  clang    to the  build environment.

The xlc16  package contains   2 compiler frontends :

  *   The legacy  xlc
  *   The new clang-based  xlclang++

For older xlc (12 / 13)  we should for now still support the "legacy"  xlc .
For  xlc16    the usage  of   xlclang++    is desired , because  it  promises better C++11/14   support  (important for the coming JEPs dealing with C++11/14 features)  .

Additionally to the compiler detection , the  debug-flag is changed to -g1  when xlclang++ is used  (because of issues with -g) ;    thanks to Steven for providing the info.

Bug/webrev :



Thanks, Matthias

More information about the build-dev mailing list