Skip to content

tipi-build/get-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build with CMake RE

👉🏻 Follow the get-started tutorial

TL;DR;

  1. First authenticate with tipi connect
  2. Pick one of the following build execution contexts :

Local Containerized and Hermetic

# configure
cmake-re -S . -B ./build-hermetic -DCMAKE_TOOLCHAIN_FILE=environments/linux.cmake
# build
cmake-re --build ./build-hermetic

Remotely on L1 Digital Twin

# configure
cmake-re --remote -S . -B ./build-remote -DCMAKE_TOOLCHAIN_FILE=environments/linux.cmake
# build
cmake-re --build ./build-remote -DCMAKE_TOOLCHAIN_FILE=environments/linux.cmake

Distributed on L2 on an EngFlow RBE (Remote Build Execution Cluster)

# Setup RBE Cluster
export RBE_service=<cluster-address:port>
export RBE_tls_client_auth_key=/path/to/engflow.key
export RBE_tls_client_auth_cert=/path/to/engflow.crt
# configure
cmake-re --distributed -S . -B ./build-distributed   -GNinja -DCMAKE_TOOLCHAIN_FILE=environments/linux.cmake
# build
cmake-re --build ./build-distributed -j500

➡️ Combine L1 + L2 for the best experience with --remote --distributed.

Non-containerized, non-hermetic on your local host

cmake-re --host -S . -B ./build-host -DCMAKE_TOOLCHAIN_FILE=environments/linux.cmake
cmake-re --build ./build-host

About

Building a project based on fmtlib with or without CMake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published