Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

COM client compilation takes too long

Goran_P_
Beginner
380 Views

Hello,

we're working on a COM client. The file created by Intel Visual Fortran Module Wizard (by importing a TLB file) has approx. 190.000 lines. The compilation time of the file on an average CPU is about 20 mins. Is there a way to accelarate the compilation process? It doesn't really makes a difference if I compile using debug or release settings.

Regards,

Goran

0 Kudos
3 Replies
andrew_4619
Honored Contributor III
380 Views

Park the full file and make a copy with just the routines interfaces you use perhaps?  You you need to rebuild it anyway, is it actually changing? You could remove it from the build and just use a prebuilt obkect file perhaps?

0 Kudos
andrew_4619
Honored Contributor III
380 Views

Or if you are modifying it a lot then why not make a file with a module for the parameter declarations and split the interfaces into several separate modules in differnt files? Then you are only compile a sub-set whilst working on it?

0 Kudos
SergeyKostrov
Valued Contributor II
380 Views
>>..The compilation time of the file on an average CPU is about 20 mins. Is there a way to >>accelarate the compilation process? Did you create any C/C++ wrappers? If Yes, Verify that all wrappers for COM interfaces you've imported and used in your project are enabled for Precompiled Header usage. If you create a small project reproducer with a couple of files I could verify if they are used properly with Precompiled Header option.
0 Kudos
Reply