[CP2K:8099] Developers: fast build, without recompiling dependencies?

Jörg Saßmannshausen j.sassma... at ucl.ac.uk
Thu Aug 25 15:49:43 CEST 2016


Hi Rustam,

can you not go into the sub-directory and do a make there and then just re-
link? I would have thought that is possible. 
If you have modified only a few files it might be even quicker to manually 
execute the building command and then re-link.

Not sure whether that works with cp2k as well as I have not tried it but other 
code certainly has that feature.

All the best from London

Jörg

On Thursday 25 Aug 2016 06:44:34 Rustam wrote:
> CP2K developers,
> 
> Is the any way to build exe without recompiling ALL dependencies?
> 
> A couple of years ago the standard make target did not recompile all
> dependencies. As a result minor code modifications recompiled fast. Now,
> make carefully creates a list of all dependencies and recompiles all of
> them. Nice safety feature but recompiling minor local changes seems to take
> forever, debugging becomes a major pain.
> 
> Is there any make TARGET that can build exe by recompiling only the
> modified files and their corresponding libraries?
> 
> Thanks,
> Rustam


-- 
*************************************************************
Dr. Jörg Saßmannshausen, MRSC
University College London
Department of Chemistry
20 Gordon Street
London
WC1H 0AJ 

email: j.sassma... at ucl.ac.uk
web: http://sassy.formativ.net

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 220 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160825/c820d4d0/attachment.sig>


More information about the CP2K-user mailing list