2024-02-22 13:08:50 +03:00
|
|
|
common --enable_platform_specific_config
|
|
|
|
common --enable_bzlmod
|
2024-02-22 13:38:45 +03:00
|
|
|
# because we use --override_module with `%workspace%`, the lock file is not stable
|
|
|
|
common --lockfile_mode=off
|
2023-06-16 19:24:04 +03:00
|
|
|
|
2024-02-22 13:08:50 +03:00
|
|
|
# when building from this repository in isolation, the internal repository will not be found at ..
|
|
|
|
# where `MODULE.bazel` looks for it. The following will get us past the module loading phase, so
|
|
|
|
# that we can build things that do not rely on that
|
2024-02-21 18:48:23 +03:00
|
|
|
common --override_module=semmle_code=%workspace%/misc/bazel/semmle_code_stub
|
2024-02-12 17:58:43 +03:00
|
|
|
|
2023-06-16 19:24:04 +03:00
|
|
|
build --repo_env=CC=clang --repo_env=CXX=clang++
|
|
|
|
|
2024-05-31 13:35:52 +03:00
|
|
|
# we use transitions that break builds of `...`, so for `test` to work with that we need the following
|
|
|
|
test --build_tests_only
|
|
|
|
|
2024-05-03 18:44:29 +03:00
|
|
|
# this requires developer mode, but is required to have pack installer functioning
|
2024-05-06 15:55:35 +03:00
|
|
|
startup --windows_enable_symlinks
|
|
|
|
common --enable_runfiles
|
2024-05-03 18:44:29 +03:00
|
|
|
|
2024-05-29 16:46:29 +03:00
|
|
|
# with the above, we can avoid building python zips which is the default on windows as that's expensive
|
|
|
|
build --nobuild_python_zip
|
|
|
|
|
2024-04-29 14:31:48 +03:00
|
|
|
common --registry=file:///%workspace%/misc/bazel/registry
|
|
|
|
common --registry=https://bcr.bazel.build
|
|
|
|
|
2024-02-02 13:01:02 +03:00
|
|
|
common --@rules_dotnet//dotnet/settings:strict_deps=false
|
|
|
|
|
2022-04-08 11:06:51 +03:00
|
|
|
try-import %workspace%/local.bazelrc
|