On 2018-02-13 14:56-0500 Brad King wrote:

On 2/13/2018 2:50 PM, Alan W. Irwin wrote:
While waiting for Arjen to respond from his European time zone to that
question, which cmake package for MinGW-w64/MSYS2 do you usually
recommend?  The cmake package from the mingw64 repository or the cmake
package from the msys2 repository?

I'm not familiar with either of those.  What does each report as
CMAKE_HOST_SYSTEM_NAME?

In general, you get native packages from the mingw64 repository and
POSIX-aware packages from the msys2 repository for this dual-natured
platform, and cmake is one of those rare beasts that has a package
in each repo.

@Arjen: to answer Brad's questions you should modify our top-level
CMakeLists.txt to also report CMAKE_HOST_SYSTEM_NAME (just in case
that is not the same as CMAKE_SYSTEM_NAME which we already report
there).  I assume from the CMakeCache.txt file you included in your
August comprehensive test report for this platform that you are still
running $PREFIX/mingw64/bin/cmake.exe, i.e., the version of cmake from
the mingw64 repository.  So just configuring PLplot on that platform
should give you the mingw64 answer to Brad's questions.  And to get
the msys2 answer you will need to temporarily move
$PREFIX/mingw64/bin/cmake.exe out of the way, install the POSIX
version of cmake from the msys2 repo, and configure PLplot from
scratch again using the msys2 version of cmake.

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
__________________________
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to