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.

OMAPL137-HT: Headless CCS 12.0 build in docker. Trouble registering DSPLIB and Math Lib

Part Number: OMAPL137-HT
Other Parts Discussed in Thread: MATHLIB, SYSBIOS, CCSTUDIO

Hi,

I'm trying to build our companies code in a CI pipeline so that we can automate release. 

We are using CCS 12.0 as our board is an OMAP L137 and Theia does not support this board as far as I know (happy to be corrected).

I have installed CCS, Bios, DSPLIB and Mathlib in a Docker container but cannot get CCS to register DSPLIB or Mathlib. It happily sees the bios install.

I've been struggling with this for a while and tried an unknown amount of things to keep it brief I've outlined some reproducible steps I've consistently taken.

The steps I have taken are install CCS 12.7.1. Install sysbios 6.70.01.03, install DSPLIB C674X 3.4.0.0, install Mathlib C674x 3.1.0.0. This is all done in the attached dockerfile.

I've set the XDCPATH, to match the equivalent path that I have on my windows machine.

The projects compile ok on Windows with the same CCS version and lib versions etc. DSPLIB and Mathlib are seen by CCS ok after: Windows -> Preferences -> Code Composer Studio -> Products -> Refresh and this step seems to be what is not working on the command line in Linux.

Most of the cli commands I'm using come from https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html#working-with-ccs-linux

I've then done the following, the envs are set in the CI workflow:

      CCS_WORKSPACE_DIR: /tmp/ccs_workspace
      CCS_ECLIPSE: /opt/ti/ccs/eclipse/eclipse

         xvfb-run -a "$CCS_ECLIPSE" \
            -nosplash \
            -data "$CCS_WORKSPACE_DIR" \
            -application com.ti.common.core.initialize \
            -rtsc.productDiscoveryPath "/opt/ti;/opt/ti/dsplib_c674x_3_4_0_0/eclipse" \
            -productDiscoveryPath "/opt/ti;/opt/ti/dsplib_c674x_3_4_0_0/eclipse"

This finds bios and registers it. I've tried multiple permutations of the paths but it only ever sees bios:

            -rtsc.productDiscoveryPath "/opt/ti;/opt/ti/dsplib_c674x_3_4_0_0/eclipse" \
            -productDiscoveryPath "/opt/ti;/opt/ti/dsplib_c674x_3_4_0_0/eclipse"

I've tried splitting rtsc and product discovery into two calls to application com.ti.common.core.initialize.

I've checked the install of dsplib against my windows install to make sure all the same files are there.

I import the projects. It doesn't matter if I import the projects before or after the above.

      - name: Import CCS projects

        run: |
          set -euo pipefail

          "$CCS_ECLIPSE" \
            -noSplash \
            -data "$CCS_WORKSPACE_DIR" \
            -application com.ti.ccstudio.apps.projectImport \
            -ccs.location "$GITHUB_WORKSPACE/one"

          "$CCS_ECLIPSE" \
            -noSplash \
            -data "$CCS_WORKSPACE_DIR" \
            -application com.ti.ccstudio.apps.projectImport \
            -ccs.location "$GITHUB_WORKSPACE/two"

That works ok.

I build the projects:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Tue May 19 14:38:43 GMT 2026]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
================================================================================
Pre processing...
================================================================================
Building...
Buildfile generation error occurred..
Product ti.mas.dsplib.c674x v3.4.0.0 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..
================================================================================
--------------------------------------------------------------------------------
Errors for project 'One' (2):
[One]: Product ti.mas.dsplib.c674x v3.4.0.0 is not currently installed and no compatible version is available. Please install this product or a compatible version.
[One]: Product ti.mathlib.c674x v3.1.2.1 is not currently installed and no compatible version is available. Please install this product or a compatible version.

I've also tried outside of the workflow just inside the container to do various things including:

root@a5f532ceadb1:/workspace# /opt/ti/ccs/eclipse/eclipse \
                    -nosplash \
                    -application org.eclipse.equinox.p2.director \
                    -repository "file:/opt/ti/dsplib_c674x_3_4_0_0/eclipse/" \
                    -installIU ti.mas.dsplib.c674x_3.4.0.0.feature.group \
                    -data "/tmp/workspace"
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Installing ti.mas.dsplib.c674x_3.4.0.0.feature.group 3.4.0.0.

So eclipse/p2 can install something but it doesn't help CCS see the install.

Can anyone see any obvious thing that I'm not doing or doing wrong?

Here is the dockerfile. It has a .txt extension as otherwise it will not attach
DockerFile.txt