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.

CCSv6.0.1.00040: Slow build after software update

Guru 19935 points
Other Parts Discussed in Thread: TMS320F28335

Hello,

Building code targeted to a TMS320F28335 has slowed down considerably after I performed a software update for my CCSv6.0.1.00040 installation on Oct 30. I tried changing the parallel build settings and using a previous compiler versions (i.e.v6.2.7).  Neither solved the issue.  Also, I tried to revert back, but I got the revert configuration error shown below.

Stephen


An error occurred while collecting items to be installed

session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: org.eclipse.update.feature,com.ti.c2000.support.win32,4.1.2.0

No repository found containing: binary,com.ti.c2000.support.win32_root,4.1.2.0

No repository found containing: org.eclipse.update.feature,com.ti.emulation.pack.win32,5.1.507.2

No repository found containing: binary,com.ti.emulation.pack.win32_root,5.1.507.2

  • Hi Stephen,

    You updated from 6.0.0 to 6.0.1, right? If the build options are the same and you reverted back to the compiler version you were using before the update then there really is not much else that could impact the build speed.

    Could you provide more details on the slowdown (during compiling? linking? any particular file?)?

    stevenh said:
    Also, I tried to revert back, but I got the revert configuration error shown below.

    Reverting mostly applies to IDE updates. It can't really revert other packages that have been updated.

    Thanks

    ki

  • Hello Ki,

    Deselecting Enable parallel build seemed to solve the issue - though, I am not sure why.

    Stephen

  • We did make changes to how parallel builds works but I think it was after CCSv5.4. You saw the change going from 6.0.0 to 6.01, right?

  • No, the issue occurred in v6.0.1.

  • I didn't update from v6.0.0 to v6.0.1 on Oct 31.  The software update on Oct 31 was for v6.0.1.

  • stevenh said:
    I didn't update from v6.0.0 to v6.0.1 on Oct 31.  The software update on Oct 31 was for v6.0.1.

    ok... that makes it even stranger... because we'd only update the IDE in CCS version updates (like going from 6.0.0 to 6.0.1)....

  • During the slow build, the build command to be $(CCS_UTILS_DIR}/bin/gmake -k -j 4. This is equivalent to setting the parallel  build setting to "Use optimal jobs (4)".  I am not able to recreate the slow build issue by setting the parallel  build to "Use optimal jobs (4)", so something strange is happening.

    I guess I will have to wait until it happens again.

  • Ok, my project is starting to build slowly again.

    I noticed the CDT Build Console shows the compiler being invoked twice, i.e. 

    'Invoking: C2000 Compiler'
    'Invoking: C2000 Compiler'

    Could this be the problem?

    The build setting is set to Enable parallel build (Use optimal jobs (4)).  Also, I am using C2000 compiler version v6.2.9.

  • Ok, I restarted CCS and it building faster now.

    The multiple compiler probably have to do with the parallel build setting.