Skip to content

Commit

Permalink
Enable platform-specific bazel builds
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 668144900
  • Loading branch information
felicialim committed Aug 27, 2024
1 parent dc1545a commit 622996f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build --linkopt=-lm
# build.
build --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build --enable_bzlmod=false
build --enable_platform_specific_config

# Platform specific configuration.
build:linux --cxxopt=-std=c++20
Expand All @@ -12,4 +13,4 @@ build:macos --macos_minimum_os=12.0
build:macos --cxxopt=-std=c++20
build:macos --cxxopt=-Wno-sign-compare

build:windows --cxxopt=/std:c++20
build:windows --cxxopt=/std:c++20

0 comments on commit 622996f

Please sign in to comment.