blob: 1dd8a0a7b1fdb2dd463663d20f884936f982b49d [file] [log] [blame]
Leopold Schabel5c80aca2019-10-22 15:48:58 +02001startup --batch_cpu_scheduling --io_nice_level 7
Leopold Schabel3dba5322020-04-28 12:23:04 +02002build --jobs 12 --local_ram_resources=HOST_RAM*0.5
Leopold Schabel8c8e6772020-03-12 20:24:13 +01003test --jobs 12 --test_output=errors
Lorenz Brun5d7d2a42020-04-06 14:11:02 +02004
5# Build with SELinux, needed for containerd & kubelet
Serge Bazanskibb7db922020-04-30 12:43:10 +02006build --define gotags=selinux,no_zfs,no_aufs,no_devicemapper
7
8# Build with C++17.
9build --cxxopt=-std=c++17
10
Lorenz Brunf6402112020-05-04 16:50:31 +020011# Set workspace status file and stamp
12build --stamp --workspace_status_command=./build/print-workspace-status.sh
Serge Bazanski385c12f2020-06-17 12:12:42 +020013
14# Use our custom-configured host C++ toolchain.
15build --crosstool_top=//build/toolchain:host_cc_suite
16build --cpu=k8
17
18# Use the default Bazel C++ toolchain to build the tools used during the
19# build.
20build --host_crosstool_top=@bazel_tools//tools/cpp:toolchain