# Build Qualcomm Linux
Source: [https://docs.qualcomm.com/doc/80-70014-54/topic/build-qualcomm-linux.html](https://docs.qualcomm.com/doc/80-70014-54/topic/build-qualcomm-linux.html)
You can build Qualcomm Linux using the GUI-based Qualcomm Software Center (QSC)
launcher, QSC command-line interface (CLI), or the GitHub workflow.
All the build methods require you to select a product ID and distro. Based on the
selected product ID and distro, TensorFlow Lite is built as part of the QIMP SDK.
## Build using QSC Launcher
For instructions, see [Build with QSC Launcher](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254/build_from_source_qsc_gui_intro.html). Based on your
access level, download one of the following distros to compile TensorFlow Lite:
Table : Distro based on user access level
| Access level | Distro to use |
| --- | --- |
| Registered developer with any email address (binaries only
excluding modem and GPS) | Qualcomm\_Linux.SPF.1.0|TEST|DEVICE|PB\_QIMPSDK |
| Registered developer from a verified organization (selected
source files excluding modem and GPS) | Qualcomm\_Linux.SPF.1.0|AP|Standard|OEM|NM\_QIMPSDK |
## Build using QSC CLI
For instructions, see [Build with QSC CLI](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254/build_from_source_QSC_CLI.html). Based on your access
level, download one of the following distros to compile TensorFlow Lite:
Table : Distro based on user access level
| Access level | Distro to use |
| --- | --- |
| Registered developer with any email address (binaries only excluding
modem and GPS) | Qualcomm\_Linux.SPF.1.0|TEST|DEVICE|PB\_QIMPSDK |
| Registered developer from a verified organization (selected source
files excluding modem and GPS) | Qualcomm\_Linux.SPF.1.0|AP|Standard|OEM|NM\_QIMPSDK |
## Build using GitHub workflow
For instructions, see [GitHub workflow](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254/build_from_source_github_intro.html). The instructions help you
to do the following:
- Set up environment on the host machine to build Qualcomm Linux.
- Clone Qualcomm Linux code.
- Set up build environment and compile Qualcomm Linux.
Syncing Qualcomm Linux code involves selecting a manifest file to pull/clone the code
from CodeLinaro.
To clone the QIMP SDK and TensorFlow Lite sources along with it, do the
following:
1. Select the following manifest file:
| meta-qcom-qim-product-sdk | qcom-6.6.28-QLI.1.1-Ver.1.0\_qim-product-sdk-1.1.1.xml |
| --- | --- |
2. To sync the Qualcomm Linux code, run the following
commands:
# cd to directory where you have sufficient storage to create your workspaces
mkdir
cd
Copy to clipboard
repo init -u https://github.com/quic-yocto/qcom-manifest -b qcom-linux-kirkstone -m qcom-6.6.28-QLI.1.1-Ver.1.0_qim-product-sdk-1.1.1.xmlCopy to clipboard
repo syncCopy to clipboard
3. Before compiling the Qualcomm Linux build, add EXTRALAYERS to add the QIMP SDK.
The QIMP SDK includes TensorFlow Lite. To add EXTRALAYERS, run the following
commands:
export EXTRALAYERS=”meta-qcom-qim-product-sdk”Copy to clipboard
MACHINE=qcm6490 DISTRO=qcom-wayland source setup-environment bitbake qcom-multimedia-imageCopy to clipboard
# To build just Qualcomm IM Product SDK
bitbake qim-product-sdk
Copy to clipboard
These commands build the TensorFlow Lite library as part of the QIMP SDK. All
TensorFlow Lite libraries and binaries are packaged into a zip file in the .ipk
format and are available with the system images to be flashed onto the device.
**Parent Topic:** [Optional: Build TensorFlow Lite Runtime](https://docs.qualcomm.com/doc/80-70014-54/topic/build-qualcomm-linux-and-install-tensorflow-lite-runtime.html)
Last Published: Jul 12, 2024
[Previous Topic
Optional: Build TensorFlow Lite Runtime](https://docs.qualcomm.com/bundle/publicresource/80-70014-54/topics/build-qualcomm-linux-and-install-tensorflow-lite-runtime.md) [Next Topic
Install TensorFlow Lite Runtime](https://docs.qualcomm.com/bundle/publicresource/80-70014-54/topics/install-tensorflow-lite-runtime.md)