Files

17 lines
843 B
Plaintext

build --action_env=BAZEL_CXXOPTS=-"std=c++20" --repo_env=BAZEL_CONLYOPTS="-std=gnu17"
build --action_env=CC=/usr/bin/clang-21
build --action_env=CXX=/usr/bin/clang++-21
build --repo_env=CC=/usr/bin/clang-21
build --repo_env=CXX=/usr/bin/clang++-21
build --check_visibility=false --spawn_strategy=standalone --verbose_failures
build --cxxopt=-std=c++20
build --cxxopt='-fvisibility-inlines-hidden'
build --host_cxxopt=-std=c++20
# Keep Nearby on libstdc++ while applying Gloop's remaining compile
# requirements only to sources from the external Gloop module.
build --@gloop//gloop:stdlib=libstdc++
build --per_file_copt=external/gloop[^/]*/.*@-fno-exceptions,-funsigned-char,-DGLOOP_I_ACKNOWLEDGE_THAT_GLOOP_DOES_NOT_SUPPORT_LIBSTDCXX=1
# Definition of --config=memcheck
build:memcheck --strip=never --test_timeout=3600
common --enable_bzlmod