Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Jun 30, 2023
1 parent d06640d commit 4c59541
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ build --flag_alias=with_xpress=//ortools/linear_solver:with_xpress
# Sets the default Apple platform to macOS.
build --apple_platform_type=macos

# By default, build OR-Tools in C++ 17 mode.
# By default, build OR-Tools in C++ 17 mode, with various extra flags per
# platform.
build --enable_platform_specific_config
build:linux --cxxopt="-std=c++17"
build:linux --host_cxxopt="-std=c++17"
build:macos --cxxopt="-std=c++17" --features=-supports_dynamic_linker
build:macos --host_cxxopt="-std=c++17" --features=-supports_dynamic_linker

build:linux --cxxopt="-std=c++17" --cxxopt=-Wno-sign-compare
build:linux --host_cxxopt="-std=c++17" --cxxopt=-Wno-sign-compare
build:macos --cxxopt="-std=c++17" --features=-supports_dynamic_linker --cxxopt=-Wno-sign-compare
build:macos --host_cxxopt="-std=c++17" --features=-supports_dynamic_linker --cxxopt=-Wno-sign-compare
build:windows --cxxopt="/std:c++20"
build:windows --host_cxxopt="/std:c++20"

Expand Down

0 comments on commit 4c59541

Please sign in to comment.