[cmake-developers] KWSys build warnings on the "merlin" platform

Alan W. Irwin Alan.W.Irwin1234 at gmail.com
Wed Oct 24 16:03:37 EDT 2018


On 2018-10-24 09:05-0400 Brad King wrote:

> On 10/23/2018 06:37 PM, Alan W. Irwin wrote:
>> look at those build warnings which
>> repeatedly show up on the "merlin" report for the the KWSys dashboard
>
> The warnings come from code generated by CMake.  You're driving the
> builds with CMake 3.7 which still generated code on which gcc 8 warns.
> CMake 3.11 has the fix.  If you drive with that or higher instead then
> the warnings should go away.

OK. The issue was I keep ctest-3.7.2 (and cmake-3.7.2) first on my PATH because I
want to make sure to test those versions for the PLplot case (since that is the
PLplot minimum version of CMake for now although I plan within a year or so to
bump that to 3.12.3 or higher once most Linux distributions provide that version).

To fix this issue, I left my PATH the same but I now use the explicit
system version of ctest (3.12.3 on Debian Buster) to launch the
script, and the script automatically figures out inside to use the
compatible version of cmake to launch other parts of the test rather
than cmake-3.7.2 from my PATH).  And as you predicted the warnings go
away (see the most recent merlin results on the dashboard).  So thanks
very much for your key help in getting this issue figured out.

I seem to have been the only one currently who has tried to use a
ctest version less than 3.11 to drive testing, but nevertheless, you
may still want to document that the minimum ctest version to drive
testing should be 3.11 to avoid others running into this issue in the
future.

Alan
__________________________
Alan W. Irwin

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the cmake-developers mailing list