CFD Online Discussion Forums

CFD Online Discussion Forums (
-   SU2 (
-   -   How to compile only the modified files? (

aman_baig September 9, 2019 21:09

How to compile only the modified files?
I am starting to add some capabilities to SU2. If I use 'make install' it detects the files that have been changed and recompiles only them. The problem is even then the compilation can take many minutes to complete. Is there a smarter way to make this even faster?

atelcikti1 September 10, 2019 02:47

There is no better way rather than make install or make. If you make small change ie. in solver class which is on the top level, it will not change lots of file so it will take less time comparing to changing transport model which affects lots of classes. If you dont need automatic differentiation just compile without AD flag, it will save severe type according to my previous experience.

All times are GMT -4. The time now is 01:30.