On 2012-02-21 20:35-0700 Orion Poplawski wrote:

> cmake has a new module GNUInstallDirs that defines CMAKE_INSTALL_LIBDIR
> as either lib or lib64 as needed.  plplot currently defines it as
> ${CMAKE_INSTALL_PREFIX}/lib.  Perhaps plplot could be updated to the new
> convention?

Hi Orion:

Thanks for drawing our attention to the GNUInstallDirs module.

It appears to be a slightly better (lib64 detection) implementation
than what we implemented years ago in cmake/modules/instdirs.cmake. 
So I think it would be a good idea to switch to it eventually.  (From
the maintenance perspective it is a good idea to let official CMake do
as much of the work as possible rather than relying on our own
custom-written and non-standard modules.)

I specified "eventually" because GNUInstallDirs first became available
for CMake-2.8.5 and our minimum version is 2.8.2 on Linux (and 2.8.6
for all other platforms).

We specify a minimum version of cmake-2.8.2 for Linux because at least
one modern (i.e., non-"enterprise") distro (Debian stable = Squeeze)
still uses that version of CMake.  Generally, Debian uses less
cutting-edge versions of software than other modern distros so when
the new Debian stable = Wheezy is finalized for release (probably
later this year) it will probably be safe to bump our minimum version
of CMake to be consistent with whatever Debian Wheezy adopts. 
Currently that is cmake-2.8.5.

In sum, we must wait for the PLplot minimum version of CMake to be
bumped to 2.8.5 (or later), but once that is done I think modifying
cmake/modules/instdirs.cmake to use installation locations determined by
GNUInstallDirs would be a good idea.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

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
__________________________

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to