[cmake-developers] Linux PGI compiler missing --build-id flag by default

Brad King brad.king at kitware.com
Fri Sep 23 08:33:14 EDT 2016


On 09/23/2016 06:47 AM, Domen Vrankar wrote:
> I have rpm tests failing on dashboard [1] and it would seem that PGI compiler
> is missing --build-id flag by default which can be added [2]
> 
> Is this default behavior (missing --build-id flag) intended or simply missing from CMake?
> 
> I'm guessing that this is a linker option (or do I also need a compiler flag?) so how do
> I add it only for this compiler? Which|CMAKE_CXX_COMPILER_ID value should I compare
> to or should I use a different CMake variable?

Is this flag needed in general or only for your test?

Thanks,
-Brad

> [1] https://open.cdash.org/testSummary.php?project=1&name=RunCMake.CPack_RPM&date=2016-09-22
> [2] http://www.pgroup.com/userforum/viewtopic.php?p=11665&sid=330354c1739f0409fd1be6878830b457



More information about the cmake-developers mailing list