Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 2.34 KB

File metadata and controls

60 lines (47 loc) · 2.34 KB

Cmake Configuration

Apache v2 license

Copyright (C) 2023 Intel Corporation

SPDX-License-Identifier: Apache-2.0

This will help to generate native build tool that uses platform independent configuration files to generate native build tool files. You can execute inside build directory.

Build examples

cd build
cmake -DREGISTRY=xxyyzz.com:1234 ..

Customize the Build Process

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

  • PLATFORM: Specify the platform names. See platforms for the list of platforms.
  • REGISTRY: Must end with forward slash (/). Specify the privacy docker registry URL. If specified, all built images will be pushed to given docker registry.
  • REGISTRY_AUTH: Specify the registry authentication method. The only supported value is docker, which uses the docker configuration file.
  • RELEASE: Must begin with colon (:). Specify the release version. All built images will be tagged with it. Defaults to :latest
  • BACKEND: Specify the validation backend: docker, kubernetes, or terraform.
    • TERRAFORM_OPTIONS: Specify the terraform options.
    • TERRAFORM_SUT: Specify the target System Under Test (SUT) list.
  • TIMEOUT: Specify the validation timeout, which contains the execution timeout and docker pull timeout. Default to 28800,300 seconds.
  • BENCHMARK: Specify a workload pattern. Workloads not matching the pattern will be disabled.
  • SPOT_INSTANCE: If specified, overwrite the spot_instance variable in the Cloud configuration files.
cmake -DPLATFORM=xyz -DREGISTRY=xxyyzz.com:1234 -DBACKEND=xxyzz ..

Command Make Targets

  • bom: Print out the BOM list of each workload.
  • clean: Purge the logs.
cd build
cmake ..
make bom

See Also