This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Do you have any tips to shorten the building time?

Guru 10570 points

Hello
I would like to shorten building time.
Because, our souce codes are about 2 million lines.
And, it takes about 90min with Release build, 10min with Debug build.

Do you have any tips to shorten the building time?
(Compiler/Linker Options or CGT version changing)

And, if you have a plan to speed up the compiler in the future, please let me know.

Our environment:
CCS v5.1.0.09000
CGT TI v4.9.1
Target Core : ARM9 (DM6446)

Best regards, RY

  • Are you using Code Composer Studio?  Do you use parallel builds?  Are there a few files that dominate most of the build time?

    Compiler version 4.9.1 is about 3 years old.  Are you able to upgrade to something more recent?  I can't make any guarantees, but some build time improvements have been implemented since then.

    Thanks and regards,

    -George

  • George Mock said:
    Are you using Code Composer Studio?

    I apologize.  You use CCS 5.1.  I somehow overlooked that.

    You need to make sure you are using parallel builds.  The best information on that is in this wiki article.  However, it states you need to be on CCS 5.3 or higher.  I strongly recommend you consider that CCS upgrade.  

    In case it is helpful, here is some older information on parallel builds on CCS v4.  I don't know if the same technique works on CCS 5.1, but it might.

    Thanks and regards,

    -George

  • George-san,

    Thank you for your response! It was helpful for us.
    But, I found the linking time is the most heavy process in our project.
    It can not shorten by parallel build.

    Can I have any approach to decrease linking time if possible?

    Best regards, RY

  • One technique described in this wiki article is to disable type merging.  Feel free to try it.  But I don't think it will help you.  When building for EABI, as you probably do, a different method for type merging is used, and that method doesn't have any problems with long run times.

    You could also try upgrading the compiler, just to see if it helps.  I'm not specifically aware of any fixes to linker run time issues.  But version 4.9.1 is 3 years old.  A lot can happen in that time.

    Thanks and regards,

    -George

  • George-san,

    Thanks a lot. I will try it.

    Best regards, RY