| Leopold | 7fbf104 | 2023-01-06 19:57:37 +0100 | [diff] [blame] | 1 | # bazelrc config used during sandboxroot generation |
| 2 | |
| 3 | startup --batch_cpu_scheduling --io_nice_level 7 |
| 4 | build --incompatible_strict_action_env=true |
| Leopold | bc93c2b | 2023-01-14 13:12:23 +0100 | [diff] [blame] | 5 | build --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 |
| 6 | |
| Tim Windelschmidt | 2979a43 | 2025-02-24 18:55:52 +0100 | [diff] [blame] | 7 | # We still require WORKSPACE support as bazeldnf isn't bzlmod compatible yet. |
| 8 | common --enable_workspace |
| 9 | |
| Leopold | bc93c2b | 2023-01-14 13:12:23 +0100 | [diff] [blame] | 10 | # No host CC platform - we only want pure Go for the sandboxroot |
| 11 | build --host_platform=@io_bazel_rules_go//go/toolchain:linux_amd64 |
| Leopold | 7fbf104 | 2023-01-06 19:57:37 +0100 | [diff] [blame] | 12 | |
| Tim Windelschmidt | 5178dd7 | 2024-12-04 04:38:45 +0100 | [diff] [blame] | 13 | common --experimental_downloader_config=build/bazel/bazel_downloader.cfg |
| 14 | |
| Leopold | 7fbf104 | 2023-01-06 19:57:37 +0100 | [diff] [blame] | 15 | # Shared with main .bazelrc |
| 16 | try-import %workspace%/.bazelrc.user |
| 17 | try-import %workspace%/ci.bazelrc |