Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
Behalf Of Verweij, Arjen
Sent: maandag 12 juli 2010 20:31
To: Brad King
Cc: cmake@cmake.org
Subject: Re: [CMake] incremental build slow because of F90
(cmake_copy_f90_mod)
Hi Brad,
It's not *supposed* to do that. Can
...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of Verweij, Arjen
Sent: maandag 12 juli 2010 20:31
To: Brad King
Cc: cmake@cmake.org
Subject: Re: [CMake] incremental build slow because of F90
(cmake_copy_f90_mod)
Hi Brad,
It's not *supposed* to do that. Can you produce a minimal project
Wrong log.txt :P
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of Verweij, Arjen
Sent: dinsdag 13 juli 2010 13:27
To: cmake@cmake.org
Subject: Re: [CMake] incremental build slow because of F90
(cmake_copy_f90_mod)
Sent Brad source code
On 07/13/2010 07:34 AM, Verweij, Arjen wrote:
Sent Brad source code to reproduce the bahaviour.
[snip]
I have figured out that the time spent is not lost in
cmake_copy_f90_mod, but in a make directive right before:
/usr1/people/maddev/util/bin/make -f CMakeFiles/mytest.dir/build.make
Hi,
We're finding incremental builds to be slow, because the F90 source seems to be
privy to a processing step known as cmake_copy_f90_mod.
While cmake and the compiler race through C/CXX/Fortran(77) source, this is not
the case for F90. What does cmake_copy_f90_mod do? I can hardly find any
On 07/12/2010 07:51 AM, Verweij, Arjen wrote:
We’re finding incremental builds to be slow, because the F90 source
seems to be privy to a processing step known as “cmake_copy_f90_mod”.
While cmake and the compiler race through C/CXX/Fortran(77) source, this
is not the case for F90. What does
Hi Brad,
Actually the copy-f90-mod step is a *feature* to make incremental
rebuilds faster. It is an optimization for the case that the .f90
source file that provides a module gets recompiled but the *interface*
to the module does not change. Many compilers update the timestamp
on the .mod file
On 07/12/2010 01:23 PM, Verweij, Arjen wrote:
Cmake_copy_f90_mod gets called every time I type make for (as far as
can tell) every F90 file that provides a module. So for instance I
change a comment in my main.f, the compile and linktime for the
executable (4000 ish files) NOT including the
Hi Brad,
It's not *supposed* to do that. Can you produce a minimal project
that reproduces that behavior?
This is reassuring. I'm probably not able to reproduce it with something small,
but I could try. I would imagine that if it's not supposed to do it, it likely
won't :) Apparently, the