Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-26 Thread Alan W. Irwin
On 2008-06-26 09:56+0200 Hauke Heibel wrote: 2) FindCBLAS.cmake: --- a) Well, we need it (I already told Alan, that I am willing to write it) b) Should be able to use FindBLAS.cmake (Legacy BLAS is required by CBLAS), even without a Fotran compiler being present... In the CLAP

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-26 Thread Hauke Heibel
Ok, now that we have collected a list of problems/facts, I have the feeling that we need to step back and make a wishlist... There is no way in writing an all-purpose version scripts since there exist contradictory paradigms. I will start by the list of problems/facts: * BLAS and CBLAS do have d

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Arjen Markus
> On 2008-06-25 16:32+0200 Bernd Schubert wrote: > >> No, it is really no problem to link fortran libraries and to call their >> functions. It is onkly a bit nasty sometimes to write the proto types of >> the >> blas/lapack functions, since nobody seems to have created a complete set >> of >> these

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Bernd Schubert
On Wednesday 25 June 2008, Alan W. Irwin wrote: > On 2008-06-25 16:32+0200 Bernd Schubert wrote: > > On Wednesday 25 June 2008, Alan W. Irwin wrote: > >> On 2008-06-25 15:15+0200 Hauke Heibel wrote: > >>> Hi there, > >>> > >>> I started diving into the world of CMake and spend the last two days in

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Alan W. Irwin
On 2008-06-25 16:32+0200 Bernd Schubert wrote: On Wednesday 25 June 2008, Alan W. Irwin wrote: On 2008-06-25 15:15+0200 Hauke Heibel wrote: Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We are u

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Hauke Heibel
Bernd Schubert wrote: On Wednesday 25 June 2008, Alan W. Irwin wrote: I think that assumption needs lots of qualifiers. Did your run-time actually give correct numerical results when linking from a C main programme to f77blas.lib? Interfacing C/C++ and Fortran is a tricky business.

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Bernd Schubert
On Wednesday 25 June 2008, Alan W. Irwin wrote: > On 2008-06-25 15:15+0200 Hauke Heibel wrote: > > Hi there, > > > > I started diving into the world of CMake and spend the last two days in > > trying to convert a project of mine to be working with CMake. > > > > We are using BLAS in the project, so

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Alan W. Irwin
On 2008-06-25 15:15+0200 Hauke Heibel wrote: Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We are using BLAS in the project, so obviously I gave FIND_PACKAGE(BLAS) a shot. In the beginning it w

[CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Hauke Heibel
Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We are using BLAS in the project, so obviously I gave FIND_PACKAGE(BLAS) a shot. In the beginning it was not really working, but I found a workaroun