Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.06 KB

Building.md

File metadata and controls

53 lines (36 loc) · 1.06 KB

Building

This page describes the requirements and steps to build the CLP package. If you're looking for a prebuilt version instead, check out the releases page.

Requirements

  • An x86_64 Ubuntu 20.04 (Focal) machine or container
    • At runtime, the CLP package uses an Ubuntu Focal container, so we need to build in a matching environment.
    • It should be possible to build a package for a different environment, it just requires a some extra configuration.
  • Python 3.8 or newer
  • python3-venv
  • Task

Setup

Download CLP core's source dependencies:

components/core/tools/scripts/deps-download/download-all.sh

Install CLP core's dependencies

components/core/tools/ubuntu-focal/install-all.sh

Build

To build the package as a tar ball, run;

task package-tar

The built tar will be output in the build directory.

Cleanup

To clean up the package, run:

task clean-package

To clean up all build artifacts, run:

task clean