MATHLIB Build Process


Page Contents


CCS Build Process

To build any specific kernel for test, benchmarking or to pull in source code changes - just locate the associated project file, load it and run within the CCS environment. The sections below provide all necessary details to get started.

  1. Required Tools
  2. Re-build MATHLIB Library
  3. Build Individual MATHLIB Kernel

The sections that follow detail each item above.

Required Tools

The following tools are required to build MATHLIB using CCS (links provided). Download and install all tools to a single local (C:) directory, for example, c:\ti.

Procedure for MATHLIB

The MATHLIB supports CCSV5.2 & above. The MATHLIB may be built following the procedure below:

  1. Open the CCSv5 application
  2. Import the MATHLIB makefile based project
  3. Build the project

Procedure for Individual Kernels

Any individual kernel within MATHLIB may be tested via CCS following the procedure below:

  1. Open the CCSv5 application
  2. Import the MATHLIB kernel unit test project
  3. Use the Debug profile for debugging kernel unit tests
  4. Build and test the project


Makefile Build Process

A GNU makefile is also provided for rebuilding MATHLIB via GNU make utility. This file is located in the packages/ti/mathlib folder. The makefile provides a list of all tools, common build utilities and build rules required for generating MATHLIB binary.

Required Tools

The following tools are required to build MATHLIB using GNU make (links provided). Download and install all tools to a single local (C:) directory, for example, c:\ti.

Note:
A "My.TI" account is required for download and can be registered at my.ti.com

Procedure for MATHLIB

The MATHLIB may be built using GNU make following the procedure below:

  1. Add cygwin/bin to the environment PATH (Windows only)
  2. Correct the C6x_GEN_INSTALL_DIR path in the makefile (two options)
  3. Build the library

Copyright 2016, Texas Instruments Incorporated