Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Latest commit

 

History

History
50 lines (36 loc) · 1.26 KB

cmake.md

File metadata and controls

50 lines (36 loc) · 1.26 KB

Customize the Build Process:

You can use the following build options to customize the build process:

  • BUILD_VERSION: Specify the build version string.
  • DOCKER_PREFIX: Specify the docker image prefix string.
  • BUILD_FDKAAC: Set to ON (default) to build the libfdk_aac in the docker images, or OFF to disable including libfdk_aac in the docker images.

Build examples:

cd build
cmake -DBUILD_FDKAAC=ON ..
cd build
cmake -DBUILD_VERSION=21.3 -DBUILD_FDKAAC=OFF ..

Command Make Targets

  • update_link: Update the image links in the platform README.md.
  • update_dockerfile: Update the Dockerfiles. Do this after modifying any templates.
  • generate_readme: Generate the image README.md for dockerhub.
  • upload_readme: Upload the image README.md to dockerhub.

Example: Generate the dockerhub READMEs

cd build
cmake ..
make generate_readme

Use Alternative Repo:

Certain source repo might be blocked in certain network. You can specify alternative repos before the build command as follows:

export AOM_REPO=...
export VPX_REPO=...
make

For a list of all REPOs and their versions, run the following command:

grep -E '_(REPO|VER)=' template/*.m4