[CMake] compiling cmake on aix 5.1 and 5.3

Joachim Geiger joachim.geiger at ipp.mpg.de
Fri Mar 28 09:05:27 EDT 2008


Hello Bill,
I tried to do an experimental-make for the aix-5.3-system (xlf version 8) by
1. checking out a new copy of the cvs-cmake (2.7)
2. use the cmake that I have running (2.4.8) to configure the cvs-cmake 
in the source directory by
 > cmake -DCMAKE_Fortran_COMPILER=/usr/bin/xlf .
which gives me the /usr/bin/f95 in the CMakeCache.txt but with the 
variable CMAKE_Fortran_COMPILER_FULLPATH.
3. cleaned everything and did a new checkout to configure now with
 > cmake -DCMAKE_Fortran_COMPILER_FULLPATH=/usr/bin/xlf .
wich gives me the right compiler in CMakeCache.txt.
4. run "make Experimental"
the fortran test failed again, but a check in the written xml-File 
showed that not xlf was used but again f95. Checked in the 
Tests/Fortran/CMakeCache.txt to see that there the variable is named 
CMAKE_Fortran_COMPILER which indeed has /usr/bin/f95.

How do I make xlf to be THE FORTRAN-COMPILER to be used?
Best regards,
Joachim

P.S.: the experimental-make did not yet show-up on the dashboard.

-- 
Joachim Geiger --------------------------------@\\
Max-Planck-Institute for Plasma Physics,        @\\
   Euratom Association                            \\\
Department Stellaratortheorie (ST)                \\\__
Wendelsteinstr. 1                                (  \\ \
D-17491 Greifswald, Germany                       \_ \\(_
Tel.: ++49 3834/88-2327   Fax: ++49 3834/88-2409    ) \\ \
e-mail: joachim.geiger at ipp.mpg.de                   \  -  |
---------------------------------------------------  \____/


More information about the CMake mailing list