2024-02-22 13:08:50 +03:00
|
|
|
common --enable_platform_specific_config
|
|
|
|
common --enable_bzlmod
|
2024-02-22 13:26:39 +03:00
|
|
|
# put common --lockfile_mode=update in your local.bazelrc if you want to auto-update the lock file
|
|
|
|
common --lockfile_mode=error
|
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++
|
|
|
|
|
|
|
|
build:linux --cxxopt=-std=c++20
|
|
|
|
build:macos --cxxopt=-std=c++20 --cpu=darwin_x86_64
|
|
|
|
build:windows --cxxopt=/std:c++20 --cxxopt=/Zc:preprocessor
|
2022-04-08 11:06:51 +03:00
|
|
|
|
|
|
|
try-import %workspace%/local.bazelrc
|