[cmake-developers] [PATCH] Fix broken PGI builds for liblzma.

"C. Bergström" cbergstrom at pathscale.com
Fri Aug 1 14:43:28 EDT 2014


On 08/ 2/14 01:27 AM, Chuck Atkins wrote:
> It should be noted that the patch is really a set of workaround for 
> PGI compiler being broken and  less to do with the code itself.  If 
> desired, I could refactor the #if C99 test to  use a 
> CHECK_SOURCE_COMPILES at the CMake level instead.
I'm not intimately following this issue, but I can get you access to 
pathcc/pathCC to see if we work on this as well. I have no idea why 
anyone would want to use PIG to compile cmake, but...

(C99 doesn't work "correctly" on some of the older linux) So while "c99" 
is claimed to be supported - it was in fact broken. SLES10 is one 
example I know 1st hand - there are others as well. So while we support 
c99 on SLES11 - it gets disabled on older linux.

feature/functional tests imho are always preferred vs #if..




More information about the cmake-developers mailing list