codeql/.bazelrc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 строка
1.3 KiB
Plaintext
Исходник Обычный вид История

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
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
common --override_module=semmle_code=%workspace%/misc/bazel/semmle_code_stub
build --repo_env=CC=clang --repo_env=CXX=clang++
2024-05-24 12:07:29 +03:00
build:linux --cxxopt=-std=c++20 --host_cxxopt=-std=c++20
# we currently cannot built the swift extractor for ARM
2024-05-24 12:07:29 +03:00
build:macos --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 --copt=-arch --copt=x86_64 --linkopt=-arch --linkopt=x86_64
build:windows --cxxopt=/std:c++20 --cxxopt=/Zc:preprocessor --host_cxxopt=/std:c++20 --host_cxxopt=/Zc:preprocessor
# 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
# 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
common --@rules_dotnet//dotnet/settings:strict_deps=false
try-import %workspace%/local.bazelrc